whebeijing.blogg.se

Cmake install example
Cmake install example







cmake install example cmake install example

Set(DOXYGEN_IN $ COMMENT "Generating API documentation with Doxygen" VERBATIM ) else (DOXYGEN_FOUND) message( "Doxygen need to be installed to generate the doxygen documentation" ) endif (DOXYGEN_FOUND) Option(BUILD_DOC "Build documentation" ON) # check if Doxygen is installedįind_package(Doxygen) if (DOXYGEN_FOUND) # set input and output files To make the Doxygen to build documentation from the CMake file, the following code snipped can be used: # first we can indicate the documentation build as an option and set it to ON by default Lets say I would like my documentation to be built inside the build-folder. src: CMakeLists.txt, all the source files (e.g.cpp and.To provide an outline, this is the repository structure for which I want to build the documentation: The official Doxygen site contains plenty of information on how to use the Doxygen syntax so that to generate *.html files of documentation. It should contain some user documentation files (of Markdown origin) which are not located with the source folder.It should only be generated in Release mode.The documentation should be generated by a CMake file.For reference, the project size is about 7-8K lines. It was finally time to set up API documentation for one of my projects.









Cmake install example