Start here

Home
About Klocwork
What's new
Fixed issues
Release notes
Installation

Reference

C/C++ checkers
Java checkers
C# checkers
MISRA C 2004 checkers
MISRA C++ 2008 checkers
MISRA C 2012 checkers
MISRA C 2012 checkers with Amendment 1
Commands
Metrics
Troubleshooting
Reference

Product components

C/C++ Integration build analysis
Java Integration build analysis
Desktop analysis
Refactoring
Klocwork Static Code Analysis
Klocwork Code Review
Structure101
Tuning
Custom checkers

Coding environments

Visual Studio
Eclipse for C/C++
Eclipse for Java
IntelliJ IDEA
Other

Administration

Project configuration
Build configuration
Administration
Analysis performance
Server performance
Security/permissions
Licensing
Klocwork Static Code Analysis Web API
Klocwork Code Review Web API

Community

View help online
Visit RogueWave.com
Klocwork Support
Rogue Wave Videos

Legal

Legal information

Kwwrap

The kwwrap command provides an alternate method of generating a build specification for C/C++ projects, if kwinject alone does not work in your environment. kwwrap can be integrated into your organization's build process to generate a build trace. The build trace is used as input to kwinject to create a build specification.

Usage

kwwrap [<option>...] [<command> [arg...]]

where

  • <option> is any of the options from the table below
  • <command> is your build command, for example, make
  • <arg> is any arguments required by your build command

Options

Name Short name Description
--help -h display this help and exit
--version -v display version and exit
--force-relative-path -r allow a relative trace file path
--output -o specify the full path and file name for the build trace
--pretend -p do not execute the build command. Allows running of a test to capture compiler options used in your build, without actually running the build command. You may want to set up the build command to ignore errors (for example, make -i).