<div dir="ltr"><div><div>Hey Matthew,<br><br></div>that&#39;s interesting. I&#39;m currently at a windows only machine so i can&#39;t check out ccmake but can only lookup the source. It appears that ALL parameters get &quot;forwarded&quot; to cmake - at least that&#39;s what <br>

<br>cmCursesMainForm.cxx:52<br>&gt; this-&gt;CMakeInstance-&gt;SetArgs(this-&gt;Args);<br><br></div><div>looks to me. <br>Why do you think that a simple forward is not enough? ccmake seems to do it exactly that way?<br><br>

<div class="gmail_extra"><br><div class="gmail_quote">On Fri, Nov 1, 2013 at 4:12 PM, Matthew Woehlke <span dir="ltr">&lt;<a href="mailto:matthew.woehlke@kitware.com" target="_blank">matthew.woehlke@kitware.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="im">On 2013-11-01 10:47, physhh . wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="im">
What I&#39;m looking for:<br>
If cmake is used directly from the command line, it&#39;s possible to pass a<br></div>
bunch of options. This is nice because with this it&#39;s possible to use<div class="im"><br>
default settings - even if the cache get deleted.<br>
</div></blockquote>
<br>
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).<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
I would like to see a feature which makes it possible to pass command line<br>
options to cmake-gui which get forwarded to cmake when it gets called. To<br>
make this work the cmake-gui could look for parameters which look like<br>
&quot;forward-*&quot; (where the * is a cmake option name) and pass it to cmake.<br>
</blockquote>
<br></div>
I&#39;m not sure a &quot;forward&quot; option makes sense... what would it mean to &quot;forward&quot; e.g. -P or -E?<br>
<br>
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.)<span class=""></span> </blockquote>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class=""><font color="#888888">
<br>
-- <br>
Matthew</font></span><div class=""><div class="h5"><br>
<br>
--<br>
<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/<u></u>CMake_FAQ</a><br>
<br>
Kitware offers various services to support the CMake community. For more information on each offering, please visit:<br>
<br>
CMake Support: <a href="http://cmake.org/cmake/help/support.html" target="_blank">http://cmake.org/cmake/help/<u></u>support.html</a><br>
CMake Consulting: <a href="http://cmake.org/cmake/help/consulting.html" target="_blank">http://cmake.org/cmake/help/<u></u>consulting.html</a><br>
CMake Training Courses: <a href="http://cmake.org/cmake/help/training.html" target="_blank">http://cmake.org/cmake/help/<u></u>training.html</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/<u></u>opensource/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/<u></u>listinfo/cmake</a><br>
</div></div></blockquote></div><br></div></div></div>