Getting Started with CppDepend on Linux
Two CppDepend versions are available for Linux, The developer edition only available on Ubuntu 2018/2020/2022, and the devops edition available for all Linux distributions:Devloper Edition for Ubuntu 2018/2020/2022
To test CppDepend for Ubuntu, you can follow these steps:- Open a terminal, go to the cppdepend install folder and execute ./VisualCppDepnd.sh to create a new CppDepend project
- Add the project you want to analyze, it's recommended to analyse a CMake compilatation database file(.json file)
- Launch the analysis
- After the analysis is done, the result is available
Devops Edition for all linux distributions
To test CppDepend Devops edition, you can follow these steps:- Open a terminal, go to the cppdepend install folder and execute ./CppDepend compilation_commands.json /OutDir /home/test/CppDependOut
compilation_commands.json is your .json compilatation database file
/home/test/CppDependOut is the folder where the html report is generated. - The HTML report will be generated in the output folder