From c4334ffc7fcab806c28c9d9cb5269bc41b6cb5ce Mon Sep 17 00:00:00 2001 From: Casey Langen Date: Sat, 28 May 2016 18:37:05 -0700 Subject: [PATCH] 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. --- bootstrap.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 bootstrap.sh diff --git a/bootstrap.sh b/bootstrap.sh new file mode 100755 index 000000000..dbcbb2720 --- /dev/null +++ b/bootstrap.sh @@ -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 ../../