to compile opencv without unused modules;
copy options/opencv_options.txt to opencv directory
then run cmake with:
cmake -C opencv_options.txt ...
Note: opencv_options.txt contains only excluded modules. Other cmake configurations should be provided by the developer. (build directory etc.)
To build opencv library for various platform with excluded modules
go to github actions tab
then select the build action
- 1 - open manuel event trigger panel
- 2 - select branch
- 3 - type opencv version tag
- 4 - start the workflow
If the build failed you need to remove the last inserted tag and release if you want to rebuild the same library with the same version.
- 4.4.0 failed (ios build script error)
- 3.4.16 failed (ios build script error)
- 4.5.0 failed (ios build script error)