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
cff5e3ee
Commit
cff5e3ee
authored
Sep 19, 2014
by
Maksim Shabunin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed java tests detection procedure
parent
d1fba068
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
3 deletions
+16
-3
CMakeLists.txt
CMakeLists.txt
+2
-1
CMakeLists.txt
modules/java/android_test/CMakeLists.txt
+7
-1
CMakeLists.txt
modules/java/test/CMakeLists.txt
+7
-1
No files found.
CMakeLists.txt
View file @
cff5e3ee
...
...
@@ -1043,7 +1043,8 @@ status(" ant:" ANT_EXECUTABLE THEN "${ANT_EXECUTABLE} (ver ${A
if
(
NOT ANDROID
)
status
(
" JNI:"
JNI_INCLUDE_DIRS THEN
"
${
JNI_INCLUDE_DIRS
}
"
ELSE NO
)
endif
()
status
(
" Java tests:"
BUILD_TESTS
AND
(
CAN_BUILD_ANDROID_PROJECTS OR HAVE_opencv_java
)
THEN YES ELSE NO
)
status
(
" Java wrappers:"
HAVE_opencv_java THEN YES ELSE NO
)
status
(
" Java tests:"
BUILD_TESTS AND opencv_test_java_BINARY_DIR THEN YES ELSE NO
)
# ========================= matlab =========================
status
(
""
)
...
...
modules/java/android_test/CMakeLists.txt
View file @
cff5e3ee
ocv_check_dependencies
(
opencv_java
${
OPENCV_MODULE_opencv_java_OPT_DEPS
}
${
OPENCV_MODULE_opencv_java_REQ_DEPS
}
)
# list of modules covered with tests
set
(
tested_modules opencv_calib3d opencv_core opencv_features2d opencv_highgui opencv_imgproc opencv_objdetect opencv_photo opencv_video opencv_android
)
# opencv_ml is broken
#list(APPEND tested_modules opencv_ml)
ocv_check_dependencies
(
opencv_java
${
tested_modules
}
)
if
(
NOT OCV_DEPENDENCIES_FOUND OR NOT ANT_EXECUTABLE OR NOT ANDROID_EXECUTABLE OR NOT ANDROID_TOOLS_Pkg_Revision GREATER 13
)
return
()
...
...
modules/java/test/CMakeLists.txt
View file @
cff5e3ee
ocv_check_dependencies
(
opencv_java
${
OPENCV_MODULE_opencv_java_OPT_DEPS
}
${
OPENCV_MODULE_opencv_java_REQ_DEPS
}
)
# list of modules covered with tests
set
(
tested_modules opencv_calib3d opencv_core opencv_features2d opencv_highgui opencv_imgproc opencv_objdetect opencv_photo opencv_video
)
# opencv_ml is broken
#list(APPEND tested_modules opencv_ml)
ocv_check_dependencies
(
opencv_java
${
tested_modules
}
)
if
(
NOT OCV_DEPENDENCIES_FOUND
)
return
()
...
...
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