[Lemon-commits] Alpar Juttner: SOURCE_BROWSER Doxygen switch is ...

Lemon HG hg at lemon.cs.elte.hu
Sun Nov 14 15:25:56 CET 2010


details:   http://lemon.cs.elte.hu/hg/lemon/rev/481496e6d71f
changeset: 1015:481496e6d71f
user:      Alpar Juttner <alpar [at] cs.elte.hu>
date:      Mon Oct 25 15:33:57 2010 +0200
description:
	SOURCE_BROWSER Doxygen switch is configurable from CMAKE (#395)

diffstat:

 doc/CMakeLists.txt |  2 ++
 doc/Doxyfile.in    |  2 +-
 2 files changed, 3 insertions(+), 1 deletions(-)

diffs (24 lines):

diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
--- a/doc/CMakeLists.txt
+++ b/doc/CMakeLists.txt
@@ -3,6 +3,8 @@
 SET(abs_top_srcdir ${PROJECT_SOURCE_DIR})
 SET(abs_top_builddir ${PROJECT_BINARY_DIR})
 
+SET(LEMON_DOC_SOURCE_BROWSER "NO" CACHE STRING "Include source into the doc (YES/NO).")
+
 CONFIGURE_FILE(
   ${PROJECT_SOURCE_DIR}/doc/Doxyfile.in
   ${PROJECT_BINARY_DIR}/doc/Doxyfile
diff --git a/doc/Doxyfile.in b/doc/Doxyfile.in
--- a/doc/Doxyfile.in
+++ b/doc/Doxyfile.in
@@ -114,7 +114,7 @@
 #---------------------------------------------------------------------------
 # configuration options related to source browsing
 #---------------------------------------------------------------------------
-SOURCE_BROWSER         = NO
+SOURCE_BROWSER         = @LEMON_DOC_SOURCE_BROWSER@
 INLINE_SOURCES         = NO
 STRIP_CODE_COMMENTS    = YES
 REFERENCED_BY_RELATION = NO



More information about the Lemon-commits mailing list