fix make build type selection

This commit is contained in:
Arthur Lu 2024-04-29 15:32:12 -07:00
parent 687572768a
commit 34d3dcc87c

View File

@ -11,6 +11,7 @@ build:
@ $(MAKE) -C build/
release:
@ rm -rf build/*
@ cmake \
--no-warn-unused-cli \
-DCMAKE_BUILD_TYPE:STRING=Release \
@ -21,6 +22,7 @@ release:
-B build
debug:
@ rm -rf build/*
@ cmake \
--no-warn-unused-cli \
-DCMAKE_BUILD_TYPE:STRING=Debug \