Add option to enable/disable documentation generation when building with CMake.

This commit is contained in:
Ghislain MARY 2015-04-15 16:04:13 +02:00
parent 736f018d2e
commit 2dc157e76f
2 changed files with 4 additions and 1 deletions

View file

@ -38,6 +38,7 @@ include(CMakeDependentOption)
option(ENABLE_STATIC "Build static library (default is shared library)." NO)
option(ENABLE_CONSOLE_UI "Turn on or off compilation of console interface." YES)
option(ENABLE_DATE "Use build date in internal version number." NO)
option(ENABLE_DOC "Enable documentation generation with Doxygen." YES)
option(ENABLE_GTK_UI "Turn on or off compilation of gtk interface." YES)
option(ENABLE_LDAP "Enable LDAP support." NO)
option(ENABLE_MSG_STORAGE "Turn on compilation of message storage." YES)

View file

@ -205,4 +205,6 @@ install(FILES ${HEADER_FILES}
PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ
)
add_subdirectory(help)
if(ENABLE_DOC)
add_subdirectory(help)
endif()