Ask Your Question

How to get cmake options used in default build?

asked 2018-11-13 17:12:01 -0500

NicholasH gravatar image

How can I list (or where can I find) the cmake options that were used to build the default OpenCV binary releases available for download? Or are the default binary releases published just built with the default options defined in the source.

For example I want to know if things like TBB and IPP are used or not used in these builds.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2018-11-14 00:53:11 -0500

berak gravatar image

updated 2018-11-14 00:55:14 -0500

  1. there's a copy of the cmake output compiled into the libraries, you can access it like:

    cout << cv::getBuildInformation() << endl;

  2. you can type opencv_version on the cmdline, it has some hardware related information (e.g. which SSE version will be used on your box)

  3. you can look at the actual buildbots, (e.g. here you can see, that ipp is used but the builtin concurrency, not tbb)

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2018-11-13 17:12:01 -0500

Seen: 52 times

Last updated: Nov 14 '18