Code Review
/
apps
/
app-templates.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
3c99b8a
)
Missing flag for COVERAGE build type
63/16063/1
author
Romain Forlot
<romain.forlot@iot.bzh>
Wed, 8 Aug 2018 08:24:35 +0000
(10:24 +0200)
committer
Romain Forlot
<romain.forlot@iot.bzh>
Wed, 8 Aug 2018 08:26:06 +0000
(10:26 +0200)
Change-Id: Icebe1850e5949c277722ac83958f73c0eed493c7
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
cmake/cmake.d/01-build_options.cmake
patch
|
blob
|
history
diff --git
a/cmake/cmake.d/01-build_options.cmake
b/cmake/cmake.d/01-build_options.cmake
index
18aff71
..
3be92ba
100644
(file)
--- a/
cmake/cmake.d/01-build_options.cmake
+++ b/
cmake/cmake.d/01-build_options.cmake
@@
-121,6
+121,9
@@
IF(HAVE_LIBEFENCE)
list (APPEND link_libraries ${libefence_LIBRARIES})
ENDIF(HAVE_LIBEFENCE)
ENDIF(CMAKE_BUILD_TYPE MATCHES DEBUG AND USE_EFENCE)
+IF(CMAKE_BUILD_TYPE MATCHES COVERAGE)
+ list (APPEND link_libraries -coverage)
+ENDIF(CMAKE_BUILD_TYPE MATCHES COVERAGE)
# set default include directories
INCLUDE_DIRECTORIES(${EXTRA_INCLUDE_DIRS})