build: unix build - make replaced with ninja

This commit is contained in:
Andreas Stallinger
2014-04-10 15:28:33 +02:00
parent 0f0d75729d
commit 879373a22f
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -6,4 +6,4 @@ MY_PATH=`dirname "$0"`
cd $MY_PATH/..
# Build and run target
make -C build/Debug "$1" && cd bin && Debug/"$1"
ninja -C build/Debug "$1" && cd bin && Debug/"$1"
+1 -1
View File
@@ -6,4 +6,4 @@ MY_PATH=`dirname "$0"`
cd $MY_PATH/..
# Build and run target
make -C build/Release "$1" && cd bin && Release/"$1"
ninja -C build/Release "$1" && cd bin && Release/"$1"
+2 -2
View File
@@ -50,10 +50,10 @@ if [ $PLATFORM == "Linux" ] || [ $PLATFORM == "MacOS" ]; then
mkdir -p build/Release
echo -e $INFO "run cmake with Debug configuration"
cd build/Debug && cmake -DCMAKE_BUILD_TYPE="Debug" ../..
cd build/Debug && cmake -G Ninja -DCMAKE_BUILD_TYPE="Debug" ../..
echo -e $INFO "run cmake with Release configuration"
cd ../Release && cmake -DCMAKE_BUILD_TYPE="Release" ../..
cd ../Release && cmake -G Ninja -DCMAKE_BUILD_TYPE="Release" ../..
fi
echo -e $SUCCESS "setup complete"