CMakeLists.txt 552 Bytes
Newer Older
Jan Möbius's avatar
Jan Möbius committed
1
2
3
4
include (ACGDoxygen)

IF (DOXYGEN_FOUND)

5
  set(user_html_doc_dir "${CMAKE_BINARY_DIR}/Build/${ACG_PROJECT_DATADIR}/Doc/UserHTML")
Jan Möbius's avatar
Jan Möbius committed
6

7
8
9
10
  # Create directories in order to avoid doxygen warnings
  if(NOT (IS_DIRECTORY ${user_html_doc_dir}) )
     file(MAKE_DIRECTORY ${user_html_doc_dir} )
  endif()
Jan Möbius's avatar
Jan Möbius committed
11

12
13
14
  # use the doxyfile here and generate a documentation target which builds only the user Help
  # Function defaults to current dir and adds a dependency to the global doc target
  acg_create_doc_target( doc-UserHelp )
Jan Möbius's avatar
Jan Möbius committed
15
16

ENDIF(DOXYGEN_FOUND)