mirror of
https://github.com/ptitSeb/Serious-Engine
synced 2024-11-22 02:20:25 +01:00
15 lines
260 B
Bash
Executable File
15 lines
260 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=RelWithDebInfo -DCMAKE_OSX_ARCHITECTURES=arm64 .. $1
|
|
make -j$NCPU
|
|
|