On 16.05.2014 22:32, Brad King wrote:
After thinking about this more I realized that we may need to specify
packaging properties for files installed by install(TARGETS) too. The
actual set of destination paths may not be known at configuration
time. Therefore such properties would have to be set as part of the
install() command call. Perhaps instead we should go ahead and create
an "INSTALL" property type. INSTALL properties meant for CPack can
start in the prefix "CPACK_".
Thanks.
I'll have to think about that but here is what I've got for now:
https://github.com/ngladitz/cmake/tree/cpack-properties
It implements the two properties required for
http://public.kitware.com/Bug/view.php?id=14911
I write the properties file at generation time rather than configuration
time ... perhaps generator expressions could be allowed for keys?
If they were set by install() itself there would need to be some sort of
disambiguation in case there are multiple files being installed (like
there already is for DESTINATION).
Nils
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For more
information on each offering, please visit:
CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers