Skip to content

Commit eaac6b7

Browse files
authored
Add USE_COVERAGE option to configure.cmake (#590)
Allow enabling coverage in CMake via `USE_COVERAGE` option
1 parent 853221d commit eaac6b7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cmake/configure.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
2828

2929
set(CMAKE_COMPILE_WARNING_AS_ERROR ON)
3030

31+
option(USE_COVERAGE "Enable coverage instrumentation" OFF)
32+
3133
if(USE_COVERAGE)
3234
set(CMAKE_INSTALL_RPATH "${CMAKE_BINARY_DIR}/ppc_onetbb/install/lib")
3335
else()

0 commit comments

Comments
 (0)