aboutsummaryrefslogtreecommitdiff
path: root/cmake/Modules/UseDoxygen.cmake
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2009-12-16 23:19:18 +0100
committerAris Adamantiadis <aris@0xbadc0de.be>2009-12-16 23:19:18 +0100
commitd950d6af5271cd6733db9d47297d6b32de9c23a7 (patch)
treeee685bfb2443fd20d83464eb51d3b1bbcffcf5f2 /cmake/Modules/UseDoxygen.cmake
parent55abcfeef6c20e08b3f6ecaf3539230a93cbf3e2 (diff)
downloadlibssh-d950d6af5271cd6733db9d47297d6b32de9c23a7.tar.gz
libssh-d950d6af5271cd6733db9d47297d6b32de9c23a7.tar.xz
libssh-d950d6af5271cd6733db9d47297d6b32de9c23a7.zip
Optional compilation of developper's doc
Diffstat (limited to 'cmake/Modules/UseDoxygen.cmake')
-rw-r--r--cmake/Modules/UseDoxygen.cmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/cmake/Modules/UseDoxygen.cmake b/cmake/Modules/UseDoxygen.cmake
index 3eb9490..541dace 100644
--- a/cmake/Modules/UseDoxygen.cmake
+++ b/cmake/Modules/UseDoxygen.cmake
@@ -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)