Console

A Complete Guide to CppDepend.Console Command Line Options

Welcome to our complete guide on CppDepend.Console.exe command line options! CppDepend is a powerful code analysis tool that enables you to optimize your C/C++ projects and improve your software quality. This guide will provide you with an in-depth understanding of the various command line options available in CppDepend.Console.exe, and how to effectively use them to enhance your project's performance.

Let's explore the CppDepend.Console command line options!

Mandatory Options

Project file path

The path to the CppDepend project file (.cdproj). It must be specified as the first argument. If you need to specify a path that contains a space character use double quotes ".. ..". Relative paths are not supported. These remarks also apply to paths provided with options /OutDir and /XslForReport.

Optional Options

/ViewReport

To view the HTML report.

/Silent

To disable output and eventual calls to Console.Read() on console.

/HideConsole

To hide the console window.

/FullAnalysis

Launch the full analysis.

/LogTrendMetrics

To force log trend metrics.

/XslForReport xlsFilePath

To provide your own Xsl file used to build report. The path specified must be absolute.

/OutDir dir

To override the output dir specified in the CppDepend project file. The dir specified must be absolute. VisualCppDepend.exe won't work on the machine where you used CppDepend.Console.exe with the option /OutDir because VisualCppDepend.exe is not aware of the output dir specified and will try to use the output dir specified in your CppDepend project file.

/EmitVisualNDependBinXml

To emit the file VisualCppDepend.bin.xml. VisualCppDepend.bin.xml is an xml file that contains the dependencies graph of your application. It can be used for your own purpose. VisualCppDepend.exe uses VisualCppDepend.bin which is a GZipStream compressed version of VisualCppDepend.bin.xml.

/Help

To display the current help on console.

Try CppDepend Today

Start your 14-day free trial with full access to all documentation features. No credit card required.