mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-07-29 13:01:13 +03:00
Optional compilation of developper's doc
This commit is contained in:
@ -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_DEBUG_CALLTRACE "Build with calltrace debug output" ON)
|
||||||
option(WITH_GCRYPT "Compile against libgcrypt" OFF)
|
option(WITH_GCRYPT "Compile against libgcrypt" OFF)
|
||||||
option(WITH_PCAP "Compile with Pcap generation support" ON)
|
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 \"")
|
SET(DOXY_WARN_FORMAT "\"$file:$line: $text \"")
|
||||||
ENDIF (CMAKE_BUILD_TOOL MATCHES "(msdev|devenv)")
|
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
|
# we need latex for doxygen because of the formulas
|
||||||
FIND_PACKAGE(LATEX)
|
FIND_PACKAGE(LATEX)
|
||||||
IF (NOT LATEX_COMPILER)
|
IF (NOT LATEX_COMPILER)
|
||||||
|
@ -374,7 +374,7 @@ HIDE_IN_BODY_DOCS = NO
|
|||||||
# to NO (the default) then the documentation will be excluded.
|
# to NO (the default) then the documentation will be excluded.
|
||||||
# Set it to YES to include the internal documentation.
|
# 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
|
# 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
|
# file names in lower-case letters. If set to YES upper-case letters are also
|
||||||
|
Reference in New Issue
Block a user