Commit 2c6d6118 authored by Diederik van Arkel's avatar Diederik van Arkel

Add version resource to windows time and heap profilers

parent 1b735364
......@@ -32,8 +32,8 @@ Global
LinkMethod: Static
GenerateRelocations: False
GenerateLinkMap: False
LinkResources: False
ResourceSource:
LinkResources: True
ResourceSource: {Project}\WinSupport\winHeap.rsrc
GenerateDLL: False
ExportedNames:
Paths
......
rc -r -dWIN32 winIde.rc
link -out:winIde.rsrc dummy.obj winIde.res
rc -r -dWIN32 winHeap.rc
link -out:winHeap.rsrc dummy.obj winHeap.res
rc -r -dWIN32 winTime.rc
link -out:winTime.rsrc dummy.obj winTime.res
#include <winver.h>
#define VERSION_RES_BIN_NAME "ShowHeapProfile.exe\0"
#define VERSION_RES_BIN_DESCRIPTION "Clean Heap Profile Viewer\0"
#define VERSION_RES_STRING "2.0.1.0\0"
#define VERSION_RES_PRODUCT_NAME "ShowHeapProfile\0"
#define VERSION_RES_COMPANY_NAME "University of Nijmegen\0"
#define VERSION_RES_COPYRIGHT "Copyright (C) 1987--2002 University of Nijmegen.\0"
//
// Version resource
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 2,0,1,0
PRODUCTVERSION 2,0,1,0
FILEFLAGSMASK 0x0030003FL
FILEFLAGS VS_FF_PRERELEASE
FILEOS VOS__WINDOWS32
FILETYPE VFT_APP
FILESUBTYPE VFT2_UNKNOWN
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904B0"
BEGIN
VALUE "CompanyName", VERSION_RES_COMPANY_NAME
VALUE "FileDescription", VERSION_RES_BIN_DESCRIPTION
VALUE "FileVersion", VERSION_RES_STRING
VALUE "InternalName", VERSION_RES_BIN_NAME
VALUE "LegalCopyright", VERSION_RES_COPYRIGHT
VALUE "OriginalFilename", VERSION_RES_BIN_NAME
VALUE "ProductName", VERSION_RES_PRODUCT_NAME
VALUE "ProductVersion", VERSION_RES_STRING
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1200
END
END
#include <winver.h>
#define VERSION_RES_BIN_NAME "ShowTimeProfile.exe\0"
#define VERSION_RES_BIN_DESCRIPTION "Clean Time Profile Viewer\0"
#define VERSION_RES_STRING "2.0.1.0\0"
#define VERSION_RES_PRODUCT_NAME "ShowTimeProfile\0"
#define VERSION_RES_COMPANY_NAME "University of Nijmegen\0"
#define VERSION_RES_COPYRIGHT "Copyright (C) 1987--2002 University of Nijmegen.\0"
//
// Version resource
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 2,0,1,0
PRODUCTVERSION 2,0,1,0
FILEFLAGSMASK 0x0030003FL
FILEFLAGS VS_FF_PRERELEASE
FILEOS VOS__WINDOWS32
FILETYPE VFT_APP
FILESUBTYPE VFT2_UNKNOWN
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904B0"
BEGIN
VALUE "CompanyName", VERSION_RES_COMPANY_NAME
VALUE "FileDescription", VERSION_RES_BIN_DESCRIPTION
VALUE "FileVersion", VERSION_RES_STRING
VALUE "InternalName", VERSION_RES_BIN_NAME
VALUE "LegalCopyright", VERSION_RES_COPYRIGHT
VALUE "OriginalFilename", VERSION_RES_BIN_NAME
VALUE "ProductName", VERSION_RES_PRODUCT_NAME
VALUE "ProductVersion", VERSION_RES_STRING
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1200
END
END
......@@ -32,8 +32,8 @@ Global
LinkMethod: Static
GenerateRelocations: False
GenerateLinkMap: False
LinkResources: False
ResourceSource:
LinkResources: True
ResourceSource: {Project}\WinSupport\winTime.rsrc
GenerateDLL: False
ExportedNames:
Paths
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment