suriab / gyp

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

msvs generator should generate Debug / Release project configurations by default. #128

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
  I wrote a small standalone DLL to be used in an MSI installer and wrote a
very minimal .gyp file to build it that did little other than specify the
target_name, sources and some additional library dependencies. When I
generated the .sln/.vcproj files and built, the resulting project contained
only a Default configuration and that configuration was decidedly
non-optimal for Release builds (the binary generated by the Default config
was 8 times larger than the Release target that MSVC's empty DLL project
created).

  It would be nice if the same style of Debug/Release project
configurations as created by MSVC could be created by default by gyp for
minimal project configurations. As is, about 80% of my .gyp file is adding
VCCLCompilerTool and VCLinkerTool blocks for the Debug and Release
configurations.

Original issue reported on code.google.com by robertsh...@chromium.org on 14 Dec 2009 at 6:41

GoogleCodeExporter commented 9 years ago
Should check with mark on this, I believe the default is simply a default 
config for all 
generators, i wouldn't change one without changing the others.

Original comment by thomasvl@chromium.org on 19 Jan 2010 at 2:06