<div dir="ltr">Hi Jupiter, <div><br></div><div style>You could look at <a href="http://www.cmake.org/cmake/help/v2.8.10/cmake.html#section_Options">http://www.cmake.org/cmake/help/v2.8.10/cmake.html#section_Options</a></div>

<div style><br></div><div style>And more particularly at: <a href="http://www.cmake.org/cmake/help/v2.8.10/cmake.html#opt:-Dvar:typevalue">http://www.cmake.org/cmake/help/v2.8.10/cmake.html#opt:-Dvar:typevalue</a></div><div style>

<br></div><div style>Hth</div><div style>Jc</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Mar 2, 2013 at 3:49 AM, hce <span dir="ltr">&lt;<a href="mailto:jupiter.hce@gmail.com" target="_blank">jupiter.hce@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I am writing a Linux bash script to run cmake, ccmake and cpack<br>
automatically. The problem for ccmake is that is an interactive interface.<br>
Is it possible to specify ccmake in command line to select all modules and<br>
to run in a script without push buttons?<br>
<br>
Please give an example how to run ccmake to switch all module on and config<br>
in a command line.<br>
<br>
Thank you.<br>
<br>
Kind regards.<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://cmake.3232098.n2.nabble.com/How-to-make-ccmake-automatic-run-to-select-all-modules-in-a-script-tp7583458.html" target="_blank">http://cmake.3232098.n2.nabble.com/How-to-make-ccmake-automatic-run-to-select-all-modules-in-a-script-tp7583458.html</a><br>


Sent from the CMake mailing list archive at Nabble.com.<br>
--<br>
<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</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/opensource/opensource.html</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/CMake_FAQ</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/listinfo/cmake</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>+1 919 869 8849<br>
</div>