gcontini
2020-03-08 a2da7ee9b5198a24657947b086c7531312833be8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
ADD_LIBRARY(base OBJECT
    EventRegistry.cpp
    StringUtils.cpp
    file_utils.cpp
    base64.cpp
    logger.c
)
 
add_dependencies( base project_initialize )
 
if(CODE_COVERAGE AND UNIX)
      MESSAGE(STATUS "Enabling code coverage")
      target_compile_options(base PUBLIC
        -O0        # no optimization
        -g         # generate debug info
        --coverage # sets all required flags
      )
endif(CODE_COVERAGE AND UNIX)