Files
spark/tools/setup_builds.sh
T
2017-08-07 17:21:12 -04:00

34 lines
636 B
Bash
Executable File

#/bin/bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd $DIR/..
rm -rf build
mkdir build
cd build
mkdir gcc_debug
cd gcc_debug
cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_COMPILER=g++ ../..
cd ..
mkdir gcc_release
cd gcc_release
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER=g++ ../..
cd ..
mkdir clang_debug
cd clang_debug
cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_COMPILER=clang++ ../..
cd ..
mkdir clang_release
cd clang_release
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER=clang++ ../..
cd ..
mkdir emacs_pp
cd emacs_pp
cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_COMPILER=rtags ../..
cd ..