option(GMX_BUILD_MANUAL "Whether to try to configure to build the PDF manual" OFF)
mark_as_advanced(GMX_BUILD_WEBPAGE GMX_BUILD_MANUAL)
+set(EXPECTED_DOXYGEN_VERSION 1.8.5)
+
find_package(PythonInterp)
find_package(Sphinx 1.2.3 COMPONENTS pygments)
gmx_configure_version_file(conf-vars.py.cmakein ${SPHINX_CONFIG_VARS_FILE}
EXTRA_VARS
SPHINX_EXTENSION_PATH
+ EXPECTED_DOXYGEN_VERSION
GMX_CMAKE_MINIMUM_REQUIRED_VERSION REQUIRED_CUDA_VERSION
REQUIRED_CUDA_COMPUTE_CAPABILITY REGRESSIONTEST_VERSION
SOURCE_MD5SUM REGRESSIONTEST_MD5SUM_STRING
gmx_version_string_full = '@GMX_VERSION_STRING_FULL@'
regressiontest_version = '@REGRESSIONTEST_VERSION@'
variables = [
+ ('EXPECTED_DOXYGEN_VERSION', '@EXPECTED_DOXYGEN_VERSION@'),
('GMX_CMAKE_MINIMUM_REQUIRED_VERSION', '@GMX_CMAKE_MINIMUM_REQUIRED_VERSION@'),
('REQUIRED_CUDA_VERSION', '@REQUIRED_CUDA_VERSION@'),
('REQUIRED_CUDA_COMPUTE_CAPABILITY', '@REQUIRED_CUDA_COMPUTE_CAPABILITY@'),
warnings are also produced as ``docs/doxygen/doxygen-*.log``, so you can inspect them after
the run.
-You will need Doxygen 1.8.5 to build the current documentation. Other versions
-may work, but likely also produce warnings. Additionally,
-`graphviz <http://www.graphviz.org>`_ and
+You will need Doxygen |EXPECTED_DOXYGEN_VERSION| to build the current
+documentation. Other versions may work, but likely also produce warnings.
+Additionally, `graphviz <http://www.graphviz.org>`_ and
`mscgen <http://www.mcternan.me.uk/mscgen/>`_ are required for some graphs in
the documentation, and ``latex`` for formulas. Working versions are likely
available through most package managers. It is possible to build the
`Doxygen <http://www.doxygen.org>`_ is used to extract documentation from
source code comments. Also some other overview
content is laid out by Doxygen from Markdown source files. Currently, version
- 1.8.5 is required for a warning-free build. Thorough explanation of the
- Doxygen setup and instructions for documenting the source code can be found on
- a separate page: :doc:`doxygen`.
+ |EXPECTED_DOXYGEN_VERSION| is required for a warning-free build. Thorough
+ explanation of the Doxygen setup and instructions for documenting the source
+ code can be found on a separate page: :doc:`doxygen`.
graphviz (dot)
The Doxygen documentation uses ``dot`` from `graphviz
#
# This file is part of the GROMACS molecular simulation package.
#
-# Copyright (c) 2013,2014, by the GROMACS development team, led by
+# Copyright (c) 2013,2014,2015, by the GROMACS development team, led by
# Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
# and including many others, as listed in the AUTHORS file in the
# top-level source directory and at http://www.gromacs.org.
set(DOXYGEN_VERSION "@DOXYGEN_VERSION@")
set(DOXYGEN_MSCGEN_FOUND @DOXYGEN_MSCGEN_FOUND@)
-set(EXPECTED_VERSION 1.8.5)
+set(EXPECTED_VERSION "@EXPECTED_DOXYGEN_VERSION@")
if (NOT DOXYGEN_VERSION VERSION_EQUAL EXPECTED_VERSION)
message("NOTE: You are using Doxygen version ${DOXYGEN_VERSION}. "