[CMake] Set default build type in CMakeLists.txt

David Doria daviddoria at gmail.com
Wed Jun 24 07:36:52 EDT 2009


>
> Because if you want to use FORCE you need to have a doc string.  Note
> the [] grouping.  If you don't provide a doc string it will not get
> the right number of arguments.
>
> set(<variable> <value> [[CACHE <type> <docstring> [FORCE]] | PARENT_SCOPE])
>
> I've wanted the ability to set cache variables and leave the doc
> string alone for a while.  I've just gotten used to the missing
> feature.  I asked once if we could have the ability to query a doc
> string for a cache variable, so that I would only have to document the
> variable once, but I never filed a bug request for it.
>
> James
> ____
>

Ok, I created a feature request.
http://public.kitware.com/Bug/view.php?id=9201

Thanks,

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090624/75c904a6/attachment.htm>


More information about the CMake mailing list