Cannot find documentation of cmake options

asked 2013-03-05 09:40:18 -0500

zeg gravatar image

The Unix installation instructions section for building with cmake indicate that "some optional parameters" can or should be provided. The specific example uses a couple of -D parameters. Despite Googling, searching the documentation site, checking the README file and doc/ directory in the source distribution, I cannot find any helpful list of options.

Is documentation of the cmake options/parameters available?

edit retag flag offensive close merge delete



Afaik, there is no documentation. However, the most settings are self-explanary. To see which are available, use 'ccmake' (a cursor interface) instead of 'cmake'.

Guanta gravatar imageGuanta ( 2013-03-05 09:56:27 -0500 )edit

One more thing that you can do is edit the CMakeCache.txt generated after running cmake command without any parameters. Otherwise, You can also use the CMake GUI and select the advanced check box to see all the optional Parameters. Hover your mouse over the options to get a small description about the parameters.

Prasanna gravatar imagePrasanna ( 2013-07-11 15:45:18 -0500 )edit