On Fri, Apr 20, 2012 at 10:58 AM, Rolf Eike Beer <e...@sf-mail.de> wrote: >> Hi, >> >> I have noticed that most cmake based projects document their options >> in their README file whereas the documentation is already included in >> cmake when you call the option() and set() commands. I hope this >> feature will help to remove this duplication and people will just >> write in their README file a "see cmake --help-options for available >> build options". >> >> Comments? > > This sounds like a good idea to me. Thanks! > Don't forget about > CMAKE_DEPENDENT_OPTION ;) Sorry but I don't get it. Are you speaking about options that enable other options like in:
option(FOO "Foo doc" OFF) if(FOO) option(BAR "Bar doc" OFF) endif(FOO) ? Cheers, -- Nicolas Desprès -- 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