SOURCE_BROWSER Doxygen switch is configurable from CMAKE (#395)
authorAlpar Juttner <alpar@cs.elte.hu>
Mon, 25 Oct 2010 15:33:57 +0200
changeset 911481496e6d71f
parent 910 0fbbdd578c06
child 912 09282720100b
SOURCE_BROWSER Doxygen switch is configurable from CMAKE (#395)
doc/CMakeLists.txt
doc/Doxyfile.in
     1.1 --- a/doc/CMakeLists.txt	Mon Oct 25 13:37:06 2010 +0200
     1.2 +++ b/doc/CMakeLists.txt	Mon Oct 25 15:33:57 2010 +0200
     1.3 @@ -3,6 +3,8 @@
     1.4  SET(abs_top_srcdir ${PROJECT_SOURCE_DIR})
     1.5  SET(abs_top_builddir ${PROJECT_BINARY_DIR})
     1.6  
     1.7 +SET(LEMON_DOC_SOURCE_BROWSER "NO" CACHE STRING "Include source into the doc (YES/NO).")
     1.8 +
     1.9  CONFIGURE_FILE(
    1.10    ${PROJECT_SOURCE_DIR}/doc/Doxyfile.in
    1.11    ${PROJECT_BINARY_DIR}/doc/Doxyfile
     2.1 --- a/doc/Doxyfile.in	Mon Oct 25 13:37:06 2010 +0200
     2.2 +++ b/doc/Doxyfile.in	Mon Oct 25 15:33:57 2010 +0200
     2.3 @@ -114,7 +114,7 @@
     2.4  #---------------------------------------------------------------------------
     2.5  # configuration options related to source browsing
     2.6  #---------------------------------------------------------------------------
     2.7 -SOURCE_BROWSER         = NO
     2.8 +SOURCE_BROWSER         = @LEMON_DOC_SOURCE_BROWSER@
     2.9  INLINE_SOURCES         = NO
    2.10  STRIP_CODE_COMMENTS    = YES
    2.11  REFERENCED_BY_RELATION = NO