Add version information to ze_intel_gpu DLL

*Adds template for setting level zero version
  *Updates level zero cmakelists to include resource file
   if defined

Related-To: NEO-5648

Signed-off-by: Jemale Lockett <jemale.lockett@intel.com>
This commit is contained in:
Jemale Lockett
2021-03-24 16:56:22 -04:00
committed by Compute-Runtime-Automation
parent ed31aaedb8
commit b563c59e76
2 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,14 @@
/*
* Copyright (C) 2021 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#ifndef ZE_INTEL_GPU_VERSION_H
#define ZE_INTEL_GPU_VERSION_H
#define VER_FILEVERSION ${PROJECT_VERSION_MAJOR},${PROJECT_VERSION_MINOR},${PROJECT_VERSION_PATCH}
#define VER_FILEVERSION_STR "${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}\0"
#endif /* ZE_INTEL_GPU_VERSION_H */