cmake template

This commit is contained in:
2018-09-28 05:40:36 +07:00
parent 0036b762b8
commit 03049a1353
15 changed files with 182 additions and 0 deletions

8
scripts/build_release.sh Executable file
View File

@@ -0,0 +1,8 @@
#!/bin/bash
set -e
BUILD_DIR=`dirname "$BASH_SOURCE"`/../build
mkdir -p $BUILD_DIR/release
cd $BUILD_DIR/release
cmake -DCMAKE_BUILD_TYPE=Release ../..
cmake --build . -- -j8
cd ../..