Configuration scripts
This commit is contained in:
parent
43cd631316
commit
a798ac7393
4 changed files with 12 additions and 0 deletions
3
scripts/debug_clang.sh
Executable file
3
scripts/debug_clang.sh
Executable 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
3
scripts/debug_gcc.sh
Executable 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
3
scripts/release_clang.sh
Executable 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
3
scripts/release_gcc.sh
Executable 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 .
|
||||||
Loading…
Add table
Reference in a new issue