diff --git a/cmake/VISPGenerateConfigScript.cmake b/cmake/VISPGenerateConfigScript.cmake index c55a219a4c..395301e665 100644 --- a/cmake/VISPGenerateConfigScript.cmake +++ b/cmake/VISPGenerateConfigScript.cmake @@ -262,28 +262,6 @@ else() # DEFINED CMAKE_HELPER_SCRIPT set(VISP_SCRIPT_CONFIG_PREFIX "${CMAKE_INSTALL_PREFIX}") if(UNIX) - #---------------------------------------------------------------------- - # Generate SonarQube config file - # Should be done before calling - # fix_include_prefix(_includes_modules) - # fix_include_prefix(_includes_extra) - #---------------------------------------------------------------------- - set(VISP_SONARQUBE_INCLUDE_DIRS - "${CMAKE_BINARY_DIR}/${VISP_INC_INSTALL_PATH}" - "${_system_include_dirs}" - "${_includes_modules}" - "${_includes_extra}") - - if(WITH_CATCH2) - list(APPEND VISP_SONARQUBE_INCLUDE_DIRS "${VISP_SOURCE_DIR}/3rdparty/catch2") - endif() - - vp_list_replace_separator(VISP_SONARQUBE_INCLUDE_DIRS ", ") - - configure_file("${VISP_SOURCE_DIR}/cmake/templates/sonar-project.properties.in" - "${VISP_BINARY_DIR}/sonar-project.properties" - @ONLY) - ####################################################################### # # for Unix platforms: Linux, OSX diff --git a/cmake/templates/sonar-project.properties.in b/cmake/templates/sonar-project.properties.in deleted file mode 100644 index f2881e205d..0000000000 --- a/cmake/templates/sonar-project.properties.in +++ /dev/null @@ -1,20 +0,0 @@ -# Url of the SonarQube server -sonar.host.url=https://sonarqube.inria.fr/sonarqube -# Login/password mechanism required to transmit the analysis to the sonarqube server (password must be left empty with the token usage) -sonar.login=b2bd45f5d4b8d77eba0f2c36aec2560216d83f35 -# Must be unique in a given SonarQube instance -sonar.projectKey=rainbow:visp:master -# Project description -sonar.projectName=rainbow:visp:master -# Used to compare metrics with v1.10 for example -sonar.projectVersion=@VISP_VERSION@ -# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows. -sonar.sources=@VISP_SOURCE_DIR@ -sonar.projectBaseDir=@VISP_SOURCE_DIR@ -sonar.exclusions=codecov.yml,appveyor.yml,3rdparty/**/*,cmake/**/*,doc/**/*,modules/**/*.txt,modules/**/*.py,modules/core/src/image/private/stb_truetype.h,platforms/**/*,script/**/*,**/arms/*,**/scene/*,**/*.pb,**/*.pbtxt,**/*.skeleton,**/*.exr,**/*.FCStd,**/*.blend,**/*.mesh,**/*.pfm,**/*.sb2,**/*.java,ci/**/* -# Source code language -sonar.language=c++ -sonar.cxx.includeDirectories=@VISP_SONARQUBE_INCLUDE_DIRS@ -sonar.cxx.file.suffixes=.cxx,.cpp,.cc,.c,.hxx,.hpp,.hh,.h -sonar.cxx.defines=VISP_EXPORT \n\ - DOXYGEN_SHOULD_SKIP_THIS \n\