File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -42,8 +42,10 @@ add_definitions(-DCPP_PTHREAD_VERSION="${CPP_PTHREAD_VERSION}")
4242# This part MUST be executed before the loading of the CMake package. As we are using the CPP-PTHREAD_VERSION variable in the sonar properties file,
4343# we need to reun this after the setting of the version variable.
4444set (SONAR_PROPERTIES_FILE ${CMAKE_CURRENT_BINARY_DIR} /sonar-project.properties)
45+
4546message (STATUS "Generating SONAR properties file ${SONAR_PROPERTIES_FILE} " )
4647configure_file (${CMAKE_CURRENT_LIST_DIR} /sonar-project.properties.in ${SONAR_PROPERTIES_FILE} )
48+
4749find_package (SonarCloud PATHS cmake)
4850
4951configure_file (src/config.h.in ${CMAKE_CURRENT_SOURCE_DIR} /src/config.h)
Original file line number Diff line number Diff line change 1-
2- #if (GCOV AND ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU"))
3- # message(STATUS "Setting GCOV library (-lgcov)")
4- # set(GCOV_LIB gcov)
5- #endif()
6-
71add_executable (exception_tests exceptions_tests.cpp )
82target_link_libraries (exception_tests GTest::GTest GTest::gtest_main cpp-pthread-static )
93add_test (NAME exception_tests COMMAND exception_tests)
You can’t perform that action at this time.
0 commit comments