2011-05-03 08:13:50 +00:00
|
|
|
if(ANDROID)
|
2011-04-11 14:47:06 +00:00
|
|
|
ADD_DEFINITIONS(-DGTEST_HAS_STD_WSTRING=0)
|
2011-05-03 08:13:50 +00:00
|
|
|
if(ANDROID_API_LEVEL LESS 8)
|
|
|
|
ADD_DEFINITIONS(-DGTEST_HAS_CLONE=0)
|
|
|
|
endif()
|
2011-04-11 14:47:06 +00:00
|
|
|
endif()
|
|
|
|
|
2010-05-11 17:44:00 +00:00
|
|
|
add_subdirectory(calib3d)
|
|
|
|
add_subdirectory(core)
|
|
|
|
add_subdirectory(features2d)
|
2010-10-12 19:47:50 +00:00
|
|
|
add_subdirectory(flann)
|
2010-05-11 17:44:00 +00:00
|
|
|
|
|
|
|
if(MSVC OR MINGW)
|
|
|
|
if(NOT CMAKE_CL_64)
|
|
|
|
add_subdirectory(ffmpeg)
|
|
|
|
endif()
|
|
|
|
endif()
|
|
|
|
|
2011-04-29 21:00:10 +00:00
|
|
|
if(BUILD_TESTS)
|
2011-04-30 10:38:24 +00:00
|
|
|
add_subdirectory(ts)
|
2011-04-29 21:00:10 +00:00
|
|
|
endif()
|
2010-05-11 17:44:00 +00:00
|
|
|
add_subdirectory(highgui)
|
|
|
|
add_subdirectory(imgproc)
|
|
|
|
add_subdirectory(legacy)
|
|
|
|
add_subdirectory(contrib)
|
|
|
|
add_subdirectory(ml)
|
|
|
|
add_subdirectory(objdetect)
|
|
|
|
|
|
|
|
if(PYTHONLIBS_FOUND AND BUILD_NEW_PYTHON_SUPPORT)
|
2011-04-30 10:38:24 +00:00
|
|
|
add_subdirectory(python)
|
2010-05-11 17:44:00 +00:00
|
|
|
endif()
|
|
|
|
|
|
|
|
add_subdirectory(video)
|
2011-04-06 14:31:03 +00:00
|
|
|
add_subdirectory(traincascade)
|
|
|
|
add_subdirectory(haartraining)
|
2010-09-22 02:16:33 +00:00
|
|
|
|
2010-09-24 11:33:06 +00:00
|
|
|
if(NOT ANDROID)
|
2011-04-30 10:38:24 +00:00
|
|
|
add_subdirectory(gpu)
|
2011-05-04 11:09:42 +00:00
|
|
|
add_subdirectory(stitching)
|
2010-09-22 02:16:33 +00:00
|
|
|
endif()
|