[CMake] Display all possible options in a CMakeLists file, like what we do with configure --help

Nicolas Desprès nicolas.despres at gmail.com
Mon Oct 15 03:04:05 EDT 2012


Hi,

That's a good idea but it can be tricky to implement. It has already been
discussed in this thread:
http://www.cmake.org/pipermail/cmake/2012-April/049974.html

Cheers,
Nico

On Mon, Oct 15, 2012 at 5:06 AM, Tschijnmo Tschau <tschijnmotschau at gmail.com
> wrote:

> Hi!
>
> Sometimes different code has very different sets of options to tweak
> in the building process. So when building a package with GNU
> autotools, usually the first thing I do is ``configure --help'' to
> list all the possible options that I can change. I am a little curious
> if there is something quite similar to this kind of bahaviour in cmake
> because it is really handy. Thank you so much for your help! Some
> CMakeLists files from some codes do not seem to have been documented
> about their options, so a convenient way to find them out seems to be
> helpful.
>
> Regards
>
> Tschijnmo
> --
>
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake
>



-- 
Nicolas Desprès
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20121015/41c464eb/attachment.htm>


More information about the CMake mailing list