|
| 1 | +# Sonar cloud configuration fo @PROJECT_NAME@ - @PROJECT_VERSION@ |
1 | 2 | # |
2 | | -# Project Configuration |
3 | | -# Customize & run /path/to/sonar-runner/bin/sonar-runner -Dproject.settings=/path/to/sonar-project.properties |
4 | | -# |
| 3 | +# Description: @PROJECT_DESCRIPTION@ |
| 4 | + |
5 | 5 | # Add more detail to both client and server-side analysis logs. |
6 | 6 | sonar.verbose=false |
7 | 7 |
|
8 | | -# Specify not the the source directory, but some parent of the source directory |
9 | | -#sonar.projectBaseDir=/path/to/project/root |
10 | | -#sonar.working.directory=/path/to/working/folder/.sonar |
| 8 | +#----------------------------------------------------------------------------- |
| 9 | +# |
| 10 | +# Sonar cloud (sonarcloud.io) related settings. |
| 11 | +# |
| 12 | +#----------------------------------------------------------------------------- |
11 | 13 |
|
12 | 14 | # The project key that is unique for each project. |
13 | | -sonar.projectKey=cpp-pthread |
| 15 | +sonar.projectKey=HerbertKoelman_cpp-pthread |
| 16 | +sonar.organization=herbertkoelman-github |
| 17 | +sonar.host.url=https://sonarcloud.io |
14 | 18 |
|
15 | | -# Name of the project that will be displayed on the web interface. |
16 | | -sonar.projectName=cpp-pthread |
17 | | -sonar.projectVersion=@BUILD@ |
| 19 | +# Sonar cloud access token. |
| 20 | +sonar.login=d9888da64996176bfb1c39145242d78052b37be0 |
18 | 21 |
|
19 | | -# Comma-separated paths to directories containing source files |
20 | | -sonar.sources=src,include/pthread |
21 | | -sonar.cfamily.build-wrapper-output.bypass=true |
| 22 | +# wrapper MUSt use this directory to produce it's data |
| 23 | +sonar.cfamily.build-wrapper-output=@CMAKE_CURRENT_BINARY_DIR@/bw-output |
| 24 | +sonar.cfamily.gcov.reportsPath=. |
22 | 25 |
|
23 | | -# Set the language of the source code to analyze. If not set, a multi-language analysis will be triggered. |
24 | | -#sonar.language= |
25 | | -# to exclude source code files |
26 | | -sonar.exclusions=**/TST/**/*,**/TST/* |
| 26 | +#----------------------------------------------------------------------------- |
| 27 | +# |
| 28 | +# Project related properties. |
| 29 | +# |
| 30 | +#----------------------------------------------------------------------------- |
27 | 31 |
|
28 | | -# Comma-separated list of suffixes for files to analyze. To not filter, leave the list empty. |
29 | | -#sonar.cobol.file.suffixes=cbl,kbl,sqb,kqb,cpy |
30 | | -#sonar.cobol.copy.directories= |
31 | | -#sonar.cobol.copy.suffixes= |
| 32 | +# Name of the project that will be displayed on the web interface. |
| 33 | +sonar.projectName=@PROJECT_NAME@ |
| 34 | +sonar.projectVersion=@PROJECT_VERSION@ |
| 35 | +sonar.links.homepage==https://github.com/HerbertKoelman/cpp-pthread |
32 | 36 |
|
33 | | -#sonar.c.file.suffixes=.c,.h |
34 | | -#sonar.cpp.file.suffixes=.cc,.cpp,.cxx,.c++,.hh,.hpp,.hxx,.h++,.ipp,.kpp,.sqC,.kqp |
35 | | -#sonar.cfamily.predefinedMacros=#include "requiredMacros.h" |
36 | | -#sonar.cfamily.library.directories=/path/to/requiredMacros.h,/path/to/include/files |
| 37 | +# Base directory |
| 38 | +sonar.projectBaseDir=@CMAKE_SOURCE_DIR@ |
37 | 39 |
|
| 40 | +# directories that contain code to analyze |
| 41 | +sonar.sources=src,include |
0 commit comments