doc/CMakeLists.txt
changeset 1208 c6aa2cc1af04
parent 1053 1c978b5bcc65
equal deleted inserted replaced
30:2f35737a31fe 31:51e7b916194b
     4 SET(abs_top_builddir ${PROJECT_BINARY_DIR})
     4 SET(abs_top_builddir ${PROJECT_BINARY_DIR})
     5 
     5 
     6 SET(LEMON_DOC_SOURCE_BROWSER "NO" CACHE STRING "Include source into the doc (YES/NO).")
     6 SET(LEMON_DOC_SOURCE_BROWSER "NO" CACHE STRING "Include source into the doc (YES/NO).")
     7 SET(LEMON_DOC_USE_MATHJAX "NO" CACHE STRING "Use MathJax to display math formulae (YES/NO).")
     7 SET(LEMON_DOC_USE_MATHJAX "NO" CACHE STRING "Use MathJax to display math formulae (YES/NO).")
     8 SET(LEMON_DOC_MATHJAX_RELPATH "http://www.mathjax.org/mathjax" CACHE STRING "MathJax library location.")
     8 SET(LEMON_DOC_MATHJAX_RELPATH "http://www.mathjax.org/mathjax" CACHE STRING "MathJax library location.")
       
     9 
       
    10 SET(LEMON_DOC_LIBSTDC++_URL
       
    11   "http://gcc.gnu.org/onlinedocs/gcc-4.7.3/libstdc++/api"
       
    12   CACHE STRING "GCC libstdc++ doxygen doc url.")
       
    13 
     9 
    14 
    10 CONFIGURE_FILE(
    15 CONFIGURE_FILE(
    11   ${PROJECT_SOURCE_DIR}/doc/Doxyfile.in
    16   ${PROJECT_SOURCE_DIR}/doc/Doxyfile.in
    12   ${PROJECT_BINARY_DIR}/doc/Doxyfile
    17   ${PROJECT_BINARY_DIR}/doc/Doxyfile
    13   @ONLY
    18   @ONLY
    73 
    78 
    74 ENDIF()
    79 ENDIF()
    75 
    80 
    76 IF(WGET_FOUND)
    81 IF(WGET_FOUND)
    77 ADD_CUSTOM_TARGET(update-external-tags
    82 ADD_CUSTOM_TARGET(update-external-tags
    78   COMMAND ${WGET_EXECUTABLE} -N http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/libstdc++.tag
    83   COMMAND ${WGET_EXECUTABLE} -N ${LEMON_DOC_LIBSTDC++_URL}/libstdc++.tag
    79   WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
    84   WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
    80   )
    85   )
    81 ENDIF()
    86 ENDIF()