Skip to content

Commit

Permalink
CPP-5240 Migrate to sonar.cfamily.compile-commands
Browse files Browse the repository at this point in the history
  • Loading branch information
friedbyalice authored May 14, 2024
1 parent a23b5bd commit ec1d496
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build-analyze.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ cmake -B build
build-wrapper-win-x86-64 --out-dir $BUILD_WRAPPER_OUT_DIR cmake --build build/ --config Release

# Run sonar scanner
sonar-scanner.bat --define sonar.host.url=$SONAR_SERVER_URL --define sonar.login=$SONAR_TOKEN --define sonar.cfamily.build-wrapper-output=$BUILD_WRAPPER_OUT_DIR
sonar-scanner.bat --define sonar.host.url=$SONAR_SERVER_URL --define sonar.login=$SONAR_TOKEN --define sonar.cfamily.compile-commands=$BUILD_WRAPPER_OUT_DIR/compile_commands.json

0 comments on commit ec1d496

Please sign in to comment.