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
55567582
Commit
55567582
authored
Jun 26, 2012
by
Andrey Kamaev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added XIMEA support for linux (by Igor Kuzmin) #2085
parent
f9418853
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
11 deletions
+20
-11
CMakeLists.txt
CMakeLists.txt
+7
-7
OpenCVFindXimea.cmake
cmake/OpenCVFindXimea.cmake
+10
-3
CMakeLists.txt
modules/highgui/CMakeLists.txt
+3
-1
No files found.
CMakeLists.txt
View file @
55567582
...
...
@@ -116,14 +116,14 @@ OCV_OPTION(WITH_CUDA "Include NVidia Cuda Runtime support" ON
OCV_OPTION
(
WITH_CUFFT
"Include NVidia Cuda Fast Fourier Transform (FFT) library support"
ON
IF
(
CMAKE_VERSION VERSION_GREATER
"2.8"
AND NOT ANDROID AND NOT IOS
)
)
OCV_OPTION
(
WITH_EIGEN
"Include Eigen2/Eigen3 support"
ON
)
OCV_OPTION
(
WITH_FFMPEG
"Include FFMPEG support"
ON
IF
(
NOT ANDROID AND NOT IOS
)
)
OCV_OPTION
(
WITH_GSTREAMER
"Include Gstreamer support"
ON
IF
(
UNIX AND NOT APPLE AND NOT ANDROID
AND NOT IOS
)
)
OCV_OPTION
(
WITH_GTK
"Include GTK support"
ON
IF
(
UNIX AND NOT APPLE AND NOT ANDROID
AND NOT IOS
)
)
OCV_OPTION
(
WITH_GSTREAMER
"Include Gstreamer support"
ON
IF
(
UNIX AND NOT APPLE AND NOT ANDROID
)
)
OCV_OPTION
(
WITH_GTK
"Include GTK support"
ON
IF
(
UNIX AND NOT APPLE AND NOT ANDROID
)
)
OCV_OPTION
(
WITH_IMAGEIO
"ImageIO support for OS X"
OFF IF APPLE
)
OCV_OPTION
(
WITH_IPP
"Include Intel IPP support"
OFF
IF
(
MSVC OR X86 OR X86_64
)
)
OCV_OPTION
(
WITH_JASPER
"Include JPEG2K support"
ON
IF
(
NOT IOS
)
)
OCV_OPTION
(
WITH_JPEG
"Include JPEG support"
ON
IF
(
NOT IOS
)
)
OCV_OPTION
(
WITH_OPENEXR
"Include ILM support via OpenEXR"
ON
IF
(
NOT IOS
)
)
OCV_OPTION
(
WITH_OPENGL
"Include OpenGL support"
OFF
IF
(
NOT ANDROID AND NOT
IOS AND NOT
APPLE
)
)
OCV_OPTION
(
WITH_OPENGL
"Include OpenGL support"
OFF
IF
(
NOT ANDROID AND NOT APPLE
)
)
OCV_OPTION
(
WITH_OPENNI
"Include OpenNI support"
OFF
IF
(
NOT ANDROID AND NOT IOS
)
)
OCV_OPTION
(
WITH_PNG
"Include PNG support"
ON
IF
(
NOT IOS
)
)
OCV_OPTION
(
WITH_PVAPI
"Include Prosilica GigE support"
ON
IF
(
NOT ANDROID AND NOT IOS
)
)
...
...
@@ -131,11 +131,11 @@ OCV_OPTION(WITH_QT "Build with Qt Backend support" OFF
OCV_OPTION
(
WITH_QUICKTIME
"Use QuickTime for Video I/O insted of QTKit"
OFF IF APPLE
)
OCV_OPTION
(
WITH_TBB
"Include Intel TBB support"
OFF
IF
(
NOT IOS
)
)
OCV_OPTION
(
WITH_TIFF
"Include TIFF support"
ON
IF
(
NOT IOS
)
)
OCV_OPTION
(
WITH_UNICAP
"Include Unicap support (GPL)"
OFF
IF
(
UNIX AND NOT APPLE AND NOT ANDROID
AND NOT IOS
)
)
OCV_OPTION
(
WITH_V4L
"Include Video 4 Linux support"
ON
IF
(
UNIX AND NOT APPLE AND NOT ANDROID
AND NOT IOS
)
)
OCV_OPTION
(
WITH_UNICAP
"Include Unicap support (GPL)"
OFF
IF
(
UNIX AND NOT APPLE AND NOT ANDROID
)
)
OCV_OPTION
(
WITH_V4L
"Include Video 4 Linux support"
ON
IF
(
UNIX AND NOT APPLE AND NOT ANDROID
)
)
OCV_OPTION
(
WITH_VIDEOINPUT
"Build HighGUI with DirectShow support"
ON IF WIN32
)
OCV_OPTION
(
WITH_XIMEA
"Include XIMEA cameras support"
OFF IF
WIN32
)
OCV_OPTION
(
WITH_XINE
"Include Xine support (GPL)"
OFF
IF
(
UNIX AND NOT APPLE AND NOT ANDROID
AND NOT IOS
)
)
OCV_OPTION
(
WITH_XIMEA
"Include XIMEA cameras support"
OFF
IF
(
NOT ANDROID AND NOT APPLE
)
)
OCV_OPTION
(
WITH_XINE
"Include Xine support (GPL)"
OFF
IF
(
UNIX AND NOT APPLE AND NOT ANDROID
)
)
OCV_OPTION
(
WITH_CLP
"Include Clp support (EPL)"
OFF
)
# OpenCV build components
...
...
cmake/OpenCVFindXimea.cmake
View file @
55567582
...
...
@@ -8,6 +8,7 @@
# XIMEA_LIBRARY_DIR - XIMEA libraries folder
#
# Created: 5 Aug 2011 by Marian Zajko (marian.zajko@ximea.com)
# Updated: 25 June 2012 by Igor Kuzmin (parafin@ximea.com)
#
set
(
XIMEA_FOUND
)
...
...
@@ -20,10 +21,16 @@ if(WIN32)
if
(
EXISTS XIMEA_PATH
)
set
(
XIMEA_FOUND 1
)
# set LIB folders
set
(
XIMEA_LIBRARY_DIR
"
${
XIMEA_PATH
}
\\
x86"
)
set
(
XIMEA_LIBRARY_DIR
"
${
XIMEA_PATH
}
/x86"
)
else
()
set
(
XIMEA_FOUND 0
)
endif
()
else
()
if
(
EXISTS /opt/XIMEA
)
set
(
XIMEA_FOUND 1
)
# set folders
set
(
XIMEA_PATH /opt/XIMEA/include
)
else
()
set
(
XIMEA_FOUND 0
)
endif
()
...
...
modules/highgui/CMakeLists.txt
View file @
55567582
...
...
@@ -150,7 +150,9 @@ endif(HAVE_opencv_androidcamera)
if
(
HAVE_XIMEA
)
list
(
APPEND highgui_srcs src/cap_ximea.cpp
)
ocv_include_directories
(
${
XIMEA_PATH
}
)
link_directories
(
${
XIMEA_LIBRARY_DIR
}
)
if
(
XIMEA_LIBRARY_DIR
)
link_directories
(
${
XIMEA_LIBRARY_DIR
}
)
endif
()
list
(
APPEND HIGHGUI_LIBRARIES m3api
)
endif
(
HAVE_XIMEA
)
...
...
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