Skip to content

Latest commit

 

History

History
96 lines (65 loc) · 3.43 KB

File metadata and controls

96 lines (65 loc) · 3.43 KB

🐧 Getting Started with CppDepend on Linux

CppDepend is a powerful static analysis tool for C/C++ developers. This guide walks you through how to set up CppDepend on Linux, including Ubuntu and other distributions.


🧭 Choose the Right Edition

CppDepend offers two editions for Linux:

  • Developer Edition: Available for Ubuntu 2018 / 2020 / 2022
  • DevOps Edition: Works across all Linux distributions

📥 Download CppDepend


🧑‍💻 Developer Edition (Ubuntu 18 / 20 / 22)

Steps:

  1. Download the Developer Edition from the official download page.
  2. Open a terminal and navigate to the installation directory.
  3. Launch the visual UI:
./VisualCppDepend.sh
  1. Create a new project and import your build data using a compile_commands.json file.
  2. Run the analysis.
  3. View your analysis results in the CppDepend Dashboard.

📸 Screenshots:
New Project
Add Project
Run Analysis
Dashboard


⚙️ DevOps Edition (All Linux Distributions)

Steps:

  1. Download the DevOps Edition from the CppDepend download page.
  2. Open a terminal and run:
./CppDepend compilation_commands.json /OutDir /home/test/CppDependOut
  • compilation_commands.json: Your compile DB file
  • /home/test/CppDependOut: Output directory for the HTML report

📸 Example Output:
Report


🔍 Edition Comparison: Developer vs DevOps

Feature Developer Edition DevOps Edition
Visual Studio Integration (Windows only)
Visual Dashboard (Linux Ubuntu + Windows)
Interactive Graphs & Matrices
Treemapping Visualization
CI Integration (Jenkins, TeamCity, etc.)
HTML Report Generation via Console
SonarQube Plugin
Quality Gates & Build Failure Conditions
Rule Editing, Technical Debt, Metrics, etc.

ℹ️ The trial version includes both editions.


💬 Need Help?

If you run into issues, reach out at:
📧 support@cppdepend.com


✅ Get Started Now