mirror of
https://git.gfz-potsdam.de/naaice/poet.git
synced 2025-12-15 12:28:22 +01:00
build: add POET version to doxygen parameter list
This commit is contained in:
parent
e04da71f92
commit
5ea2fe5d6f
@ -14,6 +14,8 @@ set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
|
||||
include("CMake/POET_Scripts.cmake")
|
||||
list(APPEND CMAKE_MODULE_PATH "${POET_SOURCE_DIR}/CMake")
|
||||
|
||||
get_poet_version()
|
||||
|
||||
# set(GCC_CXX_FLAGS "-D STRICT_R_HEADERS") add_definitions(${GCC_CXX_FLAGS})
|
||||
|
||||
find_package(MPI REQUIRED)
|
||||
|
||||
@ -1,11 +1,9 @@
|
||||
get_poet_version()
|
||||
|
||||
configure_file(poet.h.in poet.h)
|
||||
|
||||
if (POET_USE_PRM_BACKEND)
|
||||
set(poet_SRC poet_prm.cpp)
|
||||
if(POET_USE_PRM_BACKEND)
|
||||
set(poet_SRC poet_prm.cpp)
|
||||
else()
|
||||
set(poet_SRC poet.cpp)
|
||||
set(poet_SRC poet.cpp)
|
||||
endif()
|
||||
|
||||
add_executable(poet ${poet_SRC})
|
||||
|
||||
@ -9,6 +9,7 @@ if(DOXYGEN_FOUND)
|
||||
set(DOXYGEN_DISABLE_INDEX NO)
|
||||
set(DOXYGEN_GENERATE_TREEVIEW YES)
|
||||
set(DOXYGEN_FULL_SIDEBAR YES)
|
||||
set(DOXYGEN_PROJECT_NUMBER ${POET_VERSION})
|
||||
|
||||
doxygen_add_docs(doxygen
|
||||
${PROJECT_SOURCE_DIR}/include
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user