diff options
| author | Felix Morgner <felix.morgner@gmail.com> | 2016-12-25 02:10:17 +0100 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@gmail.com> | 2016-12-25 02:10:17 +0100 |
| commit | df0f36827f94b58af4a0d6547743f2764371c88b (patch) | |
| tree | 31c6554e08ec4724c69494e2cd7f98d91f67ae1f /cmake/modules/CompilerSetup.cmake | |
| parent | ef8699a4d40608d16e6dbfd978008c9894b8d4d0 (diff) | |
| download | extfs-df0f36827f94b58af4a0d6547743f2764371c88b.tar.xz extfs-df0f36827f94b58af4a0d6547743f2764371c88b.zip | |
project: Add CI and coverage support
Diffstat (limited to 'cmake/modules/CompilerSetup.cmake')
| -rw-r--r-- | cmake/modules/CompilerSetup.cmake | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cmake/modules/CompilerSetup.cmake b/cmake/modules/CompilerSetup.cmake index 82d0b2d..40c297f 100644 --- a/cmake/modules/CompilerSetup.cmake +++ b/cmake/modules/CompilerSetup.cmake @@ -113,3 +113,10 @@ set( CACHE STRING "Flags used by the compiler during release builds for minimum size." FORCE ) + +# Export additional C++ compile flags for coverage builds +set( + CMAKE_CXX_FLAGS_COVERAGE "-O0 -g --coverage" + CACHE STRING "Flags used by the compiler during coverage builds." + FORCE + ) |
