1// 2// Copyright (c) 2014-2017 The Khronos Group Inc. 3// Copyright (c) 2014-2017 Valve Corporation 4// Copyright (c) 2014-2017 LunarG, Inc. 5// 6// Licensed under the Apache License, Version 2.0 (the "License"); 7// you may not use this file except in compliance with the License. 8// You may obtain a copy of the License at 9// 10// http://www.apache.org/licenses/LICENSE-2.0 11// 12// Unless required by applicable law or agreed to in writing, software 13// distributed under the License is distributed on an "AS IS" BASIS, 14// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15// See the License for the specific language governing permissions and 16// limitations under the License. 17// 18// Author: David Pinedo <david@lunarg.com> 19// 20 21/////////////////////////////////////////////////////////////////////////////// 22/////////////////////////////////////////////////////////////////////////////// 23// Start customize section 24// Edit this section for your build 25/////////////////////////////////////////////////////////////////////////////// 26/////////////////////////////////////////////////////////////////////////////// 27 28#define VERSION_MAJOR 1 29#define VERSION_MINOR 0 30#define VERSION_PATCH 1111 31#define VERSION_BUILDNO 2222 32 33#define VERSION_BUILD_DESCRIPTION "Dev Build" 34 35// All builds except release builds should set this to 0. 36// Release builds should set this to 1. 37#define VERSION_IS_RELEASEBUILD 0 38 39 40/////////////////////////////////////////////////////////////////////////////// 41/////////////////////////////////////////////////////////////////////////////// 42// End of customize section 43/////////////////////////////////////////////////////////////////////////////// 44/////////////////////////////////////////////////////////////////////////////// 45 46#include "winres.h" 47 48#define VER_FILE_VERSION VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH, VERSION_BUILDNO 49 50#define STRINGIZE2(s) #s 51#define STRINGIZE(s) STRINGIZE2(s) 52 53#if VERSION_IS_RELEASEBUILD==1 54 #define VER_FILE_DESCRIPTION_STR "Vulkan Loader" 55 #define VER_FILE_VERSION_STR STRINGIZE(VERSION_MAJOR) \ 56 "." STRINGIZE(VERSION_MINOR) \ 57 "." STRINGIZE(VERSION_PATCH) \ 58 "." STRINGIZE(VERSION_BUILDNO) 59#else 60 #define VER_FILE_DESCRIPTION_STR "Vulkan Loader - " VERSION_BUILD_DESCRIPTION 61 #define VER_FILE_VERSION_STR STRINGIZE(VERSION_MAJOR) \ 62 "." STRINGIZE(VERSION_MINOR) \ 63 "." STRINGIZE(VERSION_PATCH) \ 64 "." STRINGIZE(VERSION_BUILDNO) \ 65 "." VERSION_BUILD_DESCRIPTION 66#endif 67 68 69VS_VERSION_INFO VERSIONINFO 70 FILEVERSION VER_FILE_VERSION 71 PRODUCTVERSION VER_FILE_VERSION 72 FILEFLAGSMASK 0x3fL 73#ifdef _DEBUG 74 FILEFLAGS VS_FF_DEBUG 75#else 76 FILEFLAGS 0x0L 77#endif 78 79 FILEOS 0x00000L 80 FILETYPE VFT_DLL 81 FILESUBTYPE 0x0L 82BEGIN 83 BLOCK "StringFileInfo" 84 BEGIN 85 BLOCK "04090000" 86 BEGIN 87 VALUE "FileDescription", VER_FILE_DESCRIPTION_STR 88 VALUE "FileVersion", VER_FILE_VERSION_STR 89 VALUE "LegalCopyright", "Copyright (C) 2015-2017" 90 VALUE "ProductName", "Vulkan Runtime" 91 VALUE "ProductVersion", VER_FILE_VERSION_STR 92 END 93 END 94 BLOCK "VarFileInfo" 95 BEGIN 96 VALUE "Translation", 0x409, 0000 97 END 98END 99