finki-main
main
|
Last change
on this file since 62b2964 was 81bc7da, checked in by Klimentina Efremova <klimentina08642@…>, 3 months ago |
|
Initial commit
|
-
Property mode
set to
100644
|
|
File size:
838 bytes
|
| Line | |
|---|
| 1 | pretty_vcproj:
|
|---|
| 2 | Usage: pretty_vcproj.py "c:\path\to\vcproj.vcproj" [key1=value1] [key2=value2]
|
|---|
| 3 |
|
|---|
| 4 | They key/value pair are used to resolve vsprops name.
|
|---|
| 5 |
|
|---|
| 6 | For example, if I want to diff the base.vcproj project:
|
|---|
| 7 |
|
|---|
| 8 | pretty_vcproj.py z:\dev\src-chrome\src\base\build\base.vcproj "$(SolutionDir)=z:\dev\src-chrome\src\chrome\\" "$(CHROMIUM_BUILD)=" "$(CHROME_BUILD_TYPE)=" > original.txt
|
|---|
| 9 | 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
|
|---|
| 10 |
|
|---|
| 11 | And you can use your favorite diff tool to see the changes.
|
|---|
| 12 |
|
|---|
| 13 | Note: In the case of base.vcproj, the original vcproj is one level up the generated one.
|
|---|
| 14 | I suggest you do a search and replace for '"..\' and replace it with '"' in original.txt
|
|---|
| 15 | before you perform the diff. |
|---|
Note:
See
TracBrowser
for help on using the repository browser.