[CMake] sub source groups in a vcproj project.

Sylvain Benner benner at virtools.com
Fri May 5 05:21:46 EDT 2006


Well... sub folders are already implemented, I saw it when watching at the cmSourceGroupCommand. Maybe it will be good to add it to the documentation with an example. Anyway I should have try this earlier tssss ^_^

Here is an exemple to add a sub folder using the SOURCE_GROUP command :

SOURCE_GROUP("ParentFolder\\SubFolder" FILES file1 file2 file3...);

Note : the argument FILES is not supported in cmake 2.2, you'll have to use regular expressions if use this version.

Sylvain Benner
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20060505/2abb3ac4/attachment.htm


More information about the CMake mailing list