From 180c0167b41bfcbfa33cd6a145ee0dc7b62505b2 Mon Sep 17 00:00:00 2001 From: DRC Date: Wed, 27 Oct 2010 07:20:27 +0000 Subject: CMake build system for Windows git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4171 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- win/wm_hooks/wm_hooks.def | 2 +- win/wm_hooks/wm_hooks.rc | 16 +++++++++++----- 2 files changed, 12 insertions(+), 6 deletions(-) (limited to 'win/wm_hooks') diff --git a/win/wm_hooks/wm_hooks.def b/win/wm_hooks/wm_hooks.def index b9198ab9..a70908a9 100644 --- a/win/wm_hooks/wm_hooks.def +++ b/win/wm_hooks/wm_hooks.def @@ -1,5 +1,5 @@ LIBRARY "wm_hooks" -DESCRIPTION 'Window Message Hooks Dynamic Link Library' +; DESCRIPTION 'Window Message Hooks Dynamic Link Library' SECTIONS .WM_Hooks_Shared read write shared diff --git a/win/wm_hooks/wm_hooks.rc b/win/wm_hooks/wm_hooks.rc index 5a11fd28..d80c983f 100644 --- a/win/wm_hooks/wm_hooks.rc +++ b/win/wm_hooks/wm_hooks.rc @@ -1,6 +1,7 @@ //Microsoft Developer Studio generated resource script. // #include "resource.h" +#include "resdefs.h" #define APSTUDIO_READONLY_SYMBOLS ///////////////////////////////////////////////////////////////////////////// @@ -54,8 +55,8 @@ END // VS_VERSION_INFO VERSIONINFO - FILEVERSION 4,1,0,0 - PRODUCTVERSION 4,1,0,0 + FILEVERSION __RCVERSION + PRODUCTVERSION __RCVERSION FILEFLAGSMASK 0x3fL #ifdef _DEBUG FILEFLAGS 0x1L @@ -72,15 +73,20 @@ BEGIN BEGIN VALUE "Comments", "\0" VALUE "CompanyName", "Constantin Kaplinsky\0" + #ifdef WIN64 + VALUE "FileDescription", "TigerVNC Server Hooking DLL for Win64\0" + VALUE "ProductName", "TigerVNC Server Hooking DLL for Win64\0" + #else VALUE "FileDescription", "TigerVNC Server Hooking DLL for Win32\0" - VALUE "FileVersion", "4.1\0" + VALUE "ProductName", "TigerVNC Server Hooking DLL for Win32\0" + #endif + VALUE "FileVersion", __RCVERSIONSTR VALUE "InternalName", "\0" VALUE "LegalCopyright", "Copyright (C) 1998-2005 [many holders]\0" VALUE "LegalTrademarks", "TigerVNC\0" VALUE "OriginalFilename", "wm_hooks.dll\0" VALUE "PrivateBuild", "\0" - VALUE "ProductName", "TigerVNC Server\0" - VALUE "ProductVersion", "4.1\0" + VALUE "ProductVersion", __VERSIONSTR VALUE "SpecialBuild", "\0" END END -- cgit v1.2.3