1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-06-30 19:12:48 -05:00

`win-versioninfo': all builds of all Windows binaries now contain

a VERSIONINFO resource. The versioning scheme is described in
windows/version.rc2.

Some .rc files are now #included in others. In order to keep MSVC
project files working, these have been renamed to .rc2; there may exist
a better solution.

(This checkin also includes the documentation tweak missing from r6367.)

Testing performed:
 - MinGW (cross-compiler): works
 - VC nmake: works (tested with VC6)
 - VC project files: builds with VERSIONINFO resource (no VER variable though)
 - Borland: an old version of this patch was tested with it and more or
   less worked, except that some of the VERSIONINFO strings were apparently
   not terminated properly. Not attempted to work around this.
 - LCC: not tested. Some fixes are in there from the last time we tried
   this, but then the build ultimately failed and I haven't tried this
   since that was fixed.
 - Dev-C++: untested. (Haven't done anything special.)
 - Unix Gtk/autoconf Makefiles work as before.

[originally from svn r6374]
[r6367 == f86ad059db]
[this svn revision also touched putty-wishlist]
This commit is contained in:
Jacob Nevins
2005-10-04 14:13:28 +00:00
parent 9d3ab46800
commit 4d48ba62e8
13 changed files with 314 additions and 48 deletions

View File

@ -30,4 +30,21 @@
#define RT_MANIFEST 24
#endif
/* LCC is the offender here. */
#ifndef VS_FF_DEBUG
#define VS_FF_DEBUG 1
#endif
#ifndef VS_FF_PRERELEASE
#define VS_FF_PRERELEASE 2
#endif
#ifndef VS_FF_PRIVATEBUILD
#define VS_FF_PRIVATEBUILD 8
#endif
#ifndef VOS__WINDOWS32
#define VOS__WINDOWS32 4
#endif
#ifndef VFT_APP
#define VFT_APP 1
#endif
#endif /* PUTTY_RCSTUFF_H */