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
61ca19f8
"platforms/cuda/vscode:/vscode.git/clone" did not exist on "d0a8058d39ff7b146df1f6734a961ec34d099d54"
Commit
61ca19f8
authored
Nov 04, 2015
by
Robert McGibbon
Browse files
Fix cmake
parent
019480d6
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
docs-source/CMakeLists.txt
docs-source/CMakeLists.txt
+3
-4
docs-source/api-python/CMakeLists.txt
docs-source/api-python/CMakeLists.txt
+1
-1
No files found.
docs-source/CMakeLists.txt
View file @
61ca19f8
...
...
@@ -40,16 +40,15 @@ IF(DOXYGEN_EXECUTABLE)
${
OPENMM_INCLUDES
}
${
OLLA_INCLUDES
}
)
set
(
OPENMM_GENERATE_API_DOCS OFF CACHE BOOL
"Whether to create API documentation
using Doxygen
"
)
set
(
OPENMM_GENERATE_API_DOCS OFF CACHE BOOL
"Whether to create API documentation"
)
IF
(
OPENMM_GENERATE_API_DOCS
)
SET_TARGET_PROPERTIES
(
DoxygenApiDocs PROPERTIES EXCLUDE_FROM_ALL FALSE
)
ENDIF
(
OPENMM_GENERATE_API_DOCS
)
# Generate Python API documentation
IF
(
OPENMM_BUILD_PYTHON_WRAPPERS
)
IF
(
OPENMM_BUILD_PYTHON_WRAPPERS AND OPENMM_GENERATE_API_DOCS
)
ADD_SUBDIRECTORY
(
api-python
)
ENDIF
(
OPENMM_BUILD_PYTHON_WRAPPERS
)
ENDIF
(
OPENMM_BUILD_PYTHON_WRAPPERS
AND OPENMM_GENERATE_API_DOCS
)
ENDIF
(
DOXYGEN_EXECUTABLE
)
...
...
docs-source/api-python/CMakeLists.txt
View file @
61ca19f8
...
...
@@ -44,7 +44,7 @@ add_custom_command(
"
${
CMAKE_CURRENT_BINARY_DIR
}
/_templates/class.rst"
# PythonInstall
)
file
(
MAKE_DIRECTORY
${
CMAKE_BINARY_DIR
}
/api-python/
)
add_custom_target
(
PythonApiDocs DEPENDS
${
CMAKE_BINARY_DIR
}
/api-python/index.html
)
INSTALL
(
DIRECTORY
"
${
CMAKE_BINARY_DIR
}
/api-python/"
DESTINATION
"docs/api-python/"
)
...
...
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