Commit 7c0ecfcc authored by Erwan Demairy's avatar Erwan Demairy
Browse files

Forgotten files.

parent baaa3312
Pipeline #112399 failed with stage
in 33 seconds
## Version: $Id$
##
######################################################################
##
### Commentary:
##
######################################################################
##
### Change Log:
##
######################################################################
##
### Code:
## ###################################################################
## Setup
## ###################################################################
# For doc-all
configure_file(
${CMAKE_CURRENT_SOURCE_DIR}/setvars.py
${CMAKE_CURRENT_BINARY_DIR}/setvars.py
COPYONLY
)
configure_file(
${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile.in
${CMAKE_CURRENT_BINARY_DIR}/Doxyfile.in
COPYONLY
)
## ###################################################################
## Rules
## ###################################################################
add_custom_target("doc")
set(INPUT_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../src)
set(PROJECT_NUMBER ${${PROJECT_NAME}_VERSION})
configure_file(
${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile.in
${CMAKE_CURRENT_BINARY_DIR}/Doxyfile
IMMEDIATE
)
add_custom_command(
TARGET "doc" POST_BUILD
COMMAND doxygen
COMMAND mv dtkVisualization.tag out/html
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMENT "-- Generating documentation"
)
add_custom_target("doc-all")
add_custom_command(
TARGET "doc-all" POST_BUILD
COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/build_all_versions.sh
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMENT "-- Generating documentation for all versions"
)
######################################################################
### CMakeLists.txt ends here
This diff is collapsed.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment