[CMake] Automating configure and generate?

Phil Smith phil at voltage.com
Mon Jun 22 11:49:21 EDT 2009


I don't use ccmake, but wouldn't just cmake followed by make do what you want? That's what we do (wrapped in a ton of other stuff that cleans up the environment etc., but essentially it comes down to just those two commands).

...phsiii
From: cmake-bounces at cmake.org [mailto:cmake-bounces at cmake.org] On Behalf Of David Doria
Sent: Monday, June 22, 2009 11:34 AM
To: cmake at cmake.org
Subject: [CMake] Automating configure and generate?

Is there a way to automatically (in a bash script, for example) configure and generate using defaults from a CMakeLists.txt file? That is, automate doing the following:

ccmake ../CMakeLists.txt
press 'c' twice
press 'g'

Thanks,

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090622/1308f13f/attachment.htm>


More information about the CMake mailing list