node/tools/gyp/tools
Ryan Dahl f90c9ce0e2 Upgrade GYP to r1477 2012-08-22 15:18:45 -04:00
..
Xcode Upgrade gyp to r1046 2011-09-18 12:25:30 -07:00
emacs Upgrade GYP to r1477 2012-08-22 15:18:45 -04:00
README Upgrade GYP to r995 2011-08-15 13:49:15 -07:00
graphviz.py gyp: upgrade to r1103 2011-12-03 21:28:17 +01:00
pretty_gyp.py tools: update gyp to r1426 2012-07-03 20:56:35 +02:00
pretty_sln.py tools: update gyp to r1426 2012-07-03 20:56:35 +02:00
pretty_vcproj.py tools: update gyp to r1426 2012-07-03 20:56:35 +02:00

README

pretty_vcproj:
  Usage: pretty_vcproj.py "c:\path\to\vcproj.vcproj" [key1=value1] [key2=value2]

  They key/value pair are used to resolve vsprops name.

  For example, if I want to diff the base.vcproj project:

  pretty_vcproj.py z:\dev\src-chrome\src\base\build\base.vcproj "$(SolutionDir)=z:\dev\src-chrome\src\chrome\\" "$(CHROMIUM_BUILD)=" "$(CHROME_BUILD_TYPE)=" > orignal.txt
  pretty_vcproj.py z:\dev\src-chrome\src\base\base_gyp.vcproj "$(SolutionDir)=z:\dev\src-chrome\src\chrome\\" "$(CHROMIUM_BUILD)=" "$(CHROME_BUILD_TYPE)=" > gyp.txt

  And you can use your favorite diff tool to see the changes.

  Note: In the case of base.vcproj, the original vcproj is one level up the generated one.
        I suggest you do a search and replace for '"..\' and replace it with '"' in original.txt
        before you perform the diff.