Creating a build specification
|In this topic:|
Creating the build specification is the first step in performing your analysis. The build specification contains detailed information about your build, and is used by the Klocwork analysis engine to perform analysis on your code. It is important that the build specification be as up to date as possible to ensure that your analysis is accurate and complete.
Build specification file format
The format of the build specification varies depending on the language of your source code. See the following table for more information:
Create the build specification
How you create your build specification depends on the language of your source code, though the process for each language is similar. See the following table for more information:
|C/C++||Creating a C/C++ build specification|
|Java||Creating a Java build specification|
|C#||Creating a C-sharp build specification|
For some projects, you may not be able to create a build specification using one of the methods defined above. For these cases, you can use kwwrap to generate a build trace file, and kwinject to generate a build specification.