afrolov / gyp

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

Add more clear groupings to solutions generated for msvs #6

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Currently, sln files are generated which list all targets in the current 
directory at the top level, and all others under a folder called 
'dependencies'. This is okay for smaller modules, but webkit and chromium 
would benefit from more specific grouping.

There are two options:
1. Support an extended syntax which would allow category groupings like 
'tools', 'tests', 'submodules' similar to the pre-gyp sln files.
2. Do something intelligent with actual target dependencies. For instance 
list only direct dependencies in the main 'dependencies' folder and have 
subdependencies list down a layer deeper.

There is no direct equivalent of this problem for xcode, since targets 
outside the current gyp file are external project references. This 
unfortunately doesn't work in visual studio, which needs fully populated 
sln files.

Original issue reported on code.google.com by bradnel...@google.com on 26 Apr 2009 at 10:19

GoogleCodeExporter commented 9 years ago
This was accomplished by matching the layout of the projects in the file system.
One enhancement was made. Projects with names matching the directory that 
contains them, which are the only 
ones in the directory are brought up a level.

Original comment by bradnel...@google.com on 15 Jun 2009 at 5:33