[CMake] How to make ccmake automatic run to select all modules in a script?

Jean-Christophe Fillion-Robin jchris.fillionr at kitware.com
Sat Mar 2 03:56:17 EST 2013


Hi Jupiter,

You could look at
http://www.cmake.org/cmake/help/v2.8.10/cmake.html#section_Options

And more particularly at:
http://www.cmake.org/cmake/help/v2.8.10/cmake.html#opt:-Dvar:typevalue

Hth
Jc


On Sat, Mar 2, 2013 at 3:49 AM, hce <jupiter.hce at gmail.com> wrote:

> Hi,
>
> I am writing a Linux bash script to run cmake, ccmake and cpack
> automatically. The problem for ccmake is that is an interactive interface.
> Is it possible to specify ccmake in command line to select all modules and
> to run in a script without push buttons?
>
> Please give an example how to run ccmake to switch all module on and config
> in a command line.
>
> Thank you.
>
> Kind regards.
>
>
>
> --
> View this message in context:
> http://cmake.3232098.n2.nabble.com/How-to-make-ccmake-automatic-run-to-select-all-modules-in-a-script-tp7583458.html
> Sent from the CMake mailing list archive at Nabble.com.
> --
>
> 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
>



-- 
+1 919 869 8849
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20130302/d72380f8/attachment.htm>


More information about the CMake mailing list