Index: build/premake/premake5.lua =================================================================== --- build/premake/premake5.lua +++ build/premake/premake5.lua @@ -961,7 +961,7 @@ -- Platform Specifics if os.istarget("windows") then - + files { source_root.."lib/sysdep/os/win/pyrogenesis.rc" } files { source_root.."lib/sysdep/os/win/icon.rc" } -- from "lowlevel" static lib; must be added here to be linked in files { source_root.."lib/sysdep/os/win/error_dialog.rc" } Index: source/lib/sysdep/os/win/pyrogenesis.h =================================================================== --- source/lib/sysdep/os/win/pyrogenesis.h +++ source/lib/sysdep/os/win/pyrogenesis.h @@ -0,0 +1,37 @@ +/* Copyright (C) 2018 Wildfire Games. + * + * Permission is hereby granted, free of charge, to any person obtaining + * a copy of this software and associated documentation files (the + * "Software"), to deal in the Software without restriction, including + * without limitation the rights to use, copy, modify, merge, publish, + * distribute, sublicense, and/or sell copies of the Software, and to + * permit persons to whom the Software is furnished to do so, subject to + * the following conditions: + * + * The above copyright notice and this permission notice shall be included + * in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY + * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + */ + +//{{NO_DEPENDENCIES}} +// Microsoft Visual C++ generated include file. +// Used by pyrogenesis.rc +// + +// Next default values for new objects +// +#ifdef APSTUDIO_INVOKED +#ifndef APSTUDIO_READONLY_SYMBOLS +#define _APS_NEXT_RESOURCE_VALUE 101 +#define _APS_NEXT_COMMAND_VALUE 40001 +#define _APS_NEXT_CONTROL_VALUE 1000 +#define _APS_NEXT_SYMED_VALUE 101 +#endif +#endif Index: source/lib/sysdep/os/win/pyrogenesis.rc =================================================================== --- source/lib/sysdep/os/win/pyrogenesis.rc +++ source/lib/sysdep/os/win/pyrogenesis.rc @@ -0,0 +1,65 @@ +#include "pyrogenesis.h" + + + +///////////////////////////////////////////////////////////////////////////// +// +// TEXTINCLUDE +// + +#ifdef APSTUDIO_INVOKED +1 TEXTINCLUDE +BEGIN + "pyrogenesis.h\0" +END + +2 TEXTINCLUDE +BEGIN + "\0" +END + +3 TEXTINCLUDE +BEGIN + "\r\n" + "\0" +END + +#endif // APSTUDIO_INVOKED + +///////////////////////////////////////////////////////////////////////////// +// +// Version +// + +VS_VERSION_INFO VERSIONINFO + FILEVERSION 0,0,23,21000 + PRODUCTVERSION 0,0,23,21000 + FILEFLAGSMASK 0x3fL +#ifdef _DEBUG + FILEFLAGS 0x1L +#else + FILEFLAGS 0x0L +#endif + FILEOS 0x40004L + FILETYPE 0x1L + FILESUBTYPE 0x0L +BEGIN + BLOCK "StringFileInfo" + BEGIN + BLOCK "040c04b0" + BEGIN + VALUE "CompanyName", "Wildfire Games" + VALUE "FileDescription", "0 A.D. : Empires Ascendant" + VALUE "FileVersion", "0.0.23.21000" + VALUE "InternalName", "pyrogenesis.rc" + VALUE "LegalCopyright", "Copyright (C) 2018 Wildfire Games" + VALUE "OriginalFilename", "pyrogenesis.rc" + VALUE "ProductName", "0 A.D. : Empires Ascendant" + VALUE "ProductVersion", "0.0.23.21000" + END + END + BLOCK "VarFileInfo" + BEGIN + VALUE "Translation", 0x40c, 1200 + END +END