2012-05-13 09:34:33 +00:00
|
|
|
set(the_description "The ts module")
|
|
|
|
|
2012-02-03 11:26:49 +00:00
|
|
|
if(IOS)
|
|
|
|
ocv_module_disable(ts)
|
|
|
|
endif()
|
2012-01-25 09:04:49 +00:00
|
|
|
|
2012-02-03 11:26:49 +00:00
|
|
|
if(MINGW)
|
2012-04-13 21:50:59 +00:00
|
|
|
set(OPENCV_MODULE_TYPE STATIC)
|
2012-02-03 11:26:49 +00:00
|
|
|
endif()
|
2012-05-13 09:34:33 +00:00
|
|
|
|
|
|
|
set(OPENCV_MODULE_IS_PART_OF_WORLD FALSE)
|
2012-06-12 14:46:12 +00:00
|
|
|
|
2012-10-09 18:37:26 +04:00
|
|
|
ocv_add_module(ts opencv_core opencv_features2d)
|
|
|
|
|
2012-02-03 11:26:49 +00:00
|
|
|
ocv_glob_module_sources()
|
|
|
|
ocv_module_include_directories()
|
|
|
|
ocv_create_module()
|
2012-01-24 16:55:47 +00:00
|
|
|
|
2012-02-03 11:26:49 +00:00
|
|
|
if(BUILD_SHARED_LIBS AND NOT MINGW)
|
2012-04-13 21:50:59 +00:00
|
|
|
add_definitions(-DGTEST_CREATE_SHARED_LIBRARY=1)
|
2012-02-03 11:26:49 +00:00
|
|
|
else()
|
2012-04-13 21:50:59 +00:00
|
|
|
add_definitions(-DGTEST_CREATE_SHARED_LIBRARY=0)
|
2012-01-24 16:55:47 +00:00
|
|
|
endif()
|
2012-02-03 11:26:49 +00:00
|
|
|
|
|
|
|
ocv_add_precompiled_headers(${the_module})
|