Currently other members on my project have a variable in their cache named FOO_BAR. I renamed it to Some_Foo_Bar. It would be unmanageable to have to create a conference call or send out an email to everyone saying "Hey, delete your cache!". How can I programmatically force this variable to be renamed, while still retaining its previous value? Of course I could do this: option( Some_Foo_Bar "Does a lot of foo..." )
if( FOO_BAR ) set( Some_Foo_Bar ${FOO_BAR} ) unset( FOO_BAR CACHE ) endif() But is this the recommended path?
_______________________________________________ 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