xref: /freebsd/contrib/llvm-project/openmp/runtime/src/libomp.rc.var (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
1// libomp.rc.var
2
3//
4////===----------------------------------------------------------------------===//
5////
6//// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
7//// See https://llvm.org/LICENSE.txt for license information.
8//// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
9////
10////===----------------------------------------------------------------------===//
11//
12
13#include "winresrc.h"
14#include "kmp_config.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    @LIBOMP_VERSION_MAJOR@,@LIBOMP_VERSION_MINOR@,@LIBOMP_VERSION_BUILD_YEAR@,@LIBOMP_VERSION_BUILD_MONTH_DAY@
23    PRODUCTVERSION @LIBOMP_VERSION_MAJOR@,@LIBOMP_VERSION_MINOR@,@LIBOMP_VERSION_BUILD_YEAR@,@LIBOMP_VERSION_BUILD_MONTH_DAY@
24    FILEFLAGSMASK  VS_FFI_FILEFLAGSMASK
25    FILEFLAGS      0
26#if KMP_DEBUG
27        | VS_FF_DEBUG
28#endif
29#if @LIBOMP_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\0"
42                // Following values may be relatively long.
43                VALUE "CompanyName",      "LLVM\0"
44                // VALUE "LegalTrademarks",  "\0"  // Not used for now.
45                VALUE "ProductName",      "LLVM* OpenMP* Runtime Library\0"
46                VALUE "ProductVersion",   "@LIBOMP_VERSION_MAJOR@.@LIBOMP_VERSION_MINOR@\0"
47                VALUE "FileVersion",      "@LIBOMP_VERSION_BUILD@\0"
48                VALUE "InternalName",     "@LIBOMP_LIB_FILE@\0"
49                VALUE "OriginalFilename", "@LIBOMP_LIB_FILE@\0"
50                VALUE "Comments",
51                    "LLVM* OpenMP* @LIBOMP_LEGAL_TYPE@ Library "
52                    "version @LIBOMP_VERSION_MAJOR@.@LIBOMP_VERSION_MINOR@.@LIBOMP_VERSION_BUILD@ "
53                    "for @LIBOMP_LEGAL_ARCH@ architecture built on @LIBOMP_BUILD_DATE@.\0"
54#if @LIBOMP_VERSION_BUILD@ == 0
55                    VALUE "PrivateBuild",
56                        "This is a development build.\0"
57#endif
58                // VALUE "SpecialBuild",     "\0"    // Not used for now.
59
60            END
61        END
62        BLOCK "VarFileInfo"
63        BEGIN
64            VALUE "Translation", 1033, 1200
65            // 1033 -- U.S. English, 1200 -- Unicode
66        END
67    END
68
69// end of file //
70