Back to home page

EIC code displayed by LXR

 
 

    


Warning, /DD4hep/doc/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 #############################################
0002 # Doxygen target to generate API reference  #
0003 #############################################
0004 
0005 FIND_PACKAGE(Doxygen)
0006 
0007 IF(DOXYGEN_FOUND)
0008     CONFIGURE_FILE(${CMAKE_SOURCE_DIR}/doc/reference/Doxyfile.in ${CMAKE_BINARY_DIR}/reference/Doxyfile @ONLY)
0009     ADD_CUSTOM_TARGET(reference
0010         ${DOXYGEN_EXECUTABLE} ${CMAKE_BINARY_DIR}/reference/Doxyfile
0011         WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/reference
0012         COMMENT "Generating API documentation with Doxygen"
0013         VERBATIM
0014         )
0015 ENDIF(DOXYGEN_FOUND)
0016 
0017 ###############################################
0018 # LaTeX target to compile the PDF user manual #
0019 ###############################################
0020 
0021 # Information and the manual on the UseLATEX.cmake package can be found here
0022 # http://www.cmake.org/Wiki/CMakeUserUseLATEX
0023 
0024 FIND_PACKAGE(LATEX)
0025 
0026 # Only add target if we have LaTeX
0027 IF(LATEX_COMPILER AND BIBER_COMPILER)
0028     MESSAGE(STATUS "Found LaTeX compiler.")
0029     SET(LATEX_COMPILER_FLAGS "-shell-escape" "-interaction nonstopmode" "-halt-on-error" "-file-line-error" CACHE STRING "Flags passed to latex.")
0030     INCLUDE(${CMAKE_SOURCE_DIR}/cmake/LATEX.cmake)
0031 
0032     SET(HTLATEX_COMPILER_TEX4HT_FLAGS "html/dd4hep,charset=utf-8" CACHE STRING "Flags passed to Tex4HT" FORCE)
0033     SET(HTLATEX_COMPILER_TEX4HT_POSTPROCESSOR_FLAGS "-utf8 -cunihtf" CACHE STRING "Flags passed to the postprocessor of Tex4HT" FORCE)
0034 
0035     ADD_SUBDIRECTORY(usermanuals/DD4hep)
0036     ADD_SUBDIRECTORY(usermanuals/DDAlign)
0037     ADD_SUBDIRECTORY(usermanuals/DDCond)
0038     ADD_SUBDIRECTORY(usermanuals/DDEve)
0039     ADD_SUBDIRECTORY(usermanuals/DDG4)
0040     ADD_SUBDIRECTORY(usermanuals/DDRec)
0041 
0042     MESSAGE(STATUS "Tried to set up Latex, if you saw errors, please disable building the documentation (BUILD_DOCS=OFF) or install missing packages.")
0043     
0044 ELSE()
0045     MESSAGE(STATUS "No LaTeX/Biber found, cannot compile user manual.")
0046 ENDIF()