Getting Started with CppDepend
Download and Install CppDepend
Step 1: If you have not downloaded the CppDepend installer yet, please visit: https://www.cppdepend.com/download
Step 2: Install the CppDepend Professional files on your computer. To install CppDepend, simply unzip the downloaded files into a private application folder of your choice.
Important: Do not unzip the files into
%ProgramFiles%\CppDepend.
Doing so may cause issues due to Windows folder protection.
How do I analyze my C\C++ and Java applications using CppDepend?
- Run VisualCppDepend.exe on Windows, or execute from the terminal VisualCppDepend.sh for Linux/Mac.
- Create New CppDepend Project
The language combobox permit to choose between C++, C or Java projects. - Add your projects to parse.
The following kind of projects are managed by CppDepend:
- .vcproj,.vcxproj,.sln: Visual Studio projects.
- Json compilation database: A compilation database is a database for compile options. It records which compile options are used to build the files in a project. The compilation database could be generated from CMake or Ninja, and there are many other ways to generate a compilation database.
- .build files : The recommended way to analyse your C\C++ projects other than the VS, QtCreator and CMake ones, is to use the BuildMonitor tool to intercept all compilation and link commands.
- Set of source files: You can use the ProjectMaker tool to describe the specification of your project. With ProjectMaker you can specify your source files, the include paths and the defines.
- Java source folders.
- Java source folders.
- Once the analysis done, the result is displayed in the VisualCppDepend.exe UI.

