From 266ad1b2d4e9a11eee38813f93557ecb994e58d9 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Tue, 7 May 2019 16:21:42 +0200 Subject: Add CrystFEL version (including API revision) directly into Doxygen main page --- libcrystfel/CMakeLists.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'libcrystfel/CMakeLists.txt') diff --git a/libcrystfel/CMakeLists.txt b/libcrystfel/CMakeLists.txt index faf6c8c4..f132c3a0 100644 --- a/libcrystfel/CMakeLists.txt +++ b/libcrystfel/CMakeLists.txt @@ -114,11 +114,13 @@ set(LIBCRYSTFEL_HEADERS src/rational.h ) +configure_file(${PROJECT_SOURCE_DIR}/doc/index.md index.md) set(DOXYGEN_SHOW_INCLUDE_FILES NO) set(DOXYGEN_WARN_IF_UNDOCUMENTED NO) set(DOXYGEN_PREDEFINED HAVE_FFTW) -doxygen_add_docs(api-docs ${PROJECT_SOURCE_DIR}/src ${PROJECT_SOURCE_DIR}/doc - ${PROJECT_SOURCE_DIR}/doc) +doxygen_add_docs(api-docs ${PROJECT_SOURCE_DIR}/src + ${CMAKE_CURRENT_BINARY_DIR}/index.md + ${PROJECT_SOURCE_DIR}/doc/coding.md) add_library(${PROJECT_NAME} SHARED ${LIBCRYSTFEL_SOURCES} -- cgit v1.2.3