Commit bb7ce3ef authored by Dominik Charousset's avatar Dominik Charousset

Use version from CMake for Doxygen and manual

parent afb81c15
......@@ -304,13 +304,13 @@ else()
set(CAF_NO_NEXUS yes)
endif()
# build shell if not being told otherwise
if(NOT CAF_NO_SHELL AND EXISTS "${CMAKE_SOURCE_DIR}/cash/caf/")
if(NOT CAF_NO_SHELL AND EXISTS "${CMAKE_SOURCE_DIR}/shell/caf/")
if(NOT CAF_HAS_RIAC)
message(WARNING "cannot build shell without RIAC submodule")
set(CAF_NO_SHELL yes)
else()
message(STATUS "Enter subdirectory shell")
add_subdirectory(cash)
add_subdirectory(shell)
if(CAF_BUILD_STATIC_ONLY)
add_dependencies(cash libcaf_riacStatic)
else()
......@@ -332,6 +332,16 @@ else()
set(CAF_NO_BENCHMARKS yes)
endif()
################################################################################
# LateX setup #
################################################################################
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/manual/variables.tex.in"
"${CMAKE_CURRENT_SOURCE_DIR}/manual/variables.tex"
@ONLY)
################################################################################
# Doxygen setup #
################################################################################
......
......@@ -37,7 +37,7 @@ PROJECT_NAME = libcaf
# This could be handy for archiving the generated documentation or
# if some version control system is used.
PROJECT_NUMBER = @VERSION@
PROJECT_NUMBER = @CAF_VERSION@
# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
# base path where the generated documentation will be put.
......
......@@ -5,5 +5,5 @@
}
\newcommand{\libsubtitle}{%
User Manual\\\normalsize{\lib version 0.10}\vfill%
User Manual\\\normalsize{\lib version @CAF_VERSION@}\vfill%
}
Markdown is supported
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