2011-04-11 22:47:06 +08:00
|
|
|
if (ANDROID)
|
|
|
|
ADD_DEFINITIONS(-DGTEST_HAS_STD_WSTRING=0)
|
2011-04-30 18:38:24 +08:00
|
|
|
ADD_DEFINITIONS(-DGTEST_HAS_CLONE=0)
|
2011-04-11 22:47:06 +08:00
|
|
|
endif()
|
|
|
|
|
2010-05-12 01:44:00 +08:00
|
|
|
add_subdirectory(calib3d)
|
|
|
|
add_subdirectory(core)
|
|
|
|
add_subdirectory(features2d)
|
2010-10-13 03:47:50 +08:00
|
|
|
add_subdirectory(flann)
|
2010-05-12 01:44:00 +08:00
|
|
|
|
|
|
|
if(MSVC OR MINGW)
|
|
|
|
if(NOT CMAKE_CL_64)
|
|
|
|
add_subdirectory(ffmpeg)
|
|
|
|
endif()
|
|
|
|
endif()
|
|
|
|
|
2011-04-30 05:00:10 +08:00
|
|
|
if(BUILD_TESTS)
|
2011-04-30 18:38:24 +08:00
|
|
|
add_subdirectory(ts)
|
2011-04-30 05:00:10 +08:00
|
|
|
endif()
|
2010-05-12 01:44:00 +08: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 18:38:24 +08:00
|
|
|
add_subdirectory(python)
|
2010-05-12 01:44:00 +08:00
|
|
|
endif()
|
|
|
|
|
|
|
|
add_subdirectory(video)
|
2011-04-06 22:31:03 +08:00
|
|
|
add_subdirectory(traincascade)
|
|
|
|
add_subdirectory(haartraining)
|
2010-09-22 10:16:33 +08:00
|
|
|
|
2010-09-24 19:33:06 +08:00
|
|
|
if(NOT ANDROID)
|
2011-04-30 18:38:24 +08:00
|
|
|
add_subdirectory(gpu)
|
2010-09-22 10:16:33 +08:00
|
|
|
endif()
|