mirror of
https://github.com/ptitSeb/Serious-Engine
synced 2024-11-22 10:20:26 +01:00
ff57a29e0f
Other asm is now enabled by default again, since asm blocks are now smarter and won't fail to compile on non-i386 platforms.
15 lines
296 B
Bash
Executable File
15 lines
296 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=i386 -DUSE_I386_NASM_ASM=TRUE -DUSE_SYSTEM_SDL2=FALSE ..
|
|
make -j$NCPU
|
|
|