Part 5 : Documentation generation
Function phoenix_create_doc call doxygen when target doc is called :
1 |
phoenix_create_doc()
|
Then, you can activate documentation and generate it with :
mkdir build cd build cmake .. -DDOC_MODE=yes make doc
On installation (with make install), documentation will be installed in CMAKE_INSTALL_PREFIX/share/ProjectName/doc
To activate extra generator such as PhoenixTex2Html, you can activate it in the CMake call with :
cmake .. -DDOC_MODE=yes -DPLATEX_MODE=yes
Or simply :
cmake .. -DPLATEX_MODE=yesWill activate DOC_MODE anyway.