node/tools/gyp/tools
cclauss 5ebaf703aa gyp: pull Python 3 changes from node/node-gyp
PR-URL: https://github.com/nodejs/node/pull/28573
Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
2019-07-11 09:33:51 -07:00
..
Xcode Upgrade gyp to r1046 2011-09-18 12:25:30 -07:00
emacs deps: update gyp to e1c8fcf7 2015-04-04 11:01:26 +09:00
README Upgrade GYP to r995 2011-08-15 13:49:15 -07:00
graphviz.py gyp: pull Python 3 changes from node/node-gyp 2019-07-11 09:33:51 -07:00
pretty_gyp.py gyp: pull Python 3 changes from node/node-gyp 2019-07-11 09:33:51 -07:00
pretty_sln.py gyp: pull Python 3 changes from node/node-gyp 2019-07-11 09:33:51 -07:00
pretty_vcproj.py gyp: pull Python 3 changes from node/node-gyp 2019-07-11 09:33:51 -07: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.