Loading CMakeLists.txt +3 −3 Original line number Diff line number Diff line Loading @@ -39,7 +39,7 @@ if(UNIX) set(CLANG "" CACHE STRING "1=msan / 2=asan / 3=usan") set(GCC "" CACHE STRING "1=use gcc instead of default (clang)") set(MSAN_TRACK_ORIGINS OFF CACHE BOOL "enable origin tracking for Clang MSAN") set(GCOV OFF CACHE BOOL "enable GCOV") set(COVERAGE OFF CACHE BOOL "enable coverage instrumentation") set(STRIP OFF CACHE BOOL "enable STRIP") if(NOT CMAKE_BUILD_TYPE) Loading Loading @@ -101,8 +101,8 @@ if(UNIX) message(FATAL_ERROR "Unknown CLANG setting: ${CLANG}") endif() endif() # GCOV if(GCOV) # COVERAGE if(COVERAGE) set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fprofile-arcs -ftest-coverage -fprofile-update=atomic") set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -fprofile-arcs -ftest-coverage -fprofile-update=atomic") endif() Loading Makefile +1 −1 Original line number Diff line number Diff line Loading @@ -121,7 +121,7 @@ CFLAGS += -g3 LDFLAGS += -g3 endif ifeq "$(GCOV)" "1" ifeq "$(COVERAGE)" "1" CFLAGS += -fprofile-arcs -ftest-coverage -fprofile-update=atomic LDFLAGS += -fprofile-arcs -ftest-coverage -fprofile-update=atomic endif Loading Loading
CMakeLists.txt +3 −3 Original line number Diff line number Diff line Loading @@ -39,7 +39,7 @@ if(UNIX) set(CLANG "" CACHE STRING "1=msan / 2=asan / 3=usan") set(GCC "" CACHE STRING "1=use gcc instead of default (clang)") set(MSAN_TRACK_ORIGINS OFF CACHE BOOL "enable origin tracking for Clang MSAN") set(GCOV OFF CACHE BOOL "enable GCOV") set(COVERAGE OFF CACHE BOOL "enable coverage instrumentation") set(STRIP OFF CACHE BOOL "enable STRIP") if(NOT CMAKE_BUILD_TYPE) Loading Loading @@ -101,8 +101,8 @@ if(UNIX) message(FATAL_ERROR "Unknown CLANG setting: ${CLANG}") endif() endif() # GCOV if(GCOV) # COVERAGE if(COVERAGE) set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fprofile-arcs -ftest-coverage -fprofile-update=atomic") set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -fprofile-arcs -ftest-coverage -fprofile-update=atomic") endif() Loading
Makefile +1 −1 Original line number Diff line number Diff line Loading @@ -121,7 +121,7 @@ CFLAGS += -g3 LDFLAGS += -g3 endif ifeq "$(GCOV)" "1" ifeq "$(COVERAGE)" "1" CFLAGS += -fprofile-arcs -ftest-coverage -fprofile-update=atomic LDFLAGS += -fprofile-arcs -ftest-coverage -fprofile-update=atomic endif Loading