1 | initial version |
2 ideas here:
1: divide & conquer
if it's just a single small function, extract it from the library code into your test.cpp, hack it into submission there and only then put it back into the library code, if you're lucky, you only need a single pass of 3. then.
2: build only what you need for your change
don't rebuild the whole world ;)
in fact, disable the world module, and use a whitelist of only the nessecary modules, like
cmake -DBUILD_LIST=core,imgproc,imgcodecs
(a list of comma-seperated module names sans the "opencv_" prefix, builds in a few miutes here, like this ...)
this will also disable python/java bindings
sidenotes,
2 | No.2 Revision |
2 ideas here:
1: divide & conquer
if it's just a single small function, extract it from the library code into your test.cpp, hack it into submission there and only then put it back into the library code, if you're lucky, you only need a single pass of 3. then.
2: build only what you need for your change
don't rebuild the whole world ;)
in fact, disable the world module, and use a whitelist of only the nessecary modules, like
cmake -DBUILD_LIST=core,imgproc,imgcodecs
(a list of comma-seperated module names sans the "opencv_" prefix, builds in a few miutes here, like this ...)
this will also disable python/java bindings
sidenotes, sidenotes
git rebase -i HEAD~2
and force-push again ;)