summaryrefslogtreecommitdiff
path: root/MSVC_Net2005
diff options
context:
space:
mode:
authorDaniel Elstner <danielk@openismus.com>2009-08-20 11:14:42 +0200
committerDaniel Elstner <danielk@openismus.com>2009-08-20 11:14:42 +0200
commit03c19bc62e0451637fd44ceaf054e9fa229c2d36 (patch)
tree5534ecc341760b00f1e11ff65ac9d8c2f54efbbb /MSVC_Net2005
parentafc324cf6994cf8adbfa5b0f06fa5a656f83cd82 (diff)
downloadglibmm-03c19bc62e0451637fd44ceaf054e9fa229c2d36.tar.gz
Do not hard-code API version in resource files
* MSVC_Net200[58]/glibmm/glibmm.rc.in: Use newer @PACKAGE_VERSION@ substitution in place of @VERSION@. Substitute @GLIBMM_MODULE_NAME@ instead of hardcoding the API version. * MSVC_Net200[58]/giomm/giomm.rc.in: Use newer @PACKAGE_VERSION@ substitution in place of @VERSION@. Substitute @GIOMM_MODULE_NAME@ instead of hardcoding the API version. Replace @GLIBMM_*_VERSION@ substitutions with their @GIOMM_*_VERSION@ equivalents.
Diffstat (limited to 'MSVC_Net2005')
-rw-r--r--MSVC_Net2005/giomm/giomm.rc.in10
-rwxr-xr-xMSVC_Net2005/glibmm/glibmm.rc.in6
2 files changed, 8 insertions, 8 deletions
diff --git a/MSVC_Net2005/giomm/giomm.rc.in b/MSVC_Net2005/giomm/giomm.rc.in
index 0b979e68..935b9dd1 100644
--- a/MSVC_Net2005/giomm/giomm.rc.in
+++ b/MSVC_Net2005/giomm/giomm.rc.in
@@ -33,8 +33,8 @@ END
#endif // APSTUDIO_INVOKED
VS_VERSION_INFO VERSIONINFO
- FILEVERSION @GLIBMM_MAJOR_VERSION@,@GLIBMM_MINOR_VERSION@,@GLIBMM_MICRO_VERSION@,1
- PRODUCTVERSION @GLIBMM_MAJOR_VERSION@,@GLIBMM_MINOR_VERSION@,@GLIBMM_MICRO_VERSION@,1
+ FILEVERSION @GIOMM_MAJOR_VERSION@,@GIOMM_MINOR_VERSION@,@GIOMM_MICRO_VERSION@,1
+ PRODUCTVERSION @GIOMM_MAJOR_VERSION@,@GIOMM_MINOR_VERSION@,@GIOMM_MICRO_VERSION@,1
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
FILEFLAGS 0x1L
@@ -51,11 +51,11 @@ BEGIN
BEGIN
VALUE "CompanyName", "The glibmm development team (see AUTHORS)"
VALUE "FileDescription", "The official C++ wrapper for gio"
- VALUE "FileVersion", "@VERSION@"
+ VALUE "FileVersion", "@PACKAGE_VERSION@"
VALUE "LegalCopyright", "Distribution is under the LGPL (see COPYING)"
- VALUE "OriginalFilename", "giomm-2.4"
+ VALUE "OriginalFilename", "@GIOMM_MODULE_NAME@.dll"
VALUE "ProductName", "giomm"
- VALUE "ProductVersion", "@VERSION@"
+ VALUE "ProductVersion", "@PACKAGE_VERSION@"
END
END
BLOCK "VarFileInfo"
diff --git a/MSVC_Net2005/glibmm/glibmm.rc.in b/MSVC_Net2005/glibmm/glibmm.rc.in
index a8487c94..18f3663d 100755
--- a/MSVC_Net2005/glibmm/glibmm.rc.in
+++ b/MSVC_Net2005/glibmm/glibmm.rc.in
@@ -51,11 +51,11 @@ BEGIN
BEGIN
VALUE "CompanyName", "The glibmm development team (see AUTHORS)"
VALUE "FileDescription", "The official C++ wrapper for glib"
- VALUE "FileVersion", "@VERSION@"
+ VALUE "FileVersion", "@PACKAGE_VERSION@"
VALUE "LegalCopyright", "Distribution is under the LGPL (see COPYING)"
- VALUE "OriginalFilename", "glibmm-2.4"
+ VALUE "OriginalFilename", "@GLIBMM_MODULE_NAME@.dll"
VALUE "ProductName", "glibmm"
- VALUE "ProductVersion", "@VERSION@"
+ VALUE "ProductVersion", "@PACKAGE_VERSION@"
END
END
BLOCK "VarFileInfo"