On 2013-11-01 10:47, physhh . wrote:
What I'm looking for:
If cmake is used directly from the command line, it's possible to pass a
bunch of options. This is nice because with this it's possible to use
default settings - even if the cache get deleted.

ccmake accepts e.g. -D options to set CMake cache variables. It... does appear that cmake-gui does not. That seems like a bug (or at least a missing feature that one would naturally expect to exist).

I would like to see a feature which makes it possible to pass command line
options to cmake-gui which get forwarded to cmake when it gets called. To
make this work the cmake-gui could look for parameters which look like
"forward-*" (where the * is a cmake option name) and pass it to cmake.

I'm not sure a "forward" option makes sense... what would it mean to "forward" e.g. -P or -E?

Rather, I think cmake-gui should just accept directly those options that make sense, e.g. -D, -U, -C, -G, -T and probably -W[no-]dev, the same way that ccmake does. (Besides, these should affect cmake-gui even before cmake is invoked, so merely forwarding them is actually insufficient.)

--
Matthew

--

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to