2011-05-03 10:13:50 +02:00
|
|
|
if(ANDROID)
|
2011-04-11 16:47:06 +02:00
|
|
|
ADD_DEFINITIONS(-DGTEST_HAS_STD_WSTRING=0)
|
2011-05-03 10:13:50 +02:00
|
|
|
if(ANDROID_API_LEVEL LESS 8)
|
|
|
|
ADD_DEFINITIONS(-DGTEST_HAS_CLONE=0)
|
|
|
|
endif()
|
2011-07-04 13:41:39 +02:00
|
|
|
|
|
|
|
IF(WITH_ANDROID_CAMERA)
|
|
|
|
add_subdirectory(androidcamera)
|
|
|
|
endif()
|
2011-04-11 16:47:06 +02:00
|
|
|
endif()
|
|
|
|
|
2010-05-11 19:44:00 +02:00
|
|
|
add_subdirectory(calib3d)
|
|
|
|
add_subdirectory(core)
|
|
|
|
add_subdirectory(features2d)
|
2010-10-12 21:47:50 +02:00
|
|
|
add_subdirectory(flann)
|
2010-05-11 19:44:00 +02:00
|
|
|
|
2011-04-29 23:00:10 +02:00
|
|
|
if(BUILD_TESTS)
|
2011-04-30 12:38:24 +02:00
|
|
|
add_subdirectory(ts)
|
2011-04-29 23:00:10 +02:00
|
|
|
endif()
|
2010-05-11 19:44:00 +02:00
|
|
|
add_subdirectory(highgui)
|
|
|
|
add_subdirectory(imgproc)
|
|
|
|
add_subdirectory(legacy)
|
|
|
|
add_subdirectory(contrib)
|
|
|
|
add_subdirectory(ml)
|
|
|
|
add_subdirectory(objdetect)
|
|
|
|
|
2011-07-12 14:56:03 +02:00
|
|
|
if(PYTHONLIBS_FOUND AND BUILD_NEW_PYTHON_SUPPORT AND PYTHON_USE_NUMPY)
|
2011-04-30 12:38:24 +02:00
|
|
|
add_subdirectory(python)
|
2010-05-11 19:44:00 +02:00
|
|
|
endif()
|
|
|
|
|
2011-06-24 09:48:04 +02:00
|
|
|
if(BUILD_JAVA_SUPPORT)
|
|
|
|
add_subdirectory(java)
|
|
|
|
endif()
|
|
|
|
|
2010-05-11 19:44:00 +02:00
|
|
|
add_subdirectory(video)
|
2011-08-23 13:19:58 +02:00
|
|
|
|
|
|
|
if(NOT IOS)
|
2011-04-06 16:31:03 +02:00
|
|
|
add_subdirectory(traincascade)
|
|
|
|
add_subdirectory(haartraining)
|
2011-08-23 13:19:58 +02:00
|
|
|
endif()
|
2010-09-22 04:16:33 +02:00
|
|
|
|
2011-08-23 13:19:58 +02:00
|
|
|
if(NOT (ANDROID OR IOS))
|
2011-04-30 12:38:24 +02:00
|
|
|
add_subdirectory(gpu)
|
2011-05-04 13:09:42 +02:00
|
|
|
add_subdirectory(stitching)
|
2010-09-22 04:16:33 +02:00
|
|
|
endif()
|