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
Commit
61ca19f8
authored
Nov 04, 2015
by
Robert McGibbon
Browse files
Fix cmake
parent
019480d6
Changes
2
Hide 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)
...
@@ -40,16 +40,15 @@ IF(DOXYGEN_EXECUTABLE)
${
OPENMM_INCLUDES
}
${
OPENMM_INCLUDES
}
${
OLLA_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
)
IF
(
OPENMM_GENERATE_API_DOCS
)
SET_TARGET_PROPERTIES
(
DoxygenApiDocs PROPERTIES EXCLUDE_FROM_ALL FALSE
)
SET_TARGET_PROPERTIES
(
DoxygenApiDocs PROPERTIES EXCLUDE_FROM_ALL FALSE
)
ENDIF
(
OPENMM_GENERATE_API_DOCS
)
ENDIF
(
OPENMM_GENERATE_API_DOCS
)
# Generate Python API documentation
# Generate Python API documentation
IF
(
OPENMM_BUILD_PYTHON_WRAPPERS AND OPENMM_GENERATE_API_DOCS
)
IF
(
OPENMM_BUILD_PYTHON_WRAPPERS
)
ADD_SUBDIRECTORY
(
api-python
)
ADD_SUBDIRECTORY
(
api-python
)
ENDIF
(
OPENMM_BUILD_PYTHON_WRAPPERS
)
ENDIF
(
OPENMM_BUILD_PYTHON_WRAPPERS
AND OPENMM_GENERATE_API_DOCS
)
ENDIF
(
DOXYGEN_EXECUTABLE
)
ENDIF
(
DOXYGEN_EXECUTABLE
)
...
...
docs-source/api-python/CMakeLists.txt
View file @
61ca19f8
...
@@ -44,7 +44,7 @@ add_custom_command(
...
@@ -44,7 +44,7 @@ add_custom_command(
"
${
CMAKE_CURRENT_BINARY_DIR
}
/_templates/class.rst"
"
${
CMAKE_CURRENT_BINARY_DIR
}
/_templates/class.rst"
# PythonInstall
# PythonInstall
)
)
file
(
MAKE_DIRECTORY
${
CMAKE_BINARY_DIR
}
/api-python/
)
add_custom_target
(
PythonApiDocs DEPENDS
${
CMAKE_BINARY_DIR
}
/api-python/index.html
)
add_custom_target
(
PythonApiDocs DEPENDS
${
CMAKE_BINARY_DIR
}
/api-python/index.html
)
INSTALL
(
DIRECTORY
"
${
CMAKE_BINARY_DIR
}
/api-python/"
INSTALL
(
DIRECTORY
"
${
CMAKE_BINARY_DIR
}
/api-python/"
DESTINATION
"docs/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