Skip to content
Snippets Groups Projects
Commit 1d854cd4 authored by Arseny Kapoulkine's avatar Arseny Kapoulkine
Browse files

build: Simplify coverage configuration

Use -coverage option and keep NDEBUG off
parent ce4ac177
No related branches found
No related tags found
No related merge requests found
......@@ -20,9 +20,8 @@ ifeq ($(config),release)
endif
ifeq ($(config),coverage)
CXXFLAGS+=-DNDEBUG
CXXFLAGS+=-fprofile-arcs -ftest-coverage
LDFLAGS+=-fprofile-arcs
CXXFLAGS+=-coverage
LDFLAGS+=-coverage
endif
ifeq ($(config),sanitize)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment