我正在尝试将Coverity Scan静态分析添加到我的Qt项目中,但我无法得到结果.
我下载了封面扫描构建工具并使用以下命令行:
cov-build --dir cov-int make
Run Code Online (Sandbox Code Playgroud)
其中产生以下日志:
...
my build log
...
[WARNING] No files were emitted. This may be due to a problem with your configuration
or because no files were actually compiled by your build command.
Please make sure you have configured the compilers actually used in the compilation.
For more details, please look at:
/Users/martin/dev/builds/ConsoleTest01-Desktop_Qt_5_3_clang_64bit-Debug/cov-int/build-log.txt
Run Code Online (Sandbox Code Playgroud)
我该怎么走?
我在MacOS 10.9下使用Qt 5.3.2.
我没有仔细阅读文档:https: //scan.coverity.com/download?tab = cxx我必须首先运行以下配置封面:
cov-configure --comptype clangcxx --compiler clang++ --template
Run Code Online (Sandbox Code Playgroud)