[CMake] subfolders with SOURCE_GROUP

Brad King brad.king at kitware.com
Fri Mar 3 17:51:45 EST 2006


Tim_Taylor at gmx.li wrote:
> I wonder if it's possible to create subfolders with the command SOURCE_GROUP
> in Visual Studio. For example, I want to group some header files in the
> folder include, some in the folder include\graph and some in the folder
> include\image.
> Is this possible? I found a newsgroup entry about this topic from 2004 where
> they say "no", but maybe it works with newer versions of CMake?

I think this was done:

http://www.cmake.org/Bug/bug.php?op=show&bugid=1634&pos=2

Just put a slash in the source group name.  If it doesn't work please 
reopen that bug report.  If it does work please let me know and I'll 
update the docs.

Thanks,
-Brad


More information about the CMake mailing list