added simple makefile

This commit is contained in:
Phuntsok Drak-pa 2019-04-28 17:41:31 +02:00
parent 93ae4693ff
commit 9d873f15ca

16
Makefile Normal file
View File

@ -0,0 +1,16 @@
.PHONY: release debug clean
release:
@mkdir -p build bin
@cd build && conan install .. --build missing && cmake .. -G Ninja
@cmake --build build/
debug:
@mkdir -p build bin
@cd build && conan install .. --build missing && cmake .. -G Ninja -DCMAKE_BUILD_TYPE=Debug
@cmake --build build/
clean:
@rm -rf build
@rm -rf bin
@rm -rf debug