forked from Green-Sky/tomato
Green Sky
5c7231b7a3
git-subtree-dir: external/entt/entt git-subtree-split: fef921132cae7588213d0f9bcd2fb9c8ffd8b7fc
41 lines
928 B
CMake
41 lines
928 B
CMake
#
|
|
# Doxygen configuration (documentation)
|
|
#
|
|
|
|
set(DOXY_DEPS_DIRECTORY ${EnTT_SOURCE_DIR}/deps)
|
|
set(DOXY_SOURCE_DIRECTORY ${EnTT_SOURCE_DIR}/src)
|
|
set(DOXY_DOCS_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
|
|
set(DOXY_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
|
|
|
|
configure_file(doxy.in doxy.cfg @ONLY)
|
|
|
|
add_custom_target(
|
|
docs ALL
|
|
COMMAND ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/doxy.cfg
|
|
WORKING_DIRECTORY ${EnTT_SOURCE_DIR}
|
|
VERBATIM
|
|
SOURCES
|
|
dox/extra.dox
|
|
md/config.md
|
|
md/container.md
|
|
md/core.md
|
|
md/entity.md
|
|
md/faq.md
|
|
md/lib.md
|
|
md/links.md
|
|
md/locator.md
|
|
md/meta.md
|
|
md/poly.md
|
|
md/process.md
|
|
md/reference.md
|
|
md/resource.md
|
|
md/signal.md
|
|
md/unreal.md
|
|
doxy.in
|
|
)
|
|
|
|
install(
|
|
DIRECTORY ${DOXY_OUTPUT_DIRECTORY}/html
|
|
DESTINATION share/${PROJECT_NAME}-${PROJECT_VERSION}/
|
|
)
|