mirror of
https://github.com/ptitSeb/Serious-Engine
synced 2024-11-25 11:45:53 +01:00
15 lines
270 B
Bash
15 lines
270 B
Bash
|
#!/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
|
||
|
|