From d44a4405e6dbafb9df633358da3e21618994702d Mon Sep 17 00:00:00 2001 From: Sergei Shirokov Date: Wed, 27 Nov 2024 18:00:33 +0200 Subject: [PATCH] Try to fix Sonar warning: Property 'sonar.cfamily.build-wrapper-output' is deprecated; build-wrapper now generates a compilation database. #sonar --- tools/run_sonar.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/run_sonar.sh b/tools/run_sonar.sh index c0440d1..e4d2ae3 100755 --- a/tools/run_sonar.sh +++ b/tools/run_sonar.sh @@ -69,7 +69,7 @@ sonar-scanner \ --define sonar.projectKey=libudpard \ --define sonar.sources=libudpard \ --define sonar.exclusions=libudpard/_udpard_cavl.h \ ---define sonar.cfamily.build-wrapper-output="$BUILD_DIR" \ +--define sonar.cfamily.compile-commands="$BUILD_DIR/compile_commands.json" --define sonar.cfamily.llvm-cov.reportPath="$BUILD_DIR/coverage.txt" \ --define sonar.cfamily.threads="$(nproc)" \ || die