fix make build type selection
This commit is contained in:
parent
687572768a
commit
34d3dcc87c
2
Makefile
2
Makefile
@ -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 \
|
||||||
|
Loading…
Reference in New Issue
Block a user