move to single script
This commit is contained in:
parent
4926cce7f1
commit
62686c9fa4
4 changed files with 10 additions and 7 deletions
3
build.sh
3
build.sh
|
|
@ -1,3 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
cmake --build build
|
|
||||||
1
clean.sh
1
clean.sh
|
|
@ -1 +0,0 @@
|
||||||
rm -rf build .cache
|
|
||||||
3
cmake.sh
3
cmake.sh
|
|
@ -1,3 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
cmake -B build -S . -DCMAKE_EXPORT_COMPILE_COMMANDS=1
|
|
||||||
10
project
Executable file
10
project
Executable file
|
|
@ -0,0 +1,10 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
cmd=$1
|
||||||
|
|
||||||
|
case $cmd in
|
||||||
|
--clean) rm -rf build .cache ;;
|
||||||
|
--cmake) cmake -B build -S . -DCMAKE_EXPORT_COMPILE_COMMANDS=1 ;;
|
||||||
|
--build) cmake --build build ;;
|
||||||
|
*) echo "Unrecognized command" ;;
|
||||||
|
esac
|
||||||
Loading…
Add table
Reference in a new issue