Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
nghttp2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
nghttp2
Commits
15adc232
Commit
15adc232
authored
Feb 13, 2016
by
Peter Wu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmake: working doc (sphinx-build), out-of-tree!
parent
a2ec695e
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
320 additions
and
3 deletions
+320
-3
CMakeLists.txt
CMakeLists.txt
+8
-3
doc/CMakeLists.txt
doc/CMakeLists.txt
+312
-0
No files found.
CMakeLists.txt
View file @
15adc232
...
@@ -64,9 +64,10 @@ set(CYTHON_PATH "" CACHE PATH "Use cython in given path")
...
@@ -64,9 +64,10 @@ set(CYTHON_PATH "" CACHE PATH "Use cython in given path")
set
(
CYTHON
""
CACHE FILEPATH
"The Cython executable"
)
set
(
CYTHON
""
CACHE FILEPATH
"The Cython executable"
)
find_package
(
PkgConfig 0.20
)
find_package
(
PkgConfig 0.20
)
# For Python bindings and documentation
find_package
(
PythonInterp
)
# XXX fail only when "ON" instead of "CHECK"?
# XXX fail only when "ON" instead of "CHECK"?
if
(
ENABLE_PYTHON_BINDINGS
)
if
(
ENABLE_PYTHON_BINDINGS
)
find_package
(
PythonInterp REQUIRED
)
endif
()
endif
()
# AM_PATH_PYTHON([2.7],, [:])
# AM_PATH_PYTHON([2.7],, [:])
...
@@ -456,8 +457,10 @@ endif()
...
@@ -456,8 +457,10 @@ endif()
add_definitions
(
-DHAVE_CONFIG_H
)
add_definitions
(
-DHAVE_CONFIG_H
)
configure_file
(
cmakeconfig.h.in config.h
)
configure_file
(
cmakeconfig.h.in config.h
)
# autotools-compatible names
# autotools-compatible names
set
(
top_srcdir
"
${
CMAKE_SOURCE_DIR
}
"
)
# Sphinx expects relative paths in the .rst files. Use the fact that the files
set
(
top_builddir
"
${
CMAKE_BINARY_DIR
}
"
)
# below are all one directory level deep.
file
(
RELATIVE_PATH top_srcdir
"
${
CMAKE_BINARY_DIR
}
/dir"
"
${
CMAKE_SOURCE_DIR
}
"
)
file
(
RELATIVE_PATH top_builddir
"
${
CMAKE_BINARY_DIR
}
/dir"
"
${
CMAKE_BINARY_DIR
}
"
)
set
(
abs_top_srcdir
"
${
CMAKE_SOURCE_DIR
}
"
)
set
(
abs_top_srcdir
"
${
CMAKE_SOURCE_DIR
}
"
)
set
(
abs_top_builddir
"
${
CMAKE_BINARY_DIR
}
"
)
set
(
abs_top_builddir
"
${
CMAKE_BINARY_DIR
}
"
)
# libnghttp2.pc (pkg-config file)
# libnghttp2.pc (pkg-config file)
...
@@ -514,7 +517,9 @@ if(0)
...
@@ -514,7 +517,9 @@ if(0)
add_subdirectory
(
tests
)
add_subdirectory
(
tests
)
#add_subdirectory(tests/testdata)
#add_subdirectory(tests/testdata)
add_subdirectory
(
integration-tests
)
add_subdirectory
(
integration-tests
)
endif
()
add_subdirectory
(
doc
)
add_subdirectory
(
doc
)
if
(
0
)
add_subdirectory
(
contrib
)
add_subdirectory
(
contrib
)
add_subdirectory
(
script
)
add_subdirectory
(
script
)
endif
()
endif
()
...
...
doc/CMakeLists.txt
0 → 100644
View file @
15adc232
This diff is collapsed.
Click to expand it.
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