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
9600ebad
Commit
9600ebad
authored
Jun 22, 2011
by
Andrey Kamaev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Main CMakeLists.txt merged with 2.3 branch
parent
76bc9f8c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
22 deletions
+16
-22
CMakeLists.txt
CMakeLists.txt
+16
-22
No files found.
CMakeLists.txt
View file @
9600ebad
...
@@ -90,7 +90,7 @@ endif()
...
@@ -90,7 +90,7 @@ endif()
# ----------------------------------------------------------------------------
# ----------------------------------------------------------------------------
# Current version number:
# Current version number:
# ----------------------------------------------------------------------------
# ----------------------------------------------------------------------------
set
(
OPENCV_VERSION
"2.
2.9
"
)
set
(
OPENCV_VERSION
"2.
3.0
"
)
string
(
REGEX MATCHALL
"[0-9]"
OPENCV_VERSION_PARTS
"
${
OPENCV_VERSION
}
"
)
string
(
REGEX MATCHALL
"[0-9]"
OPENCV_VERSION_PARTS
"
${
OPENCV_VERSION
}
"
)
...
@@ -577,8 +577,12 @@ if(WITH_OPENEXR)
...
@@ -577,8 +577,12 @@ if(WITH_OPENEXR)
include
(
OpenCVFindOpenEXR.cmake
)
include
(
OpenCVFindOpenEXR.cmake
)
endif
()
endif
()
# Python support
set
(
BUILD_DOCS ON CACHE BOOL
"Build OpenCV Documentation"
)
# ===================================================
if
(
BUILD_DOCS
)
include
(
OpenCVFindLATEX.cmake REQUIRED
)
endif
()
set
(
BUILD_NEW_PYTHON_SUPPORT ON CACHE BOOL
"Build with Python support"
)
set
(
BUILD_NEW_PYTHON_SUPPORT ON CACHE BOOL
"Build with Python support"
)
if
(
WIN32
)
if
(
WIN32
)
...
@@ -629,7 +633,7 @@ if(PYTHON_NUMPY_PROCESS EQUAL 0)
...
@@ -629,7 +633,7 @@ if(PYTHON_NUMPY_PROCESS EQUAL 0)
set
(
PYTHON_USE_NUMPY 1
)
set
(
PYTHON_USE_NUMPY 1
)
add_definitions
(
-D PYTHON_USE_NUMPY=1
)
add_definitions
(
-D PYTHON_USE_NUMPY=1
)
include_directories
(
AFTER
${
PYTHON_NUMPY_INCLUDE_DIRS
}
)
include_directories
(
AFTER
${
PYTHON_NUMPY_INCLUDE_DIRS
}
)
message
(
STATUS
" Use
INCLUDE
:
${
PYTHON_NUMPY_INCLUDE_DIRS
}
"
)
message
(
STATUS
" Use
NumPy headers from
:
${
PYTHON_NUMPY_INCLUDE_DIRS
}
"
)
else
()
else
()
set
(
PYTHON_USE_NUMPY 0
)
set
(
PYTHON_USE_NUMPY 0
)
endif
()
endif
()
...
@@ -648,6 +652,7 @@ if(SPHINX_PROCESS EQUAL 0)
...
@@ -648,6 +652,7 @@ if(SPHINX_PROCESS EQUAL 0)
endif
()
endif
()
endif
()
endif
()
#YV
#YV
############################### QT ################################
############################### QT ################################
...
@@ -902,9 +907,6 @@ libnative_camera_rx.x.x.so for your Android")
...
@@ -902,9 +907,6 @@ libnative_camera_rx.x.x.so for your Android")
endif
()
endif
()
endif
()
endif
()
################## Reference Manual ##################
set
(
BUILD_DOCS ON CACHE BOOL
"Build OpenCV Reference Manual"
)
################### DOXYGEN ###############
################### DOXYGEN ###############
...
@@ -1379,11 +1381,17 @@ if(BUILD_PACKAGE)
...
@@ -1379,11 +1381,17 @@ if(BUILD_PACKAGE)
endif
()
endif
()
install
(
DIRECTORY data samples DESTINATION
"."
COMPONENT main PATTERN
".svn"
EXCLUDE
)
install
(
DIRECTORY data samples DESTINATION
"."
COMPONENT main PATTERN
".svn"
EXCLUDE
)
install
(
DIRECTORY 3rdparty android modules
tests
doc DESTINATION
"."
COMPONENT src PATTERN
".svn"
EXCLUDE
)
install
(
DIRECTORY 3rdparty android modules doc DESTINATION
"."
COMPONENT src PATTERN
".svn"
EXCLUDE
)
#install(DIRECTORY doc DESTINATION doc COMPONENT src FILES_MATCHING PATTERN "*.rst" "*.tex")
#install(DIRECTORY doc DESTINATION doc COMPONENT src FILES_MATCHING PATTERN "*.rst" "*.tex")
#install(DIRECTORY doc/pics DESTINATION doc COMPONENT src PATTERN ".svn" EXCLUDE)
#install(DIRECTORY doc/pics DESTINATION doc COMPONENT src PATTERN ".svn" EXCLUDE)
#install(DIRECTORY doc/latex2sphinx DESTINATION doc COMPONENT src PATTERN ".svn" EXCLUDE)
#install(DIRECTORY doc/latex2sphinx DESTINATION doc COMPONENT src PATTERN ".svn" EXCLUDE)
# install TBB dlls
if
(
WIN32 AND HAVE_TBB
)
string
(
REGEX REPLACE
"/lib"
"/bin"
TBB_DLL_DIR
"
${
TBB_LIB_DIR
}
"
)
install
(
PROGRAMS
"
${
TBB_DLL_DIR
}
/tbb.dll"
DESTINATION bin COMPONENT main
)
install
(
PROGRAMS
"
${
TBB_DLL_DIR
}
/tbb_debug.dll"
DESTINATION bin COMPONENT main
)
endif
()
endif
()
endif
()
endif
()
endif
()
...
@@ -1406,15 +1414,6 @@ endif()
...
@@ -1406,15 +1414,6 @@ endif()
#-----------------------------------
#-----------------------------------
add_subdirectory
(
include
)
add_subdirectory
(
include
)
add_subdirectory
(
modules
)
add_subdirectory
(
modules
)
if
(
BUILD_DOCS
)
include
(
OpenCVFindLATEX.cmake REQUIRED
)
if
(
PDFLATEX_COMPILER
)
message
(
STATUS
"PDF LaTeX found!"
)
endif
()
endif
()
add_subdirectory
(
doc
)
add_subdirectory
(
doc
)
add_subdirectory
(
data
)
add_subdirectory
(
data
)
...
@@ -1422,11 +1421,6 @@ if(BUILD_EXAMPLES OR INSTALL_PYTHON_EXAMPLES)
...
@@ -1422,11 +1421,6 @@ if(BUILD_EXAMPLES OR INSTALL_PYTHON_EXAMPLES)
add_subdirectory
(
samples
)
add_subdirectory
(
samples
)
endif
()
endif
()
#if(BUILD_TESTS)
# enable_testing()
# add_subdirectory(tests)
#endif()
add_subdirectory
(
3rdparty
)
add_subdirectory
(
3rdparty
)
...
...
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