Hi all,

We like to use generator expressions in our CMake scripts, and one particular 
place we'd like to use them is in the output directory and name of our targets. 
I was able to add generator expressions support to OUTPUT_NAME and 
RUNTIME_OUTPUT_DIRECTORY target properties. So far so good, I will most likely 
send a patch soon. But I was not able to do it for the DESTINATION property of 
the CMake install command. Well, not without changing a lot of code.

In order to close the loop with this feature, the install command should be 
able to copy files to destinations that contains generator expressions. But 
reading the code, it doesn't seems like it was ever intended to work that way; 
install scripts doesn't seem to be per configuration. Looks like a pretty big 
refactoring. But before I start changing too much code, is this something I 
should pursue or not? Does it make sense?

Thanks!

-Robert Goulet

-- 

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/mailman/listinfo/cmake-developers

Reply via email to