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
a1173dfa
Commit
a1173dfa
authored
9 years ago
by
Nils Plath
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added switch to CMakeLists.txt in order to enable/disable Matlab.
parent
aee03cd5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
5 deletions
+12
-5
CMakeLists.txt
CMakeLists.txt
+12
-5
No files found.
CMakeLists.txt
View file @
a1173dfa
...
...
@@ -207,6 +207,7 @@ OCV_OPTION(WITH_OPENCLAMDBLAS "Include AMD OpenCL BLAS library support" ON
OCV_OPTION
(
WITH_DIRECTX
"Include DirectX support"
ON
IF
(
WIN32 AND NOT WINRT
)
)
OCV_OPTION
(
WITH_INTELPERC
"Include Intel Perceptual Computing support"
OFF
IF
(
WIN32 AND NOT WINRT
)
)
OCV_OPTION
(
WITH_IPP_A
"Include Intel IPP_A support"
OFF
IF
(
MSVC OR X86 OR X86_64
)
)
OCV_OPTION
(
WITH_MATLAB
"Include Matlab support"
ON
IF
(
NOT ANDROID AND NOT IOS AND NOT WINRT
))
OCV_OPTION
(
WITH_VA
"Include VA support"
OFF
IF
(
UNIX AND NOT ANDROID
)
)
OCV_OPTION
(
WITH_VA_INTEL
"Include Intel VA-API/OpenCL support"
OFF
IF
(
UNIX AND NOT ANDROID
)
)
OCV_OPTION
(
WITH_GDAL
"Include GDAL Support"
OFF
IF
(
NOT ANDROID AND NOT IOS AND NOT WINRT
)
)
...
...
@@ -583,7 +584,9 @@ if(WITH_DIRECTX)
endif
()
# --- Matlab/Octave ---
include
(
cmake/OpenCVFindMatlab.cmake
)
if
(
WITH_MATLAB
)
include
(
cmake/OpenCVFindMatlab.cmake
)
endif
()
include
(
cmake/OpenCVDetectVTK.cmake
)
...
...
@@ -1175,10 +1178,14 @@ status(" Java tests:" BUILD_TESTS AND opencv_test_java_BINARY_DIR
# ========================= matlab =========================
status
(
""
)
status
(
" Matlab:"
)
status
(
" mex:"
MATLAB_MEX_SCRIPT THEN
"
${
MATLAB_MEX_SCRIPT
}
"
ELSE NO
)
if
(
MATLAB_FOUND
)
status
(
" Compiler/generator:"
MEX_WORKS THEN
"Working"
ELSE
"Not working (bindings will not be generated)"
)
if
(
WITH_MATLAB AND MATLAB_FOUND
)
status
(
" Matlab:"
)
status
(
" mex:"
MATLAB_MEX_SCRIPT THEN
"
${
MATLAB_MEX_SCRIPT
}
"
ELSE NO
)
if
(
MATLAB_FOUND
)
status
(
" Compiler/generator:"
MEX_WORKS THEN
"Working"
ELSE
"Not working (bindings will not be generated)"
)
endif
()
else
()
status
(
" Matlab:"
WITH_MATLAB AND NOT MATLAB_FOUND THEN
"Matlab not found or implicitly disabled"
ELSE NO
)
endif
()
# ========================== documentation ==========================
...
...
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