-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
win_dll_metadata.rc
76 lines (67 loc) · 3.11 KB
/
win_dll_metadata.rc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
/*
* xrlib:
* Copyright (c) 2024 Rune Berg (http://runeberg.io | https://github.com/1runeberg)
* Licensed under Apache 2.0 (https://www.apache.org/licenses/LICENSE-2.0)
* SPDX-License-Identifier: Apache-2.0
*
* openxr_loader:
* Copyright (c) 2017-2024, The Khronos Group Inc.
* Copyright (c) 2017 Valve Corporation
* Copyright (c) 2017 LunarG, Inc.
*
* SPDX-License-Identifier: Apache-2.0 OR MIT
* Initial Author: Mark Young <marky@LunarG.com>
*
* =============================================================================
* THIS WINDOWS RESOURCE FILE REPLACES OPENXR'S LOADER RC DURING XRLIB CMAKE RUN
* =============================================================================
*/
#ifdef __MINGW32__
#include "winresrc.h" // For GCC/GNU toolchain
#else
#include "winres.h" // MSVC toolchain
#endif
#define XRLIB_NAME "xrlib"
#define XRLIB_VERSION_MAJOR 1
#define XRLIB_VERSION_MINOR 0
#define XRLIB_VERSION_PATCH 0
#define XRLIB_VERSION_TWEAK 0
#define XRLIB_VERSION XRLIB_VERSION_MAJOR "." XRLIB_VERSION_MINOR "." XRLIB_VERSION_PATCH "." XRLIB_VERSION_TWEAK
#define OPENXR_VERSION "1.1.38"
#define XRLIB_PRODUCT_NAME "xrlib 1.0.0.0 | openxr_loader 1.1.38"
#define XRLIB_COMPANY_NAME "https://github.com/1runeberg/xrlib"
#define XRLIB_FILE_DESC "xrlib - OpenXR wrapper library for modern C++"
#define XRLIB_FILENAME XRLIB_NAME ".dll"
#define XRLIB_COPYRIGHT "xrlib (c) 2024 Rune Berg | openxr_loader (c) 2017-24 The Khronos Group Inc."
VS_VERSION_INFO VERSIONINFO
FILEVERSION XRLIB_VERSION_MAJOR,XRLIB_VERSION_MINOR,XRLIB_VERSION_PATCH,XRLIB_VERSION_TWEAK // Define the file version using macros from version.h
PRODUCTVERSION XRLIB_VERSION_MAJOR,XRLIB_VERSION_MINOR,XRLIB_VERSION_PATCH,XRLIB_VERSION_TWEAK // Define the product version using macros from version.h
FILEFLAGSMASK 0x3fL // Specify which flags in FILEFLAGS are valid (0x3fL means all six defined flags can be used)
#ifdef _DEBUG
FILEFLAGS VS_FF_DEBUG // If this is a debug build, set the debug flag
#else
FILEFLAGS 0x0L // Otherwise, no special flags are set
#endif
FILEOS VOS_NT_WINDOWS32 // Targeting Windows NT-based OS (both 32-bit and 64-bit)
FILETYPE VFT_DLL // Identify as a shared library (dll)
FILESUBTYPE VFT2_UNKNOWN // No specific subtype
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904B0" // Language and code page: 0x0409 is U.S. English, 0x04B0 is Unicode
BEGIN
VALUE "CompanyName", XRLIB_COMPANY_NAME
VALUE "FileDescription", XRLIB_FILE_DESC
VALUE "FileVersion", XRLIB_VERSION
VALUE "InternalName", XRLIB_NAME
VALUE "OriginalFilename", XRLIB_FILENAME
VALUE "ProductName", XRLIB_PRODUCT_NAME
VALUE "ProductVersion", XRLIB_VERSION
VALUE "Copyright", XRLIB_COPYRIGHT
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x1409, 0x04B0 // Language: 0x0409 (U.S. English), Code page: 0x04B0 (Unicode)
END
END