From 3b10799387e557b598d59dec0c384fa26a4b08ea Mon Sep 17 00:00:00 2001 From: apio Date: Tue, 19 Jul 2022 15:18:15 +0200 Subject: [PATCH] --config by DCMAKE_BUILD_TYPE --- tools/build.sh | 2 +- tools/generate.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/build.sh b/tools/build.sh index 51fef35..f175c01 100755 --- a/tools/build.sh +++ b/tools/build.sh @@ -1 +1 @@ -cmake --build build --config "${1:-Debug}" \ No newline at end of file +cmake --build build -DCMAKE_BUILD_TYPE="${1:-Debug}" \ No newline at end of file diff --git a/tools/generate.sh b/tools/generate.sh index 0e101d1..96ab6d7 100755 --- a/tools/generate.sh +++ b/tools/generate.sh @@ -3,4 +3,4 @@ then mkdir build fi -cmake -S . -B build -G "${1:-Ninja}" --config "${2:-Debug}" \ No newline at end of file +cmake -S . -B build -G "${1:-Ninja}" -DCMAKE_BUILD_TYPE="${2:-Debug}" \ No newline at end of file