mirror of
https://github.com/clangen/musikcube.git
synced 2024-12-26 09:15:12 +00:00
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:
parent
ce408dc951
commit
c4334ffc7f
15
bootstrap.sh
Executable file
15
bootstrap.sh
Executable 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 ../../
|
Loading…
Reference in New Issue
Block a user