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
