mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
prepare build system for gcov coverage
This commit is contained in:
parent
8b1cb7fe74
commit
d6c8197e98
1 changed files with 4 additions and 0 deletions
4
Makefile
4
Makefile
|
@ -42,6 +42,10 @@ else ifdef GIT
|
|||
CFLAGS += -D_GIT_REV='"$(shell git rev-parse --short HEAD)"'
|
||||
endif
|
||||
|
||||
ifdef COVERAGE
|
||||
CFLAGS += -fprofile-arcs -ftest-coverage
|
||||
endif
|
||||
|
||||
# pkg-config dependencies
|
||||
PKGS = libconfig
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue