Coverity: command line build script for basic c++ code

I am working on a requirement to do instrumented build for c++ code on coverity(static code analysis tool, version 7.5.1) build server via command line. Need to execute a basic c++ code via command line, I tried using the cov-build command “cov-build –-dir cov-int cl /c test.cpp” and various other permutations on the directory where coverity is actually installed in the build machine. But there is some problem. System can understand only the “cov-buld –dir” and if i use only this command along with /c, this file opens in visual studio rather than giving the % of compilation units.
Please help me if anyone have done this before.

Source: c++

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.