Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
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
opencv
Commits
e5468008
Commit
e5468008
authored
Dec 08, 2012
by
Alexander Smorkalov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Installation of documents fixed.
parent
7852b68c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
5 deletions
+21
-5
CMakeLists.txt
doc/CMakeLists.txt
+21
-5
No files found.
doc/CMakeLists.txt
View file @
e5468008
...
...
@@ -2,8 +2,6 @@
# CMake file for OpenCV docs
#
file
(
GLOB FILES_DOC *.htm *.txt *.jpg *.png *.pdf
)
file
(
GLOB FILES_DOC_VS vidsurv/*.doc
)
file
(
GLOB FILES_TEX *.tex *.sty *.bib
)
file
(
GLOB FILES_TEX_PICS pics/*.png pics/*.jpg
)
...
...
@@ -11,6 +9,14 @@ if(BUILD_DOCS AND HAVE_SPHINX)
project
(
opencv_docs
)
set
(
DOC_LIST
"
${
OpenCV_SOURCE_DIR
}
/doc/opencv-logo.png"
"
${
OpenCV_SOURCE_DIR
}
/doc/opencv-logo2.png"
"
${
OpenCV_SOURCE_DIR
}
/doc/opencv-logo-white.png"
"
${
OpenCV_SOURCE_DIR
}
/doc/opencv.ico"
"
${
OpenCV_SOURCE_DIR
}
/doc/haartraining.htm"
"
${
OpenCV_SOURCE_DIR
}
/doc/license.txt"
"
${
OpenCV_SOURCE_DIR
}
/doc/pattern.png"
"
${
OpenCV_SOURCE_DIR
}
/doc/acircles_pattern.png"
)
set
(
OPTIONAL_DOC_LIST
""
)
set
(
OPENCV2_BASE_MODULES core imgproc highgui video calib3d features2d objdetect ml flann gpu photo stitching nonfree contrib legacy
)
# build lists of modules to be documented
...
...
@@ -81,6 +87,9 @@ if(BUILD_DOCS AND HAVE_SPHINX)
COMMENT
"Generating the PDF Manuals"
)
LIST
(
APPEND OPTIONAL_DOC_LIST
"
${
CMAKE_BINARY_DIR
}
/doc/opencv2refman.pdf"
"
${
CMAKE_BINARY_DIR
}
/doc/opencv2manager.pdf"
"
${
CMAKE_BINARY_DIR
}
/doc/opencv_user.pdf"
"
${
CMAKE_BINARY_DIR
}
/doc/opencv_tutorials.pdf"
"
${
CMAKE_BINARY_DIR
}
/doc/opencv_cheatsheet.pdf"
)
if
(
ENABLE_SOLUTION_FOLDERS
)
set_target_properties
(
docs PROPERTIES FOLDER
"documentation"
)
endif
()
...
...
@@ -97,7 +106,13 @@ if(BUILD_DOCS AND HAVE_SPHINX)
if
(
ENABLE_SOLUTION_FOLDERS
)
set_target_properties
(
html_docs PROPERTIES FOLDER
"documentation"
)
endif
()
endif
()
install
(
FILES
${
FILES_DOC
}
DESTINATION
"
${
OPENCV_DOC_INSTALL_PATH
}
"
COMPONENT main
)
install
(
FILES
${
FILES_DOC_VS
}
DESTINATION
"
${
OPENCV_DOC_INSTALL_PATH
}
/vidsurv"
COMPONENT main
)
foreach
(
f
${
DOC_LIST
}
)
install
(
FILES
"
${
f
}
"
DESTINATION
"
${
OPENCV_DOC_INSTALL_PATH
}
"
COMPONENT main
)
endforeach
()
foreach
(
f
${
OPTIONAL_DOC_LIST
}
)
install
(
FILES
"
${
f
}
"
DESTINATION
"
${
OPENCV_DOC_INSTALL_PATH
}
"
OPTIONAL
)
endforeach
()
endif
()
\ No newline at end of file
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