[CMake] Multiple folder depths in VS projects

Sylvain Benner benner at virtools.com
Thu Jun 28 04:31:49 EDT 2007


Jon W a écrit :
> Is there a way to have more than one level of folders in Visual Studio 
> projects? 

Try this :

For your foo project
SOURCE_GROUP("Source Files/Dir1" FILES source1.h source1.cpp ...)
or
SOURCE_GROUP("Source Files\\Dir1" FILES source1.h source1.cpp ...)

-Sylvain


More information about the CMake mailing list