mirror of
https://github.com/marketideas/qasm.git
synced 2025-01-29 17:30:31 +00:00
debug and release builds in Makefile
This commit is contained in:
parent
046335d9db
commit
5e2fdd7b78
@ -5,7 +5,7 @@ project(QAsm)
|
||||
|
||||
set(CIDER "0")
|
||||
|
||||
set(CMAKE_BUILD_TYPE DEBUG)
|
||||
#set(CMAKE_BUILD_TYPE DEBUG)
|
||||
set(APPVERSION "4.0.9")
|
||||
set(LIBRARY_NAME pal)
|
||||
set(FIND_LIBRARY_USE_LIB64_PATHS TRUE)
|
||||
|
11
Makefile
11
Makefile
@ -20,6 +20,17 @@ all:
|
||||
-mkdir -p ./build
|
||||
-cd ./build && cmake .. && $(MAKE) $S
|
||||
|
||||
release:
|
||||
-rm -rf ./build
|
||||
-mkdir -p ./build
|
||||
-cd ./build && cmake -DCMAKE_BUILD_TYPE=RELEASE .. && $(MAKE) $S
|
||||
|
||||
debug:
|
||||
-rm -rf ./build
|
||||
-mkdir -p ./build
|
||||
-cd ./build && cmake -DCMAKE_BUILD_TYPE=DEBUG .. && $(MAKE) $S
|
||||
|
||||
|
||||
distclean:
|
||||
rm -rf ./build
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user