Logo
Explore Help
Sign In
q3aql/Serious-Engine
q3aql/Serious-Engine
1
0
Fork 0
You've already forked Serious-Engine
mirror of https://github.com/ptitSeb/Serious-Engine synced 2025-06-29 17:50:05 +02:00
Code Issues Packages Projects Releases Wiki Activity
Serious-Engine/Sources/build-mac64.sh

15 lines
249 B
Bash
Raw Permalink Normal View History

Some cmake fixes, fixing OSX build (incl 64bit) + disable i386ASM by default OSX build was a bit broken, it needs to be linked against zlib. Furthermore it now uses the systems libSDL2 framework, unless you use -DUSE_SYSTEM_SDL2=FALSE i386 ASM is now disabled by default, we have plain C fallbacks for everything that seems to work well enough (and if not they need more testing which is likely to happen this way)
2016-04-21 17:40:42 +02:00
#!/bin/bash
NCPU=`sysctl -n hw.ncpu`
echo "Will build with 'make -j$NCPU' ... please edit this script if incorrect."
set -e
set -x
rm -rf cmake-build
mkdir $_
cd $_
make separate option for using nasm asm Other asm is now enabled by default again, since asm blocks are now smarter and won't fail to compile on non-i386 platforms.
2016-04-24 21:38:59 +03:00
cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_OSX_ARCHITECTURES=x86_64 ..
Some cmake fixes, fixing OSX build (incl 64bit) + disable i386ASM by default OSX build was a bit broken, it needs to be linked against zlib. Furthermore it now uses the systems libSDL2 framework, unless you use -DUSE_SYSTEM_SDL2=FALSE i386 ASM is now disabled by default, we have plain C fallbacks for everything that seems to work well enough (and if not they need more testing which is likely to happen this way)
2016-04-21 17:40:42 +02:00
make -j$NCPU
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.1 Page: 25ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API