Skip to content

Commit 7747883

Browse files
committed
Fix Resource Copyright and Company Name
Signed-off-by: Neil R. Spruit <neil.r.spruit@intel.com>
1 parent 958fa37 commit 7747883

4 files changed

Lines changed: 15 additions & 4 deletions

File tree

CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ add_definitions(-DLOADER_VERSION_PATCH=${PROJECT_VERSION_PATCH})
7676

7777
file(WRITE "${CMAKE_BINARY_DIR}/VERSION" "${PROJECT_VERSION}")
7878

79+
string(TIMESTAMP CURRENT_YEAR "%Y")
80+
7981
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
8082
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
8183
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
@@ -341,7 +343,7 @@ else()
341343
endif()
342344
set(CPACK_PACKAGE_RELOCATABLE FALSE)
343345
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "oneAPI Level Zero")
344-
set(CPACK_PACKAGE_VENDOR "Intel")
346+
set(CPACK_PACKAGE_VENDOR "Intel Corporation")
345347

346348
set(CPACK_PACKAGE_INSTALL_DIRECTORY ${CMAKE_INSTALL_PREFIX})
347349
set(CPACK_PACKAGE_CONTACT "Intel Corporation")

source/ZeLoaderVersion.rc.in

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@
88

99
#define VER_PRODUCT_NAME_STR "oneAPI Level Zero Loader for Windows(R)"
1010

11-
#define VER_LEGALCOPYRIGHT_STR "Copyright (C) 2023 Intel Corporation"
11+
#define VER_LEGALCOPYRIGHT_STR "Copyright (C) 2020-@CURRENT_YEAR@ Intel Corporation"
12+
13+
#define VER_COMPANY_NAME_STR "Intel Corporation"
1214

1315
1 VERSIONINFO
1416
FILEVERSION VER_FILEVERSION
@@ -18,6 +20,7 @@ BEGIN
1820
BEGIN
1921
BLOCK "040904E4"
2022
BEGIN
23+
VALUE "CompanyName", VER_COMPANY_NAME_STR
2124
VALUE "FileDescription", VER_FILEDESCRIPTION_STR
2225
VALUE "FileVersion", VER_FILEVERSION_STR
2326
VALUE "ProductVersion", VER_PRODUCTVERSION_STR

source/layers/tracing/ZeTracingLayerVersion.rc.in

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@
88

99
#define VER_PRODUCT_NAME_STR "oneAPI Level Zero API Tracing Layer for Windows(R)"
1010

11-
#define VER_LEGALCOPYRIGHT_STR "Copyright (C) 2020 Intel Corporation"
11+
#define VER_LEGALCOPYRIGHT_STR "Copyright (C) 2020-@CURRENT_YEAR@ Intel Corporation"
12+
13+
#define VER_COMPANY_NAME_STR "Intel Corporation"
1214

1315
1 VERSIONINFO
1416
FILEVERSION VER_FILEVERSION
@@ -18,6 +20,7 @@ BEGIN
1820
BEGIN
1921
BLOCK "040904E4"
2022
BEGIN
23+
VALUE "CompanyName", VER_COMPANY_NAME_STR
2124
VALUE "FileDescription", VER_FILEDESCRIPTION_STR
2225
VALUE "FileVersion", VER_FILEVERSION_STR
2326
VALUE "ProductVersion", VER_PRODUCTVERSION_STR

source/layers/validation/ZeValidationLayerVersion.rc.in

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@
88

99
#define VER_PRODUCT_NAME_STR "oneAPI Level Zero Validation Layer for Windows(R)"
1010

11-
#define VER_LEGALCOPYRIGHT_STR "Copyright (C) 2020 Intel Corporation"
11+
#define VER_LEGALCOPYRIGHT_STR "Copyright (C) 2020-@CURRENT_YEAR@ Intel Corporation"
12+
13+
#define VER_COMPANY_NAME_STR "Intel Corporation"
1214

1315
1 VERSIONINFO
1416
FILEVERSION VER_FILEVERSION
@@ -18,6 +20,7 @@ BEGIN
1820
BEGIN
1921
BLOCK "040904E4"
2022
BEGIN
23+
VALUE "CompanyName", VER_COMPANY_NAME_STR
2124
VALUE "FileDescription", VER_FILEDESCRIPTION_STR
2225
VALUE "FileVersion", VER_FILEVERSION_STR
2326
VALUE "ProductVersion", VER_PRODUCTVERSION_STR

0 commit comments

Comments
 (0)