Part 5 : Documentation generation



Function phoenix_create_doc call doxygen when target doc is called :
1
phoenix_create_doc()
It creates the target doc if it does not exist. It uses information defined with phoenix_base_project (see in part 2).

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=yes
Will activate DOC_MODE anyway.