You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
82 lines
1.9 KiB
82 lines
1.9 KiB
2 years ago
|
// RCS: @(#) $Id: wish.rc,v 1.1.2.1 2006/06/13 17:39:29 david.cole Exp $
|
||
|
//
|
||
|
// Version Resource Script
|
||
|
//
|
||
|
|
||
|
#include <windows.h>
|
||
|
|
||
|
#define RESOURCE_INCLUDED
|
||
|
#include <tk.h>
|
||
|
|
||
|
#define STRINGIFY1(x) #x
|
||
|
#define STRINGIFY(x) STRINGIFY1(x)
|
||
|
|
||
|
//
|
||
|
// build-up the name suffix that defines the type of build this is.
|
||
|
//
|
||
|
#ifdef TCL_THREADS
|
||
|
#define SUFFIX_THREADS "t"
|
||
|
#else
|
||
|
#define SUFFIX_THREADS ""
|
||
|
#endif
|
||
|
|
||
|
#ifdef STATIC_BUILD
|
||
|
#define SUFFIX_STATIC "s"
|
||
|
#else
|
||
|
#define SUFFIX_STATIC ""
|
||
|
#endif
|
||
|
|
||
|
#ifdef DEBUG
|
||
|
#define SUFFIX_DEBUG "d"
|
||
|
#else
|
||
|
#define SUFFIX_DEBUG ""
|
||
|
#endif
|
||
|
|
||
|
#define SUFFIX SUFFIX_THREADS SUFFIX_STATIC SUFFIX_DEBUG
|
||
|
|
||
|
|
||
|
VS_VERSION_INFO VERSIONINFO
|
||
|
FILEVERSION TK_MAJOR_VERSION,TK_MINOR_VERSION,TK_RELEASE_LEVEL,TK_RELEASE_SERIAL
|
||
|
PRODUCTVERSION TK_MAJOR_VERSION,TK_MINOR_VERSION,TK_RELEASE_LEVEL,TK_RELEASE_SERIAL
|
||
|
FILEFLAGSMASK 0x3fL
|
||
|
#ifdef DEBUG
|
||
|
FILEFLAGS VS_FF_DEBUG
|
||
|
#else
|
||
|
FILEFLAGS 0x0L
|
||
|
#endif
|
||
|
FILEOS VOS__WINDOWS32
|
||
|
FILETYPE VFT_APP
|
||
|
FILESUBTYPE 0x0L
|
||
|
BEGIN
|
||
|
BLOCK "StringFileInfo"
|
||
|
BEGIN
|
||
|
BLOCK "040904b0"
|
||
|
BEGIN
|
||
|
VALUE "FileDescription", "Wish Application\0"
|
||
|
VALUE "OriginalFilename", "wish" STRINGIFY(TK_MAJOR_VERSION) STRINGIFY(TK_MINOR_VERSION) SUFFIX ".exe\0"
|
||
|
VALUE "CompanyName", "ActiveState Corporation\0"
|
||
|
VALUE "FileVersion", TK_PATCH_LEVEL
|
||
|
VALUE "LegalCopyright", "Copyright \251 2000 by ActiveState Corporation, et al\0"
|
||
|
VALUE "ProductName", "Tk " TK_VERSION " for Windows\0"
|
||
|
VALUE "ProductVersion", TK_PATCH_LEVEL
|
||
|
END
|
||
|
END
|
||
|
BLOCK "VarFileInfo"
|
||
|
BEGIN
|
||
|
VALUE "Translation", 0x409, 1200
|
||
|
END
|
||
|
END
|
||
|
|
||
|
//
|
||
|
// Icon
|
||
|
//
|
||
|
// The icon whose name or resource ID is lexigraphically first, is used
|
||
|
// as the application's icon.
|
||
|
//
|
||
|
|
||
|
app ICON DISCARDABLE "wish.ico"
|
||
|
|
||
|
#ifdef STATIC_BUILD
|
||
|
#include "tk_base.rc"
|
||
|
#endif
|