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
826ce031
Commit
826ce031
authored
Sep 11, 2017
by
Robert Kimball
Committed by
GitHub
Sep 11, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #101 from NervanaSystems/aprocter/doxygen
Add Doxygen support
parents
f1608316
4442777f
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
27 additions
and
2 deletions
+27
-2
CMakeLists.txt
CMakeLists.txt
+2
-0
README.md
README.md
+4
-2
CMakeLists.txt
doc/CMakeLists.txt
+14
-0
Doxyfile.in
doc/Doxyfile.in
+7
-0
No files found.
CMakeLists.txt
View file @
826ce031
...
...
@@ -59,3 +59,5 @@ add_subdirectory(src)
add_subdirectory
(
test
)
add_subdirectory
(
doc
)
README.md
View file @
826ce031
...
...
@@ -18,8 +18,10 @@ TODO
2.
`cd`
to the build directory.
3.
Run
`cmake`
. For example,
`cmake ../`
4.
Run
`make -j8`
.
5.
Run
`make install`
6.
This will install the libngraph.so and the header files to your home directory/ngraph_dist.
5.
Run
`make install`
.
*
This will install
`libngraph.so`
and the header files to
`$HOME/ngraph_dist`
.
6.
_(Optional, requires
`doxygen`
)_ Run
`make doc`
.
*
This will build API documentation in the directory
`doc`
inside the build directory.
# Testing `libngraph`
...
...
doc/CMakeLists.txt
0 → 100644
View file @
826ce031
find_package
(
Doxygen
)
if
(
DOXYGEN_FOUND
)
set
(
DOXYGEN_IN
${
CMAKE_CURRENT_SOURCE_DIR
}
/Doxyfile.in
)
set
(
DOXYGEN_OUT
${
CMAKE_CURRENT_BINARY_DIR
}
/Doxyfile
)
configure_file
(
${
DOXYGEN_IN
}
${
DOXYGEN_OUT
}
@ONLY
)
add_custom_target
(
doc
COMMAND
${
DOXYGEN_EXECUTABLE
}
${
DOXYGEN_OUT
}
WORKING_DIRECTORY
${
CMAKE_CURRENT_BINARY_DIR
}
COMMENT
"Generating documentation with Doxygen"
VERBATIM
)
else
(
DOXYGEN_FOUND
)
message
(
"Doxygen not found, cannot build documentation"
)
endif
(
DOXYGEN_FOUND
)
doc/Doxyfile.in
0 → 100644
View file @
826ce031
PROJECT_NAME = "ngraph++"
PROJECT_BRIEF = "Nervana graph compiler"
OUTPUT_DIRECTORY = @CMAKE_CURRENT_BINARY_DIR@
INPUT = @CMAKE_SOURCE_DIR@/src
RECURSIVE = YES
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