mirror of
https://github.com/pevans/erc-c.git
synced 2025-01-03 00:29:38 +00:00
Add ability to regen cmake with/without static analysis
This commit is contained in:
parent
a388cf0158
commit
112f178ee3
12
Makefile
12
Makefile
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user