log
Makefile
lib*.pc
-Doxyfile
-Doxyfile-lib
-Doxyfile-user
-doxygen-doc
.project
.cproject
CMakeLists.txt.user
mark_as_advanced(GMX_BUILD_UNITTESTS)
set(MEMORYCHECK_SUPPRESSIONS_FILE ${CMAKE_SOURCE_DIR}/cmake/legacy_and_external.supp)
-find_package(Doxygen)
-
########################################################################
# Generate development version info for cache
########################################################################
set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
endif()
+add_subdirectory(doxygen)
add_subdirectory(share)
add_subdirectory(src)
add_subdirectory(scripts)
"${CMAKE_CURRENT_BINARY_DIR}/cmake/cmake_uninstall.cmake")
###########################
-########################################################################
-# Doxygen configuration
-########################################################################
-if (DOXYGEN_FOUND)
- FILE(GLOB NB_KERNEL_DIRS src/gromacs/gmxlib/nonbonded/nb_kernel_*/)
- LIST(REMOVE_ITEM NB_KERNEL_DIRS
- ${CMAKE_SOURCE_DIR}/src/gromacs/gmxlib/nonbonded/nb_kernel_c)
- FOREACH(NB_KERNEL_DIR ${NB_KERNEL_DIRS})
- SET(NB_KERNEL_DIRS_TO_IGNORE_IN_DOXYGEN
- "${NB_KERNEL_DIRS_TO_IGNORE_IN_DOXYGEN} \\\n ${NB_KERNEL_DIR}")
- ENDFOREACH(NB_KERNEL_DIR)
- CONFIGURE_FILE(${CMAKE_SOURCE_DIR}/Doxyfile-common.cmakein
- ${CMAKE_BINARY_DIR}/Doxyfile-common)
- CONFIGURE_FILE(${CMAKE_SOURCE_DIR}/Doxyfile.cmakein
- ${CMAKE_BINARY_DIR}/Doxyfile)
- CONFIGURE_FILE(${CMAKE_SOURCE_DIR}/Doxyfile-lib.cmakein
- ${CMAKE_BINARY_DIR}/Doxyfile-lib)
- CONFIGURE_FILE(${CMAKE_SOURCE_DIR}/Doxyfile-user.cmakein
- ${CMAKE_BINARY_DIR}/Doxyfile-user)
- add_custom_target(doc
- ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile
- WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
- COMMENT "Generating full documentation with Doxygen" VERBATIM)
- add_custom_target(doc-user
- ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile-user
- WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
- COMMENT "Generating user documentation with Doxygen" VERBATIM)
- add_custom_target(doc-lib
- ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile-lib
- WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
- COMMENT "Generating libary documentation with Doxygen" VERBATIM)
-endif (DOXYGEN_FOUND)
-
########################################################################
# Tests #
--- /dev/null
+Doxyfile*
+doxygen-*.log
+html-full
+html-lib
+html-user
--- /dev/null
+find_package(Doxygen)
+
+########################################################################
+# Doxygen configuration
+########################################################################
+if (DOXYGEN_FOUND)
+ FILE(GLOB NB_KERNEL_DIRS
+ ${CMAKE_SOURCE_DIR}/src/gromacs/gmxlib/nonbonded/nb_kernel_*/)
+ LIST(REMOVE_ITEM NB_KERNEL_DIRS
+ ${CMAKE_SOURCE_DIR}/src/gromacs/gmxlib/nonbonded/nb_kernel_c)
+ FOREACH(NB_KERNEL_DIR ${NB_KERNEL_DIRS})
+ SET(NB_KERNEL_DIRS_TO_IGNORE_IN_DOXYGEN
+ "${NB_KERNEL_DIRS_TO_IGNORE_IN_DOXYGEN} \\\n ${NB_KERNEL_DIR}")
+ ENDFOREACH(NB_KERNEL_DIR)
+ CONFIGURE_FILE(Doxyfile-common.cmakein Doxyfile-common)
+ CONFIGURE_FILE(Doxyfile-full.cmakein Doxyfile-full)
+ CONFIGURE_FILE(Doxyfile-lib.cmakein Doxyfile-lib)
+ CONFIGURE_FILE(Doxyfile-user.cmakein Doxyfile-user)
+ FILE(COPY index.html DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
+ add_custom_target(doc-full
+ ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile-full
+ WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
+ COMMENT "Generating full documentation with Doxygen" VERBATIM)
+ add_custom_target(doc-lib
+ ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile-lib
+ WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
+ COMMENT "Generating library documentation with Doxygen" VERBATIM)
+ add_custom_target(doc-user
+ ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile-user
+ WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
+ COMMENT "Generating user documentation with Doxygen" VERBATIM)
+ add_custom_target(doc-all)
+ add_dependencies(doc-all doc-full doc-lib doc-user)
+endif (DOXYGEN_FOUND)
PROJECT_NAME = @CMAKE_PROJECT_NAME@
PROJECT_NUMBER = @PROJECT_VERSION@
-OUTPUT_DIRECTORY = doxygen-doc
INPUT = @CMAKE_SOURCE_DIR@/src \
@CMAKE_SOURCE_DIR@/share/template
EXAMPLE_PATH = @CMAKE_SOURCE_DIR@
EXTRACT_STATIC = YES
EXTRACT_LOCAL_CLASSES = YES
HIDE_UNDOC_CLASSES = YES
-WARN_LOGFILE = doxygen-doc/doxygen.log
+WARN_LOGFILE = doxygen-full.log
+HTML_OUTPUT = html-full
INLINE_INHERITED_MEMB = NO # Makes it easier to go through all documentation
ENABLED_SECTIONS = libapi
INTERNAL_DOCS = NO
HIDE_UNDOC_CLASSES = YES
-WARN_LOGFILE = doxygen-doc/doxygen-lib.log
+WARN_LOGFILE = doxygen-lib.log
HTML_OUTPUT = html-lib
ALIASES += inpublicapi="\ingroup group_publicapi"
INTERNAL_DOCS = NO
HIDE_UNDOC_CLASSES = YES
HIDE_FRIEND_COMPOUNDS = YES
-WARN_LOGFILE = doxygen-doc/doxygen-user.log
+WARN_LOGFILE = doxygen-user.log
HTML_OUTPUT = html-user
ALIASES += inpublicapi="\ingroup group_publicapi"
--- /dev/null
+<html>
+<body>
+ <h1>Doxygen documentation for Gromacs</h1>
+ <p>
+ Each set of documentation below includes all the information from
+ the sets above it.
+ </p>
+ <ul>
+ <li><a href="html-user/index.html">Public API documentation</a></li>
+ <li><a href="html-lib/index.html">Library documentation, excluding intramodule documentation</a></li>
+ <li><a href="html-full/index.html">Full documentation including internal functions</a></li>
+ </ul>
+</body>
+</html>