Optional compilation of developper's doc
This commit is contained in:
parent
55abcfeef6
commit
d950d6af52
@ -7,3 +7,4 @@ option(WITH_DEBUG_CRYPTO "Build with cryto debug output" OFF)
|
||||
option(WITH_DEBUG_CALLTRACE "Build with calltrace debug output" ON)
|
||||
option(WITH_GCRYPT "Compile against libgcrypt" OFF)
|
||||
option(WITH_PCAP "Compile with Pcap generation support" ON)
|
||||
option(WITH_INTERNAL_DOC "Compile doxygen internal documentation" OFF)
|
||||
|
@ -30,6 +30,13 @@ IF (DOXYGEN_FOUND)
|
||||
SET(DOXY_WARN_FORMAT "\"$file:$line: $text \"")
|
||||
ENDIF (CMAKE_BUILD_TOOL MATCHES "(msdev|devenv)")
|
||||
|
||||
#Build the documentation for libssh developpers if asked
|
||||
IF (WITH_INTERNAL_DOC)
|
||||
SET(CMAKE_INTERNAL_DOC "Yes")
|
||||
ELSE (WITH_INTERNAL_DOC)
|
||||
SET(CMAKE_INTERNAL_DOC "No")
|
||||
ENDIF (WITH_INTERNAL_DOC)
|
||||
|
||||
# we need latex for doxygen because of the formulas
|
||||
FIND_PACKAGE(LATEX)
|
||||
IF (NOT LATEX_COMPILER)
|
||||
|
@ -374,7 +374,7 @@ HIDE_IN_BODY_DOCS = NO
|
||||
# to NO (the default) then the documentation will be excluded.
|
||||
# Set it to YES to include the internal documentation.
|
||||
|
||||
INTERNAL_DOCS = NO
|
||||
INTERNAL_DOCS = @CMAKE_INTERNAL_DOC@
|
||||
|
||||
# If the CASE_SENSE_NAMES tag is set to NO then Doxygen will only generate
|
||||
# file names in lower-case letters. If set to YES upper-case letters are also
|
||||
|
Loading…
Reference in New Issue
Block a user