Ask Your Question
0

How to enable $module_name/test/ocl/*.cpp for video module

asked 2019-02-25 20:51:24 -0600

Some modules have the folder, module_name/test/ocl/, but these source code under the ocl/ won't be built by default.

I checked the OpenCVModule.cmake, seems only the test/*.cpp would be find as test source code.

How to enable these? Is there any document for detail info? Thanks a lot.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2019-02-26 01:28:13 -0600

LBerger gravatar image

updated 2019-02-26 01:35:14 -0600

in cmake you must add on the command line (or set checkbox in cmake-gui) -DBUILD_PERF_TESTS:BOOL=ON -DBUILD_TESTS:BOOL=ON and rebuild opencv. In build repo you will be able to find opencv_perf* or opencv_test* executable

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2019-02-25 20:51:24 -0600

Seen: 101 times

Last updated: Feb 26 '19