wutingcindy / gyp

Automatically exported from code.google.com/p/gyp
0 stars 0 forks source link

Allow Specification of Visual Studio Filters #219

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
If source code does not reside with the gyp file, then the resultant Visual 
Studio projects can end up with an unnecessarily deep and untidy folder 
structure. 

The attached patch allows the root folder(s) of source code to be specified in 
the gyp file, together with a display name. If no name is given, then the 
source code is added at the project root.

Source code is also sorted into folders for source files and header files.

The syntax is as follows:

'filters':[[path to source root directory, folder name],]

The included test provides a usage example.

If 'filters' is not specified, then the current behaviour is unchanged.

Original issue reported on code.google.com by louis.f...@eu.sony.com on 15 Sep 2011 at 11:26

Attachments: