> > 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
_______________________________________________ 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
