mirror of
https://github.com/ptitSeb/Serious-Engine
synced 2024-11-28 21:05:53 +01:00
2a58209487
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)
15 lines
270 B
Bash
Executable File
15 lines
270 B
Bash
Executable File
#!/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 $_
|
|
cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_OSX_ARCHITECTURES=x86_64 -DUSE_I386_ASM=FALSE ..
|
|
make -j$NCPU
|
|
|