wangyu5 / gyp

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

Do not overwrite existing vcproj file with identical file #196

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
A while back Arthur mentioned MS VC will do extra work every time a VC project 
file is written to, even if the new project file is identical to the old one. 
He suggested writing to temp files, and check for differences before 
overwriting the existing project files.

Original issue reported on code.google.com by thestig@chromium.org on 31 May 2011 at 11:31

GoogleCodeExporter commented 9 years ago
I don't believe this is the case. We have a WriteIfDiff thingy inbetween writes 
to files that skips the actually writing if nothing's new.

Original comment by bradnelson@google.com on 1 Jun 2011 at 12:14

GoogleCodeExporter commented 9 years ago
Ah, sounds like we already implement what Arthur mentioned.

Original comment by thestig@chromium.org on 1 Jun 2011 at 12:22