From 736b4357dd62bcf7e36e5fbc43f7d44cba0c7457 Mon Sep 17 00:00:00 2001
From: "Ivan.Z" <53048645+chemodax@users.noreply.github.com>
Date: Sun, 7 Jan 2024 12:38:39 +0100
Subject: [PATCH] Add version info to pbench.exe.
---
src/pbench/pbench.vcxproj | 21 +++++++++++++++++++++
src/pbench/pbench.vcxproj.filters | 3 +++
src/pbench/version.rc | Bin 0 -> 2336 bytes
3 files changed, 24 insertions(+)
create mode 100644 src/pbench/version.rc
diff --git a/src/pbench/pbench.vcxproj b/src/pbench/pbench.vcxproj
index 2a1ea84..d501e00 100644
--- a/src/pbench/pbench.vcxproj
+++ b/src/pbench/pbench.vcxproj
@@ -138,6 +138,9 @@
Console
true
+
+ PBENCH_VERSION_MAJOR=$(VersionMajor);PBENCH_VERSION_MINOR=$(VersionMinor);PBENCH_VERSION_PATCH=$(VersionPatch);%(PreprocessorDefinitions)
+
@@ -153,6 +156,9 @@
Console
true
+
+ PBENCH_VERSION_MAJOR=$(VersionMajor);PBENCH_VERSION_MINOR=$(VersionMinor);PBENCH_VERSION_PATCH=$(VersionPatch);%(PreprocessorDefinitions)
+
@@ -168,6 +174,9 @@
Console
true
+
+ PBENCH_VERSION_MAJOR=$(VersionMajor);PBENCH_VERSION_MINOR=$(VersionMinor);PBENCH_VERSION_PATCH=$(VersionPatch);%(PreprocessorDefinitions)
+
@@ -187,6 +196,9 @@
true
true
+
+ PBENCH_VERSION_MAJOR=$(VersionMajor);PBENCH_VERSION_MINOR=$(VersionMinor);PBENCH_VERSION_PATCH=$(VersionPatch);%(PreprocessorDefinitions)
+
@@ -206,6 +218,9 @@
true
true
+
+ PBENCH_VERSION_MAJOR=$(VersionMajor);PBENCH_VERSION_MINOR=$(VersionMinor);PBENCH_VERSION_PATCH=$(VersionPatch);%(PreprocessorDefinitions)
+
@@ -225,6 +240,9 @@
true
true
+
+ PBENCH_VERSION_MAJOR=$(VersionMajor);PBENCH_VERSION_MINOR=$(VersionMinor);PBENCH_VERSION_PATCH=$(VersionPatch);%(PreprocessorDefinitions)
+
@@ -234,6 +252,9 @@
+
+
+
diff --git a/src/pbench/pbench.vcxproj.filters b/src/pbench/pbench.vcxproj.filters
index 4f84302..2301233 100644
--- a/src/pbench/pbench.vcxproj.filters
+++ b/src/pbench/pbench.vcxproj.filters
@@ -8,4 +8,7 @@
+
+
+
\ No newline at end of file
diff --git a/src/pbench/version.rc b/src/pbench/version.rc
new file mode 100644
index 0000000000000000000000000000000000000000..862a741bdd7b1a3c1e96f1f463d89dc60d736679
GIT binary patch
literal 2336
zcmdUwTW=Ck6ouEbiT_~&FKyBgs(mprCUO|E$v)Il1Y!)lo||
zU8>5nqE8C-PG!~Ar*4DuzWFc{t$#R#by<@k}GdHirEhmGiTtq&xv6I-x+e7+6)<6
z@I7!kOLneU+1YiYuj(WF!rq;;nqs-q!y^n2bLfG(pc9h5cTb~}qqFI!ICoUjPw_F$
zc#2O`HT3cLcRIIL_mzujMwX`ZO`m)XH(8x0@|a`)-pP_Z;&J^ujbBH9?2wC8XHM3w
z^Tt$Vwehhl3Ah`I?rx~*8`d*w_Zgc$RlH?qe{bz)&{%u4o6I8g9dBQMGt#L4uIaG>
zu^r0e@32p!{=eO4_iQQEm%BT5>&B;4kNPY&)%uh3Dcy-3(5#b|^gy2qB`4T!i|F*S
Tv*cVaIKTW&7|r+S
literal 0
HcmV?d00001