[CMake] Automating configure and generate?
Michael Jackson
mike.jackson at bluequartz.net
Mon Jun 22 11:43:24 EDT 2009
cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=/usr/mylocation
-DMyCMakeValue=SomeOtherValue ../
is one way to do it.
_________________________________________________________
Mike Jackson mike.jackson at bluequartz.net
BlueQuartz Software www.bluequartz.net
Principal Software Engineer Dayton, Ohio
On Jun 22, 2009, at 11:33 AM, David Doria wrote:
> 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
> _______________________________________________
> 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
More information about the CMake
mailing list