vcbuild - conditional regeneration

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: PGSQL-Patches <pgsql-patches(at)postgresql(dot)org>
Subject: vcbuild - conditional regeneration
Date: 2007-01-11 21:36:11
Message-ID: 45A6ADCB.2090207@hagander.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

The attached patch changes vcbuild so the project and solution files are
only regenerated if they are actually changed. This helps when you're
developing in the Visual Studio GUI, because updating the files (even to
the same contents) will cause a reload and re-parse of all the projects
in the solution.

As a bonus, it doesn't trash the project file if it for some reason
aborts half-way through.

The patch includes part of the previously sent patch about pthreads
requirements, because they change the same area. Should be workable
without the other one as well, so it's no problem applying just one of
them if the other one is troublesome.

//Magnus

Attachment Content-Type Size
msvc_noregen.patch text/plain 15.6 KB

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Simon Riggs 2007-01-11 22:45:10 Re: [HACKERS] [PATCHES] Patch to log usage of temporary files
Previous Message Jim C. Nasby 2007-01-11 21:09:44 Re: [HACKERS] [PATCHES] Patch to log usage of temporary files