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