Hi all, I was wondering if there is an easy/automated way that I can get CMake or CPack to add a license to every source file prior to distribution of the source. Of course, I mean that I would provide the wording of the license and "all" it does is copy this license to the top of each source file in a way that is specific to the language (ideally). i.e., using // for C++ source files.
It would be nice if it could also update dates too, but that's more of a wishlist. (i.e., changing "Copyright 2011" to "Copyright 2011-2012") Thank you! Ray _______________________________________________ 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