- #!/usr/bin/env sh
-
- if [ "$BUILD_TYPE" = "" ]
- then
- echo "No build type specified. Try Debug or Release."
- exit
- fi
-
- cmake \
- -DCMAKE_SIZEOF_VOID_P=8 \
- -DCMAKE_BUILD_TYPE=$BUILD_TYPE \
- -DCMAKE_MAKE_PROGRAM=ninja \
- -DCMAKE_C_COMPILER=cc \
- -DCMAKE_C_FLAGS=-m64 \
- -G Ninja \
- -S . \
- -B ./build/$BUILD_TYPE
|