Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
N
ngraph
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ngraph
Commits
0a2f9597
Unverified
Commit
0a2f9597
authored
Mar 23, 2020
by
Robert Kimball
Committed by
GitHub
Mar 23, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanup doc cmake files (#4473)
parent
81d97948
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
8 deletions
+10
-8
CMakeLists.txt
doc/CMakeLists.txt
+5
-5
CMakeLists.txt
doc/doxygen/CMakeLists.txt
+5
-3
No files found.
doc/CMakeLists.txt
View file @
0a2f9597
...
...
@@ -16,15 +16,15 @@
add_subdirectory
(
examples
)
if
(
"
${
NGRAPH_DOC_BUILD_ENABLE
}
"
MATCHES
"^ON$"
)
add_custom_target
(
docs
if
(
NGRAPH_DOC_BUILD_ENABLE
)
add_custom_target
(
docs
COMMENT
"Build all of the documentation types selected during CMake configuration."
)
add_subdirectory
(
doxygen
)
add_subdirectory
(
sphinx
)
add_subdirectory
(
doxygen
)
add_subdirectory
(
sphinx
)
else
()
add_custom_target
(
docs
add_custom_target
(
docs
COMMAND echo
COMMAND echo
"The 'docs' target is disabled. To enable the building of documentation, re-run cmake with the option -DNGRAPH_DOC_BUILD_ENABLE=ON."
COMMAND echo
...
...
doc/doxygen/CMakeLists.txt
View file @
0a2f9597
...
...
@@ -15,14 +15,16 @@
# ******************************************************************************
find_package
(
Doxygen REQUIRED
)
# include(FetchContent)
# include(${CMAKE_SOURCE_DIR}/cmake/doxygen.cmake)
if
(
"
${
NGRAPH_DOXYGEN_WARN_IF_UNDOCUMENTED
}
"
MATCHES
"^ON$"
)
if
(
NGRAPH_DOXYGEN_WARN_IF_UNDOCUMENTED
)
set
(
DOXYGEN_WARN_IF_UNDOCUMENTED YES
)
else
()
set
(
DOXYGEN_WARN_IF_UNDOCUMENTED NO
)
endif
()
if
(
"
${
NGRAPH_DOXYGEN_QUIET
}
"
MATCHES
"^ON$"
)
if
(
NGRAPH_DOXYGEN_QUIET
)
set
(
DOXYGEN_QUIET YES
)
else
()
set
(
DOXYGEN_QUIET NO
)
...
...
@@ -39,7 +41,7 @@ add_custom_target(doxygen-docs
COMMENT
"Generating documentation with Doxygen"
VERBATIM
)
add_dependencies
(
docs doxygen-docs
)
add_dependencies
(
docs doxygen-docs
)
install
(
DIRECTORY
"
${
CMAKE_CURRENT_BINARY_DIR
}
/html/"
...
...
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