This commit is contained in:
DavidOnTop 2024-02-04 13:19:09 +01:00
parent aaaecd8761
commit 66a32d9a3a
No known key found for this signature in database
GPG key ID: FAB914DDC2F180EB
2 changed files with 2 additions and 6 deletions

5
ch
View file

@ -71,12 +71,9 @@ for TARGET in $TARGETS; do
echo "cleaning project"
rm -rf $BUILD_FOLDER
;;
"g" | "b")
mkdir -p $BF
;;
"g")
echo "generating cmake files"
CMAKE_BUILD_TYPE=${BUILD_TYPE^}
CMAKE_BUILD_TYPE="$(tr '[:lower:]' '[:upper:]' <<< ${BUILD_TYPE:0:1})${BUILD_TYPE:1}"
cmake -S . -B $BF -DCMAKE_BUILD_TYPE=$CMAKE_BUILD_TYPE
;;
"b")