[CMake] target property FOLDER

James Bigler jamesbigler at gmail.com
Fri Oct 1 18:16:46 EDT 2010


I really like the new FOLDER property for targets.

I'm wondering if it could be extended to allow me to set this for a whole
directory.  Something like:

set_property(DIRECTORY PROPERTY FOLDER "Utilities/3rdParty")
add_executable(a ...)
add_library(b ...)
add_subdirectory(dir) # dir also get's this property

This would make it pretty speedy to add this feature without having to add
the set_property to each target, and it would be easier to maintain.  Any
new projects would get the property as well.

James
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20101001/c5895a18/attachment.htm>


More information about the CMake mailing list