humanai / gyp

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

Script for generating .gyp files from .sln and .vcproj files #82

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Attached is a script that converts a set of existing Chromium-dependent
.sln and .vcproj files to .gyp.  It currently supports executable, shared
library, static library and build event projects.  The output .gyp file is
created by:

1. Building a list of all .vcproj files referenced in the .sln
2. Outputting a target for each .vcproj that does not already have an
associated .gyp file. This is determined by (a) looking for a .gyp file
with the same name and directory as the .vcproj file or (b) looking for a
.gyp RelativePath entry in the .vcproj file.
3. Building dependencies based on the analysis of the .sln file.
4. Generating sources, actions and msvs_props blocks by parsing the .vcproj
files.

Feel free to use and/or improve this script however you like.

Original issue reported on code.google.com by magreenb...@gmail.com on 1 Oct 2009 at 8:42

Attachments:

GoogleCodeExporter commented 9 years ago
Add to a 'contrib' or 'scripts' directory.

(We need to get an external contributor policy in place before accepting this, 
though.)

Original comment by sgk@chromium.org on 21 Oct 2009 at 6:14

GoogleCodeExporter commented 9 years ago
is it still supported? +1 for having this tool

Original comment by av...@rayv.com on 22 May 2012 at 2:03