Starting writing Matlab testing framework

This commit is contained in:
hbristow
2013-06-19 15:04:52 +10:00
parent 31415e344f
commit bbece095fb
8 changed files with 137 additions and 13 deletions

View File

@@ -46,14 +46,16 @@ ocv_add_module(matlab BINDINGS opencv_core opencv_imgproc
opencv_highgui opencv_ml opencv_calib3d opencv_photo
opencv_nonfree opencv_calib)
set(HDR_PARSER_PATH ${OPENCV_MODULE_opencv_python_LOCATION}/src2)
# get the include path of the Bridge
prepend("-I" MEX_INCLUDES ${CMAKE_CURRENT_SOURCE_DIR}/include)
if (BUILD_TESTS)
add_subdirectory(test)
endif()
# ----------------------------------------------------------------------------
# Configure time components
# ----------------------------------------------------------------------------
set(HDR_PARSER_PATH ${OPENCV_MODULE_opencv_python_LOCATION}/src2)
prepend("-I" MEX_INCLUDES ${CMAKE_CURRENT_SOURCE_DIR}/include)
message("-- Trying to generate Matlab code")
execute_process(
COMMAND ${PYTHON_EXECUTABLE}
@@ -124,3 +126,7 @@ foreach(SOURCE_FILE ${SOURCE_FILES})
DEPENDS opencv_matlab_sources
)
endforeach()
# ----------------------------------------------------------------------------
# Install time components
# ----------------------------------------------------------------------------