--config by DCMAKE_BUILD_TYPE
This commit is contained in:
parent
a3fc4c3f32
commit
3b10799387
@ -1 +1 @@
|
||||
cmake --build build --config "${1:-Debug}"
|
||||
cmake --build build -DCMAKE_BUILD_TYPE="${1:-Debug}"
|
@ -3,4 +3,4 @@ then
|
||||
mkdir build
|
||||
fi
|
||||
|
||||
cmake -S . -B build -G "${1:-Ninja}" --config "${2:-Debug}"
|
||||
cmake -S . -B build -G "${1:-Ninja}" -DCMAKE_BUILD_TYPE="${2:-Debug}"
|
Loading…
Reference in New Issue
Block a user