On Tuesday 05 November 2013, Matthew Woehlke wrote: > On 2013-11-05 14:36, Alexander Neundorf wrote: > > I tried the following a few times in the past and noticed everytime that > > it does not work: > > $ cd src > > src/ $ mkdir build > > src/ $ cd build > > src/build/ $ cmake-gui -DSOME_VARIABLE=some_value .. > > > > I'd like that to work. Would it work with your proposal ? > > Yes. > > > Once the cache is deleted in cmake-gui, I would expect that the values > > from the command line are also forgotten, also the -U values. Otherwise > > this cmake would remove the matching entries from every cache I load. > > True. (But what if that's what you want?)
I think I would expect -U only to work if a cache is loaded initially, i.e. if cmake-gui is started with an existing build dir. Alex -- 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://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers
