aras-p/glsl-optimizer — pull request #40 by mingwandroid (2013-11-28 13:58:01+00:00)
Title: Fixes for project generation via GYP (and for GYP).

Hi Aras,

I hope this meets with your approval. I tested it on Visual Studio 2008, 2010, 2012 and Xcode 5. I will do a follow-up commit with the new projects in a few minutes.

Fixed up lots of Windows-specific issues in the GYP
files. This required a modification to GYP:
gyp-patches/0001-Add-config_conditions-as-PHASE_..patch
which adds 'config_conditions' to allow modification of
build settings in configuration blocks so that debugging
flags and the target platform are set there (so Debug32
is a debuggable 32bit configuration).

Added generateMyProjects.sh script which creates project
files for vs2008, vs2010, vs2012 and xcode; again, this
required a modification to GYP:
gyp-patches/0002-Add-generator-output-flat-option.patch
which adds an option (--generator-output-flat) that forces
all project and solution files to be made in the directory
specified by --generator-output=

Renamed binding.gyp to glsl_optimizer.gyp as rewrote it
to add building the test program and removed empty file
tests/tests.gyp

These GYP patches have been submitted upstream:

[0001] https://codereview.chromium.org/94853002
[0002] https://codereview.chromium.org/94883002