Ask Your Question
0

documentation about compile and cmake definitions

asked 2016-04-23 17:47:48 -0600

sergiomb gravatar image

updated 2016-04-23 17:50:21 -0600

Hi,

I just found to enable QT and opengl I need add -DWITH_QT=ON, for example something like:

cmake -DWITH_QT=ON -DBUILD_EXAMPLES=ON -DINSTALL_C_EXAMPLES=ON -DINSTALL_PYTHON_EXAMPLES=ON -DOPENCL_INCLUDE_DIR=/CL -DOPENCV_EXTRA_MODULES_PATH=../opencv_contrib-3.1.0/modules ..

where I can find the complete list of cmake options and what are enabled by default ?

The best that I found was http://docs.opencv.org/3.1.0/d7/d9f/t...

Thanks

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2016-04-23 18:03:46 -0600

Tetragramm gravatar image

Well, I used the CMake GUI. I would assume there's some way of listing the options in the command line. Presumably it's listed somewhere in here. https://cmake.org/cmake/help/v3.2/ind...

Ah, here it is: cmake -LAH

edit flag offensive delete link more

Comments

For me was more simple use vi CMakeLists.txt and read from line 162 ...

sergiomb gravatar imagesergiomb ( 2016-04-23 20:20:58 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2016-04-23 17:47:48 -0600

Seen: 136 times

Last updated: Apr 23 '16