Ask Your Question

Test Changes in forked repo

asked 2019-12-11 00:21:41 -0500

kingCat gravatar image

Is it necessary to build and install all the modules of my forked repo so that any changes I have made are reflected in the my programs? I am using Cmake to build and install the modules on a Linux operating system with Ubuntu 18.04 . I find this time consuming. Is there another way to do this?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2019-12-11 02:02:53 -0500

berak gravatar image

yes you need to rebuild the affected modules, but no, you don't to rebuild all of them, you can use e.g.

 cmake -DBUILD_WHITELIST=core,imgproc,imgcodecs

(comma seperated list of module names w/o opencv_ prefix)

apart from that, you can also outsource it, github has nice support for CI tools like TravisCI.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2019-12-11 00:21:41 -0500

Seen: 99 times

Last updated: Dec 11 '19