Intel® DPC++ Compatibility Tool Developer Guide and Reference
A newer version of this document is available. Customers should click here to go to the newest version.
intercept-build Options
The intercept-build tool is available for Linux* only. It is available as part of Intel® DPC++ Compatibility Tool installation.
The following table lists intercept-build tool command line options.
| Option | Description | 
|---|---|
| –append | Extend existing compilation database with new entries. Duplicate entries are detected and not present in the final output. The output is not continuously updated; it’s done when the build command finished. Default: disabled. | 
| –cdb <file> | The JSON compilation database. Default name: compile_commands.json. | 
| –intercept-build | Invoke the intercept-build tool to generate a compilation database. | 
| –linker-entry | Generate linker entry in compilation database if the –linker-entry option is present. Default: enabled. | 
| –no-linker-entry | Do not generate linker entry in compilation database if the –no-linker-entry option is present. Default: disabled. | 
| –parse-build-log <file> | Specifies the file path of the build log. | 
| –verbose, -v | Enable verbose output from intercept-build. A second, third, and fourth flag increases verbosity. | 
| –work-directory <path> | Specifies the working directory of the command that generates the build log specified by option -parse-build-log. Default: the directory of build log file specified by option -parse-build-log. |