2012-05-13 09:34:33 +00:00
|
|
|
set(the_description "The ts module")
|
|
|
|
|
2015-05-18 11:57:18 +03:00
|
|
|
if(IOS)
|
2012-02-03 11:26:49 +00:00
|
|
|
ocv_module_disable(ts)
|
|
|
|
endif()
|
2012-01-25 09:04:49 +00:00
|
|
|
|
2013-08-06 17:56:25 +04:00
|
|
|
set(OPENCV_MODULE_TYPE STATIC)
|
2012-05-13 09:34:33 +00:00
|
|
|
set(OPENCV_MODULE_IS_PART_OF_WORLD FALSE)
|
2012-06-12 14:46:12 +00:00
|
|
|
|
2015-05-18 11:57:18 +03:00
|
|
|
if(WINRT)
|
|
|
|
# WINRT doesn't have access to environment variables
|
|
|
|
# so adding corresponding macros during CMake run
|
|
|
|
add_env_definitions(OPENCV_TEST_DATA_PATH)
|
|
|
|
add_env_definitions(OPENCV_PERF_VALIDATION_DIR)
|
|
|
|
endif()
|
|
|
|
|
2013-03-15 17:58:18 +04:00
|
|
|
ocv_warnings_disable(CMAKE_CXX_FLAGS -Wundef)
|
|
|
|
|
2015-05-19 16:15:54 +03:00
|
|
|
ocv_add_module(ts INTERNAL opencv_core opencv_imgproc opencv_imgcodecs opencv_videoio opencv_highgui)
|
2012-10-09 18:37:26 +04:00
|
|
|
|
2012-02-03 11:26:49 +00:00
|
|
|
ocv_glob_module_sources()
|
|
|
|
ocv_module_include_directories()
|
|
|
|
ocv_create_module()
|