summaryrefslogtreecommitdiff
path: root/doc/CMakeLists.txt
blob: c475088e12a9831bee1903290b3a5859c1309cfa (plain)
1
2
3
4
5
6
7
8
9
10
11
set( stamp "${CMAKE_CURRENT_BINARY_DIR}/doc-stamp" )

add_custom_command(
  DEPENDS ept ${CMAKE_CURRENT_BINARY_DIR}/libept.dox
  OUTPUT ${stamp}
  COMMAND ${DOXYGEN} libept.dox && touch ${stamp} )

add_custom_target( doc DEPENDS ${stamp} )

configure_file( ${CMAKE_CURRENT_SOURCE_DIR}/libept.dox.in
  ${CMAKE_CURRENT_BINARY_DIR}/libept.dox @ONLY IMMEDIATE )