Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tsoc
openmm
Commits
9fb3f334
Commit
9fb3f334
authored
Dec 03, 2015
by
Robert T. McGibbon
Browse files
Small fixes
parent
84017c97
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
31 deletions
+3
-31
cmake_modules/ApiDoxygen.cmake
cmake_modules/ApiDoxygen.cmake
+0
-30
docs-source/CMakeLists.txt
docs-source/CMakeLists.txt
+2
-1
docs-source/api-c++/CMakeLists.txt
docs-source/api-c++/CMakeLists.txt
+1
-0
No files found.
cmake_modules/ApiDoxygen.cmake
deleted
100644 → 0
View file @
84017c97
find_package
(
Doxygen
)
set
(
OPENMM_GENERATE_API_DOCS OFF CACHE BOOL
"Whether to create API documentation using Doxygen"
)
IF
(
DOXYGEN_FOUND
)
SET
(
DOXY_CONFIG
"
${
CMAKE_CURRENT_BINARY_DIR
}
/Doxyfile"
)
CONFIGURE_FILE
(
${
CMAKE_CURRENT_SOURCE_DIR
}
/docs/Doxyfile.in
${
DOXY_CONFIG
}
@ONLY
)
ADD_CUSTOM_COMMAND
(
OUTPUT
"
${
CMAKE_CURRENT_BINARY_DIR
}
/html/index.html"
COMMAND
${
DOXYGEN_EXECUTABLE
}
${
DOXY_CONFIG
}
WORKING_DIRECTORY
"
${
CMAKE_CURRENT_BINARY_DIR
}
"
COMMENT
"Generating API documentation using Doxygen"
SOURCES
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/docs/Doxyfile.in"
)
ADD_CUSTOM_TARGET
(
DoxygenApiDocs
COMMAND
${
DOXYGEN_EXECUTABLE
}
${
DOXY_CONFIG
}
WORKING_DIRECTORY
"
${
CMAKE_CURRENT_BINARY_DIR
}
"
COMMENT
"Generating API documentation using Doxygen"
SOURCES
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/docs/Doxyfile.in"
)
FILE
(
MAKE_DIRECTORY
"
${
PROJECT_BINARY_DIR
}
/html/"
)
IF
(
OPENMM_GENERATE_API_DOCS
)
INSTALL
(
DIRECTORY
"
${
PROJECT_BINARY_DIR
}
/html/"
DESTINATION
"docs/api/"
)
ENDIF
(
OPENMM_GENERATE_API_DOCS
)
ELSE
(
DOXYGEN_FOUND
)
ENDIF
(
DOXYGEN_FOUND
)
docs-source/CMakeLists.txt
View file @
9fb3f334
...
...
@@ -3,7 +3,8 @@
#
find_package
(
Doxygen QUIET
)
mark_as_advanced
(
CLEAR DOXYGEN_EXECUTABLE
)
set
(
OPENMM_GENERATE_API_DOCS OFF CACHE BOOL
"Whether to create API documentation using Doxygen"
)
IF
(
DOXYGEN_EXECUTABLE
)
# Generate C++ API documentation
IF
(
OPENMM_GENERATE_API_DOCS
)
...
...
docs-source/api-c++/CMakeLists.txt
View file @
9fb3f334
...
...
@@ -38,6 +38,7 @@ add_custom_command(
"
${
CMAKE_CURRENT_BINARY_DIR
}
/forces.rst.jinja2"
"
${
CMAKE_CURRENT_BINARY_DIR
}
/extras.rst.jinja2"
"
${
CMAKE_BINARY_DIR
}
/wrappers/python/src/swig_doxygen/doxygen/xml/index.xml"
RunSwig
)
add_custom_command
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment