mirror of
https://github.com/arcan1s/moldyn.git
synced 2025-07-14 14:25:53 +00:00
start moving to another architecture
This commit is contained in:
13
mathmech/mm/doxygen.cmake
Normal file
13
mathmech/mm/doxygen.cmake
Normal file
@ -0,0 +1,13 @@
|
||||
# build docs
|
||||
find_package (Doxygen)
|
||||
if (DOXYGEN_FOUND)
|
||||
set (PROJECT_DOCS_DIR ${CMAKE_CURRENT_SOURCE_DIR}/docs/html)
|
||||
set (DOXYGEN_INPUT ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
configure_file (${CMAKE_CURRENT_SOURCE_DIR}/mm.doxygen ${CMAKE_CURRENT_BINARY_DIR}/doxygen.conf)
|
||||
add_custom_target (docs COMMAND ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/doxygen.conf)
|
||||
else (DOXYGEN_FOUND)
|
||||
message (STATUS "WARNING: Doxygen not found - Reference manual will not be created")
|
||||
endif ()
|
||||
|
||||
# instal properties
|
||||
# install (DIRECTORY ${PROJECT_DOCS_DIR} DESTINATION share/doc/${PROJECT_LONG})
|
Reference in New Issue
Block a user