Hi there, On the KDE Frameworks mailing list I had an idea for a cmake_maximum_required(), which would be symmetric with cmake_minimum_required().
http://thread.gmane.org/gmane.comp.kde.devel.frameworks/517/focus=532 The idea is that if you use cmake_maximum_required(2.8.8) and attempt to use a feature or API introduced in 2.8.9, CMake would report an error. If done for historical features (which is a separate issue to whether the feature is introduced), it would essentially be a codification of: http://www.cmake.org/Wiki/CMake_Version_Compatibility_Matrix However, while the patch to introduce the feature would likely be very small (the variable just needs to be stored), the effort would be in the maintenance. Reviewing incoming feature patches for 'guarded' feature use would be something David and Brad would need to add to their check-list while reviewing, so essentially, that is who will end up doing most of the work for this feature. Any thoughts on this? Thanks, Steve. -- 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://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers
