Added a boostrap.sh script to be run on *NIX environments to configure cmake for out of source builds, with automatic configuration of debug and release variants.

This commit is contained in:
Casey Langen 2016-05-28 18:37:05 -07:00
parent ce408dc951
commit c4334ffc7f

15
bootstrap.sh Executable file
View File

@ -0,0 +1,15 @@
#!/bin/bash
rm CMakeCache.txt
mkdir build
mkdir build/release
cd build/release/
cmake -DCMAKE_BUILD_TYPE=Release ../../
cd ../../
mkdir build/debug
cd build/debug/
cmake -DCMAKE_BUILD_TYPE=Debug ../../
cd ../../