1
0
mirror of https://github.com/pevans/erc-c.git synced 2024-06-24 15:29:32 +00:00

Add ability to regen cmake with/without static analysis

This commit is contained in:
Peter Evans 2018-02-06 14:27:25 -06:00
parent a388cf0158
commit 112f178ee3

View File

@ -1,7 +1,17 @@
STATIC_ANALYSIS=
test:
cd tests/build && make && ./erc-test
build:
cd build && make && ./erc
.PHONY: test build
cmake:
cd build && cmake ..
cd tests/build && cmake ..
static:
cd build && STATIC_ANALYSIS=1 cmake ..
cd tests/build && STATIC_ANALYSIS=1 cmake ..
.PHONY: test build cmake static