1// libomp.rc.var
2
3//
4////===----------------------------------------------------------------------===//
5////
6////                     The LLVM Compiler Infrastructure
7////
8//// This file is dual licensed under the MIT and the University of Illinois Open
9//// Source Licenses. See LICENSE.txt for details.
10////
11////===----------------------------------------------------------------------===//
12//
13
14#include "winres.h"
15
16LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US    // English (U.S.) resources
17#pragma code_page(1252)
18
19VS_VERSION_INFO VERSIONINFO
20    // Parts of FILEVERSION and PRODUCTVERSION are 16-bit fields, entire build date yyyymmdd
21    // does not fit into one version part, so we need to split it into yyyy and mmdd:
22    FILEVERSION    $KMP_VERSION_MAJOR,$KMP_VERSION_MINOR,${{ our $KMP_VERSION_BUILD; int( $KMP_VERSION_BUILD / 10000 ) . "," . ( $KMP_VERSION_BUILD % 10000 ) }}
23    PRODUCTVERSION $KMP_VERSION_MAJOR,$KMP_VERSION_MINOR,${{ our $KMP_VERSION_BUILD; int( $KMP_VERSION_BUILD / 10000 ) . "," . ( $KMP_VERSION_BUILD % 10000 ) }}
24    FILEFLAGSMASK  VS_FFI_FILEFLAGSMASK
25    FILEFLAGS      0
26    #if $KMP_DIAG || $KMP_DEBUG_INFO
27        | VS_FF_DEBUG
28    #endif
29    #if $KMP_VERSION_BUILD == 0
30        | VS_FF_PRIVATEBUILD | VS_FF_PRERELEASE
31    #endif
32    FILEOS          VOS_NT_WINDOWS32    // Windows* Server* 2003, XP*, 2000, or NT*
33    FILETYPE        VFT_DLL
34    BEGIN
35        BLOCK "StringFileInfo"
36        BEGIN
37            BLOCK "040904b0"            // U.S. English, Unicode (0x04b0 == 1200)
38            BEGIN
39
40                // FileDescription and LegalCopyright should be short.
41                VALUE "FileDescription",  "LLVM* OpenMP* Runtime Library${{ our $MESSAGE_CATALOG; $MESSAGE_CATALOG ? " Message Catalog" : "" }}\0"
42                // Following values may be relatively long.
43                VALUE "CompanyName",      "Intel Corporation\0"
44                // VALUE "LegalTrademarks",  "\0"  // Not used for now.
45                VALUE "ProductName",      "LLVM* OpenMP* Runtime Library\0"
46                VALUE "ProductVersion",   "$KMP_VERSION_MAJOR.$KMP_VERSION_MINOR\0"
47                VALUE "FileVersion",      "$KMP_VERSION_BUILD\0"
48                VALUE "InternalName",     "$KMP_FILE\0"
49                VALUE "OriginalFilename", "$KMP_FILE\0"
50                VALUE "Comments",
51                    "LLVM* OpenMP* ${{ our ( $MESSAGE_CATALOG, $KMP_TYPE ); $MESSAGE_CATALOG ? "Runtime Library Message Catalog" : "$KMP_TYPE Library" }} "
52                    "version $KMP_VERSION_MAJOR.$KMP_VERSION_MINOR.$KMP_VERSION_BUILD "
53                    "for $KMP_ARCH architecture built on $KMP_BUILD_DATE.\0"
54                #if $KMP_VERSION_BUILD == 0
55                    VALUE "PrivateBuild",
56                        "This is a development build for internal testing purposes only. "
57                        "Do not distribute it outside of Intel.\0"
58                #endif
59                // VALUE "SpecialBuild",     "\0"    // Not used for now.
60
61            END
62        END
63        BLOCK "VarFileInfo"
64        BEGIN
65            VALUE "Translation", ${{ our ( $MESSAGE_CATALOG, $LANGUAGE ); $MESSAGE_CATALOG ? $LANGUAGE : 1033 }}, 1200
66            // 1033 -- U.S. English, 1200 -- Unicode
67        END
68    END
69
70// end of file //
71