File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -23,13 +23,6 @@ endif()
2323find_package (Coverage PATHS cmake)
2424find_package (GTestExt PATHS cmake)
2525
26- # This part MUST be executed before the loading of the CMake package
27- set (SONAR_PROPERTIES_FILE ${CMAKE_CURRENT_BINARY_DIR} /sonar-project.properties)
28- message (STATUS "Generating SONAR properties file ${SONAR_PROPERTIES_FILE} " )
29- configure_file (${CMAKE_CURRENT_SOURCE_DIR} /sonar-project.properties.in ${SONAR_PROPERTIES_FILE} )
30-
31- find_package (SonarCloud PATHS cmake)
32-
3326# Versionning infos -----------------------------------------
3427#
3528if ( CMAKE_BUILD_TYPE MATCHES Release )
@@ -49,6 +42,13 @@ endif()
4942message (STATUS "Building ${PROJECT_NAME} version ${CPP_LOGGER_VERSION} " )
5043add_definitions ( -DCPP_LOGGER_VERSION="${CPP_LOGGER_VERSION} " )
5144
45+ # This part MUST be executed before the loading of the CMake package
46+ set (SONAR_PROPERTIES_FILE ${CMAKE_CURRENT_BINARY_DIR} /sonar-project.properties)
47+ message (STATUS "Generating SONAR properties file ${SONAR_PROPERTIES_FILE} " )
48+ configure_file (${CMAKE_CURRENT_SOURCE_DIR} /sonar-project.properties.in ${SONAR_PROPERTIES_FILE} )
49+
50+ find_package (SonarCloud PATHS cmake)
51+
5252# targets --------------------------------------------------
5353#
5454# project's public headers
Original file line number Diff line number Diff line change 1- # Sonar cloud configuration fo @PROJECT_NAME@ - @PROJECT_VERSION @
1+ # Sonar cloud configuration fo @PROJECT_NAME@ - @CPP_LOGGER_VERSION @
22#
33# Description: @PROJECT_DESCRIPTION@
44
You can’t perform that action at this time.
0 commit comments