csbuild (1) Linux Manual Page
NAME
csbuild – tool for plugging static analyzers into the build process
DESCRIPTION
usage: csbuild [-h] -c BUILD_CMD [-g GIT_COMMIT_RANGE] [–git-bisect]
- [–added-exit-code ADDED_EXIT_CODE] [–base-fail-exit-code BASE_FAIL_EXIT_CODE] [–print-current] [–no-print-current] [–print-added] [–no-print-added] [–print-fixed] [–no-print-fixed] [–clean] [–no-clean] [–cswrap-timeout CSWRAP_TIMEOUT] [–color] [–no-color] [–gen-travis-yml] [–install INSTALL] [–prep-cmd PREP_CMD] [-w GCC_WARNING_LEVEL] [-U EMBED_CONTEXT] [–version]
optional arguments:
-h,–help- show this help message and exit
-cBUILD_CMD,–build-cmdBUILD_CMD- shell command used to build the sources (runs in $PWD)
-gGIT_COMMIT_RANGE,–git-commit-rangeGIT_COMMIT_RANGE- range of git revisions for a differential scan
–git-bisect- if a new defect is added, use git-bisect to identify the cause WARNING: The given command must (re)compile all sources for this option to work!
–added-exit-codeADDED_EXIT_CODE- exit code to return if there is any defect added in the new version
–base-fail-exit-codeBASE_FAIL_EXIT_CODE- exit code to return if the base scan fails
–print-current- print all defects in the current version (default unless
-gis given) WARNING: The given command must (re)compile all sources for this option to work! –no-print-current- disables
–print-current –print-added- print defects added in the new version (default if
-gis given) –no-print-added- disables
–print-added –print-fixed- print defects fixed in the new version WARNING: The given command must (re)compile all sources for this option to work!
–no-print-fixed- disables
–print-fixed –clean- clean the temporary directory with results on exit (default)
–no-clean- disables
–clean –cswrap-timeoutCSWRAP_TIMEOUT- maximal amount of time taken by analysis of a single module [s]
–color- use colorized console output (default if connected to a tty)
–no-color- disables
–color –gen-travis-yml- generate the .travis.yml file for Travis CI (requires
–install) –installINSTALL- space-separated list of packages to install with
–gen-travis-yml –prep-cmdPREP_CMD- shell command to run before the build (runs in $PWD)
-wGCC_WARNING_LEVEL,–gcc-warning-levelGCC_WARNING_LEVEL- Adjust GCC warning level.
-w0means no additional warnings,-w1appends-Walland-Wextra, and-w2enables some other useful warnings (default). -UEMBED_CONTEXT,–embed-contextEMBED_CONTEXT- embed a number of lines of context from the source file for the key event (defaults to 3).
–version- print the version of csbuild and exit
