How to exclude some opencv modules from libopencv_java3.so
In my android application, we only use very basic stuffs from core. I was wondering how to exclude other modules from libopencv_java3.so, so that we can make our app much smaller.
Best, Wayne
rebuild opencv and in cmake command line add -DBUILD_opencv_apps=OFF -DBUILD_opencv_calib3=OFF... and so on except -DBUILD_opencv_core=ON
This one works for me. Thanks a lot! Wayne
I think BUILD_LIST is a good answer too but you will need opencv >3.x (x=4 @berak?)