Skip to content

Commit 15a215a

Browse files
Merge branch '195-clean-test-cmakelists' into develop
2 parents ccfe9f6 + ce62508 commit 15a215a

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff 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.
4444
set(SONAR_PROPERTIES_FILE ${CMAKE_CURRENT_BINARY_DIR}/sonar-project.properties)
45+
4546
message(STATUS "Generating SONAR properties file ${SONAR_PROPERTIES_FILE}")
4647
configure_file(${CMAKE_CURRENT_LIST_DIR}/sonar-project.properties.in ${SONAR_PROPERTIES_FILE})
48+
4749
find_package(SonarCloud PATHS cmake)
4850

4951
configure_file(src/config.h.in ${CMAKE_CURRENT_SOURCE_DIR}/src/config.h)

tests/CMakeLists.txt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
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-
71
add_executable(exception_tests exceptions_tests.cpp )
82
target_link_libraries(exception_tests GTest::GTest GTest::gtest_main cpp-pthread-static )
93
add_test(NAME exception_tests COMMAND exception_tests)

0 commit comments

Comments
 (0)