[CMake] Is there a way to save/restore options for cmake?

Dominik Szczerba dominik at itis.ethz.ch
Wed Jul 13 16:46:22 EDT 2011


It would be VERY nice to be able to load/save cache files from the GUI....

Dominik

On Wed, Jul 13, 2011 at 7:20 PM, Michael Wild <themiwi at gmail.com> wrote:
> On 07/13/2011 02:56 PM, frank kang wrote:
>> Dear all,
>>
>> Is there a way to save/restore options/settings?
>> For example, we can save/restore respective settings conveniently for
>> different product release in complex cmake.
>>
>> Thanks!
>
> Perhaps a cache-initialization file is what you are looking for? Take a
> look at the -C option. Note that this file must contain statements of
> the form set(... CACHE ...).
>
>
> Michael
> _______________________________________________
> 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