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
73704ed0
Commit
73704ed0
authored
Sep 11, 2017
by
Adam Procter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update README.md to document make doc; remove make doc from default targets; clean up doc CMakeList
parent
ffe85534
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
5 deletions
+7
-5
README.md
README.md
+4
-2
CMakeLists.txt
doc/CMakeLists.txt
+2
-2
Doxyfile.in
doc/Doxyfile.in
+1
-1
No files found.
README.md
View file @
73704ed0
...
...
@@ -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
View file @
73704ed0
...
...
@@ -2,9 +2,9 @@ find_package(Doxygen)
if
(
DOXYGEN_FOUND
)
set
(
DOXYGEN_IN
${
CMAKE_CURRENT_SOURCE_DIR
}
/Doxyfile.in
)
set
(
DOXYGEN_OUT
${
CMAKE_CURRENT_BINARY_DIR
}
/
doc/
Doxyfile
)
set
(
DOXYGEN_OUT
${
CMAKE_CURRENT_BINARY_DIR
}
/Doxyfile
)
configure_file
(
${
DOXYGEN_IN
}
${
DOXYGEN_OUT
}
@ONLY
)
add_custom_target
(
doc ALL
add_custom_target
(
doc
COMMAND
${
DOXYGEN_EXECUTABLE
}
${
DOXYGEN_OUT
}
WORKING_DIRECTORY
${
CMAKE_CURRENT_BINARY_DIR
}
COMMENT
"Generating documentation with Doxygen"
...
...
doc/Doxyfile.in
View file @
73704ed0
...
...
@@ -2,6 +2,6 @@ PROJECT_NAME = "ngraph++"
PROJECT_BRIEF = "Nervana graph compiler"
OUTPUT_DIRECTORY = @CMAKE_CURRENT_BINARY_DIR@
INPUT = @CMAKE_
CURRENT_SOURCE_DIR@/..
/src
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