Configuration scripts

This commit is contained in:
paulfd 2019-08-24 15:32:17 +02:00
parent 43cd631316
commit a798ac7393
4 changed files with 12 additions and 0 deletions

3
scripts/debug_clang.sh Executable file
View file

@ -0,0 +1,3 @@
#!/bin/sh
script_dir="$(dirname "$0")"
cmake -D CMAKE_C_COMPILER=clang-9 -D CMAKE_CXX_COMPILER=clang++-9 -D CMAKE_BUILD_TYPE=Debug -S "$script_dir/.." -B .

3
scripts/debug_gcc.sh Executable file
View file

@ -0,0 +1,3 @@
#!/bin/sh
script_dir="$(dirname "$0")"
cmake -D CMAKE_C_COMPILER=gcc -D CMAKE_CXX_COMPILER=g++ -D CMAKE_BUILD_TYPE=Debug -S "$script_dir/.." -B .

3
scripts/release_clang.sh Executable file
View file

@ -0,0 +1,3 @@
#!/bin/sh
script_dir="$(dirname "$0")"
cmake -D CMAKE_C_COMPILER=clang-9 -D CMAKE_CXX_COMPILER=clang++-9 -D CMAKE_BUILD_TYPE=Release -S "$script_dir/.." -B .

3
scripts/release_gcc.sh Executable file
View file

@ -0,0 +1,3 @@
#!/bin/sh
script_dir="$(dirname "$0")"
cmake -D CMAKE_C_COMPILER=gcc -D CMAKE_CXX_COMPILER=g++ -D CMAKE_BUILD_TYPE=Release -S "$script_dir/.." -B .