move to single script
This commit is contained in:
parent
4926cce7f1
commit
62686c9fa4
4 changed files with 10 additions and 7 deletions
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
Add a link
Reference in a new issue