1
0
mirror of https://github.com/valinet/ExplorerPatcher.git synced 2025-01-31 12:03:50 +01:00

Version number is shared between projects

This commit is contained in:
Valentin Radu 2021-11-15 03:46:33 +02:00
parent 62ff17f25e
commit 02c485e0d9
5 changed files with 30 additions and 8 deletions

View File

@ -49,10 +49,11 @@ END
//
// Version
//
#include "..\version.h"
VS_VERSION_INFO VERSIONINFO
FILEVERSION 22000,318,37,1
PRODUCTVERSION 22000,318,37,1
FILEVERSION VER_FILE
PRODUCTVERSION VER_PRODUCT
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
@ -69,12 +70,12 @@ BEGIN
BEGIN
VALUE "CompanyName", "VALINET Solutions SRL"
VALUE "FileDescription", "ExplorerPatcher"
VALUE "FileVersion", "22000.318.37.1"
VER_FILE_STRING
VALUE "InternalName", "ExplorerPatcher.dll"
VALUE "LegalCopyright", "Copyright (C) 2006-2021 VALINET Solutions SRL. All rights reserved."
VALUE "OriginalFilename", "ExplorerPatcher.dll"
VALUE "ProductName", "ExplorerPatcher"
VALUE "ProductVersion", "22000.318.37.1"
VER_PRODUCT_STRING
END
END
BLOCK "VarFileInfo"

View File

@ -289,6 +289,7 @@
<ClInclude Include="..\libs\sws\SimpleWindowSwitcher\sws_WindowSwitcher.h" />
<ClInclude Include="..\libs\sws\SimpleWindowSwitcher\sws_WindowSwitcherLayout.h" />
<ClInclude Include="..\libs\sws\SimpleWindowSwitcher\sws_WindowSwitcherLayoutWindow.h" />
<ClInclude Include="..\version.h" />
<ClInclude Include="ArchiveMenu.h" />
<ClInclude Include="dxgi_imp.h" />
<ClInclude Include="fmemopen.h" />

View File

@ -111,6 +111,9 @@
<ClInclude Include="updates.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\version.h">
<Filter>Header Files\internal</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="ExplorerPatcher.rc">

View File

@ -49,10 +49,11 @@ END
//
// Version
//
#include "..\version.h"
VS_VERSION_INFO VERSIONINFO
FILEVERSION 2021,11,13,1
PRODUCTVERSION 2021,11,13,1
FILEVERSION VER_FILE
PRODUCTVERSION VER_PRODUCT
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
@ -69,12 +70,12 @@ BEGIN
BEGIN
VALUE "CompanyName", "VALINET Solutions SRL"
VALUE "FileDescription", "ExplorerPatcher Setup Program"
VALUE "FileVersion", "2021.11.13.1"
VER_FILE_STRING
VALUE "InternalName", "ep_setup.exe"
VALUE "LegalCopyright", "Copyright (C) 2006-2021 VALINET Solutions SRL. All rights reserved."
VALUE "OriginalFilename", "ep_setup.exe"
VALUE "ProductName", "ExplorerPatcher"
VALUE "ProductVersion", "2021.11.13.1"
VER_PRODUCT_STRING
END
END
BLOCK "VarFileInfo"

16
version.h Normal file
View File

@ -0,0 +1,16 @@
#define VER_MAJOR 22000
#define VER_MINOR 318
#define VER_BUILD_HI 37
#define VER_BUILD_LO 2
#define VER_FLAGS VS_FF_PRERELEASE
// The Binary form of the version numbers
#define VER_FILE VER_MAJOR, VER_MINOR, VER_BUILD_HI, VER_BUILD_LO
#define VER_PRODUCT VER_MAJOR, VER_MINOR, VER_BUILD_HI, VER_BUILD_LO
#define VER_STR(arg) #arg
// The String form of the version numbers
#define VER_FILE_STRING VALUE "FileVersion", "22000.318.37.2"
#define VER_PRODUCT_STRING VALUE "ProductVersion", "22000.318.37.2"