Generating documentation from your code
Most people, either knowingly or not, structure their software projects in an organized way. The organization is a positive side effect of methodologies and procedures such as object-oriented (OO) design, programming language rules, personal preference, or habits, or is dictated by project rules. Although rules and conventions tend to be boring, adhering to them results in a more understandable project structure. When procedures, rules, order, and organization exist, the computer can make sense of things. Documentation generation software leverages that fact to our benefit.
One of the most prominent tools to generate documentation out of code is Doxygen. As a de facto standard for code documentation in C++, it integrates very well with CMake. We will learn how we can integrate Doxygen with CMake to automatically generate documentation for CMake projects.
Understanding what Doxygen is
Doxygen is very popular documentation software for...