source: trunk/kitgen/tclkit.rc

Last change on this file was 175, checked in by demin, 12 years ago

initial commit

File size: 2.7 KB
Line 
1/* RCS: @(#) $Id: tclkit.rc,v 1.2 2006/01/12 09:00:23 jcw Exp $
2 *
3 * Version Resource Script
4 *
5 */
6
7#define RESOURCE_INCLUDED
8
9#include <winver.h>
10#include <tcl.h>
11
12#ifdef TCLKIT_WITH_TK
13#include <tk.h>
14#endif
15
16#define STRINGIFY1(x) #x
17#define STRINGIFY(x) STRINGIFY1(x)
18
19
20/*
21 * build-up the name suffix that defines the type of build this is.
22 */
23
24#ifdef TCL_THREADS
25#define SUFFIX_THREADS "t"
26#else
27#define SUFFIX_THREADS ""
28#endif
29
30#if STATIC_BUILD
31#define SUFFIX_STATIC "s"
32#else
33#define SUFFIX_STATIC ""
34#endif
35
36#ifdef DEBUG
37#define SUFFIX_DEBUG "g"
38#else
39#define SUFFIX_DEBUG ""
40#endif
41
42#define SUFFIX SUFFIX_THREADS SUFFIX_STATIC SUFFIX_DEBUG
43
44
45LANGUAGE 0x9, 0x1 /* LANG_ENGLISH, SUBLANG_DEFAULT */
46
47VS_VERSION_INFO VERSIONINFO
48#ifdef TCLKIT_WITH_TK
49 FILEVERSION TK_MAJOR_VERSION,TK_MINOR_VERSION,TK_RELEASE_LEVEL,TK_RELEASE_SERIAL
50 PRODUCTVERSION TK_MAJOR_VERSION,TK_MINOR_VERSION,TK_RELEASE_LEVEL,TK_RELEASE_SERIAL
51#else
52 FILEVERSION TCL_MAJOR_VERSION,TCL_MINOR_VERSION,TCL_RELEASE_LEVEL,TCL_RELEASE_SERIAL
53 PRODUCTVERSION TCL_MAJOR_VERSION,TCL_MINOR_VERSION,TCL_RELEASE_LEVEL,TCL_RELEASE_SERIAL
54#endif
55 FILEFLAGSMASK 0x3fL
56#ifdef DEBUG
57 FILEFLAGS VS_FF_DEBUG
58#else
59 FILEFLAGS 0x0L
60#endif
61 FILEOS VOS__WINDOWS32
62 FILETYPE VFT_DLL
63 FILESUBTYPE 0x0L
64BEGIN
65 BLOCK "StringFileInfo"
66 BEGIN
67 BLOCK "040904b0"
68 BEGIN
69 VALUE "FileDescription", "Tclkit, a standalone runtime for Tcl/Tk\0"
70 VALUE "OriginalFilename", "tclkit-gui.exe\0"
71 VALUE "CompanyName", "Equi4 Software\0"
72 VALUE "LegalCopyright", "Copyright \251 1989-2003 by J.Ousterhout et al.\0"
73#ifdef TCLKIT_WITH_TK
74 VALUE "FileVersion", TK_PATCH_LEVEL
75 VALUE "ProductName", "Tclkit " TK_VERSION " for Windows\0"
76 VALUE "ProductVersion", TK_PATCH_LEVEL
77#else
78 VALUE "FileVersion", TCL_PATCH_LEVEL
79 VALUE "ProductName", "Tclkit " TCL_VERSION " for Windows\0"
80 VALUE "ProductVersion", TCL_PATCH_LEVEL
81#endif
82 END
83 END
84 BLOCK "VarFileInfo"
85 BEGIN
86 VALUE "Translation", 0x409, 1200
87 END
88END
89
90/*
91 * Icon
92 */
93
94tk ICON DISCARDABLE "tclkit.ico"
95
96#ifdef TCLKIT_WITH_TK
97/*
98 * Include the base resources.
99 */
100
101#include "tk_base.rc"
102
103/*
104 * This enables themed scrollbars in XP by trying to use comctl32 v6.
105 */
106
107#ifndef RT_MANIFEST
108#define RT_MANIFEST 24
109#endif
110#ifndef CREATEPROCESS_MANIFEST_RESOURCE_ID
111#define CREATEPROCESS_MANIFEST_RESOURCE_ID 1
112#endif
113CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "wish.exe.manifest"
114
115#endif
Note: See TracBrowser for help on using the repository browser.