I'd like to ask how can I specify OpenCV modules to build by cmake ex. I'd like to build only core, highgui and improc.
Thank you for your responses because I googled it and I can't find it. :(
Mari
In the CMakeCache.txt file there is an option BUILD_LIST. You can edit that file directly or specify it on the command line
CMakeCache.txt, relevant line
//Build only listed modules (comma-separated, e.g. 'videoio,dnn,ts') BUILD_LIST:STRING=
Command line
cmake -DBUILD_LIST=core,highgui,improc ..
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With