configure.sh (334B)
1 #!/bin/sh 2 3 BUILD_OPTIONS="-DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DASMJIT_TEST=1" 4 5 echo "== [Configuring Build - Debug] ==" 6 eval cmake . -B build/Debug -DCMAKE_BUILD_TYPE=Debug ${BUILD_OPTIONS} "$@" 7 echo "" 8 9 echo "== [Configuring Build - Release] ==" 10 eval cmake . -B build/Release -DCMAKE_BUILD_TYPE=Release ${BUILD_OPTIONS} "$@" 11 echo ""