1 | // RCS: @(#) $Id: tclsh.rc,v 1.11 2004/02/07 21:47:19 davygrvy Exp $ |
---|
2 | // |
---|
3 | // Version Resource Script |
---|
4 | // |
---|
5 | |
---|
6 | #include <winver.h> |
---|
7 | #include <tcl.h> |
---|
8 | |
---|
9 | // |
---|
10 | // build-up the name suffix that defines the type of build this is. |
---|
11 | // |
---|
12 | #if TCL_THREADS |
---|
13 | #define SUFFIX_THREADS "t" |
---|
14 | #else |
---|
15 | #define SUFFIX_THREADS "" |
---|
16 | #endif |
---|
17 | |
---|
18 | #if STATIC_BUILD |
---|
19 | #define SUFFIX_STATIC "s" |
---|
20 | #else |
---|
21 | #define SUFFIX_STATIC "" |
---|
22 | #endif |
---|
23 | |
---|
24 | #if DEBUG && !UNCHECKED |
---|
25 | #define SUFFIX_DEBUG "g" |
---|
26 | #else |
---|
27 | #define SUFFIX_DEBUG "" |
---|
28 | #endif |
---|
29 | |
---|
30 | #define SUFFIX SUFFIX_THREADS SUFFIX_STATIC SUFFIX_DEBUG |
---|
31 | |
---|
32 | |
---|
33 | LANGUAGE 0x9, 0x1 /* LANG_ENGLISH, SUBLANG_DEFAULT */ |
---|
34 | |
---|
35 | VS_VERSION_INFO VERSIONINFO |
---|
36 | FILEVERSION TCL_MAJOR_VERSION,TCL_MINOR_VERSION,TCL_RELEASE_LEVEL,TCL_RELEASE_SERIAL |
---|
37 | PRODUCTVERSION TCL_MAJOR_VERSION,TCL_MINOR_VERSION,TCL_RELEASE_LEVEL,TCL_RELEASE_SERIAL |
---|
38 | FILEFLAGSMASK 0x3fL |
---|
39 | #ifdef DEBUG |
---|
40 | FILEFLAGS VS_FF_DEBUG |
---|
41 | #else |
---|
42 | FILEFLAGS 0x0L |
---|
43 | #endif |
---|
44 | FILEOS VOS__WINDOWS32 |
---|
45 | FILETYPE VFT_APP |
---|
46 | FILESUBTYPE 0x0L |
---|
47 | BEGIN |
---|
48 | BLOCK "StringFileInfo" |
---|
49 | BEGIN |
---|
50 | BLOCK "040904b0" |
---|
51 | BEGIN |
---|
52 | VALUE "FileDescription", "Tclsh Application\0" |
---|
53 | VALUE "OriginalFilename", "tclsh" STRINGIFY(TCL_MAJOR_VERSION) STRINGIFY(TCL_MINOR_VERSION) SUFFIX ".exe\0" |
---|
54 | VALUE "CompanyName", "ActiveState Corporation\0" |
---|
55 | VALUE "FileVersion", TCL_PATCH_LEVEL |
---|
56 | VALUE "LegalCopyright", "Copyright \251 2000 by ActiveState Corporation, et al\0" |
---|
57 | VALUE "ProductName", "Tcl " TCL_VERSION " for Windows\0" |
---|
58 | VALUE "ProductVersion", TCL_PATCH_LEVEL |
---|
59 | END |
---|
60 | END |
---|
61 | BLOCK "VarFileInfo" |
---|
62 | BEGIN |
---|
63 | VALUE "Translation", 0x409, 1200 |
---|
64 | END |
---|
65 | END |
---|
66 | |
---|
67 | // |
---|
68 | // Icon |
---|
69 | // |
---|
70 | |
---|
71 | tclsh ICON DISCARDABLE "tclsh.ico" |
---|