Ask Your Question
1

How to get cmake options used in default build?

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

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
2

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

berak gravatar image

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

  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

Question Tools

1 follower

Stats

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

Seen: 752 times

Last updated: Nov 14 '18