mirror of
https://github.com/opencv/opencv.git
synced 2024-12-22 14:47:59 +08:00
c122b7e114
Enable tests for Android by default.
38 lines
722 B
CMake
38 lines
722 B
CMake
if (ANDROID)
|
|
ADD_DEFINITIONS(-DGTEST_HAS_STD_WSTRING=0)
|
|
ADD_DEFINITIONS(-DGTEST_HAS_CLONE=0)
|
|
endif()
|
|
|
|
add_subdirectory(calib3d)
|
|
add_subdirectory(core)
|
|
add_subdirectory(features2d)
|
|
add_subdirectory(flann)
|
|
|
|
if(MSVC OR MINGW)
|
|
if(NOT CMAKE_CL_64)
|
|
add_subdirectory(ffmpeg)
|
|
endif()
|
|
endif()
|
|
|
|
if(BUILD_TESTS)
|
|
add_subdirectory(ts)
|
|
endif()
|
|
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)
|
|
add_subdirectory(python)
|
|
endif()
|
|
|
|
add_subdirectory(video)
|
|
add_subdirectory(traincascade)
|
|
add_subdirectory(haartraining)
|
|
|
|
if(NOT ANDROID)
|
|
add_subdirectory(gpu)
|
|
endif()
|