summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorOdd Stranne <odd@mullvad.net>2018-06-21 13:37:12 +0200
committerOdd Stranne <odd@mullvad.net>2018-07-12 14:52:03 +0200
commit2a636677f1c991df767e82be05e6c43e499c6233 (patch)
tree815fe63d735c488faf2a70e8cbd79594de350457
parentb5b8cf466a0858168b117281a8836f2a60dfd25f (diff)
downloadmullvadvpn-2a636677f1c991df767e82be05e6c43e499c6233.tar.xz
mullvadvpn-2a636677f1c991df767e82be05e6c43e499c6233.zip
Add version information for C++ binaries
-rw-r--r--windows/windns/src/windns/windns.rc25
-rw-r--r--windows/windns/src/windns/windns.vcxproj3
-rw-r--r--windows/windns/src/windns/windns.vcxproj.filters3
-rw-r--r--windows/winfw/src/winfw/winfw.rc25
-rw-r--r--windows/winfw/src/winfw/winfw.vcxproj3
-rw-r--r--windows/winfw/src/winfw/winfw.vcxproj.filters3
-rw-r--r--windows/winroute/src/winroute/winroute.rc25
-rw-r--r--windows/winroute/src/winroute/winroute.vcxproj3
-rw-r--r--windows/winroute/src/winroute/winroute.vcxproj.filters3
9 files changed, 93 insertions, 0 deletions
diff --git a/windows/windns/src/windns/windns.rc b/windows/windns/src/windns/windns.rc
new file mode 100644
index 0000000000..baacc82c17
--- /dev/null
+++ b/windows/windns/src/windns/windns.rc
@@ -0,0 +1,25 @@
+#include "../../../../dist-assets/windows/version.h"
+
+1 VERSIONINFO
+FILEVERSION MAJOR_VERSION,MINOR_VERSION,PATCH_VERSION,0
+PRODUCTVERSION MAJOR_VERSION,MINOR_VERSION,PATCH_VERSION,0
+BEGIN
+BLOCK "StringFileInfo"
+BEGIN
+ BLOCK "040904E4"
+ BEGIN
+ VALUE "CompanyName", "Amagicom AB"
+ VALUE "FileDescription", "Mullvad VPN DNS module"
+ VALUE "FileVersion", PRODUCT_VERSION
+ VALUE "InternalName", "windns"
+ VALUE "LegalCopyright", "(c) 2018 Amagicom AB"
+ VALUE "OriginalFilename", "windns.dll"
+ VALUE "ProductName", "Mullvad VPN"
+ VALUE "ProductVersion", PRODUCT_VERSION
+ END
+END
+BLOCK "VarFileInfo"
+BEGIN
+ VALUE "Translation", 0x409, 1252
+END
+END
diff --git a/windows/windns/src/windns/windns.vcxproj b/windows/windns/src/windns/windns.vcxproj
index b495e10f0b..a5fb31bb55 100644
--- a/windows/windns/src/windns/windns.vcxproj
+++ b/windows/windns/src/windns/windns.vcxproj
@@ -203,6 +203,9 @@
<ClCompile Include="windns.cpp" />
<ClCompile Include="windnscontext.cpp" />
</ItemGroup>
+ <ItemGroup>
+ <ResourceCompile Include="windns.rc" />
+ </ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
diff --git a/windows/windns/src/windns/windns.vcxproj.filters b/windows/windns/src/windns/windns.vcxproj.filters
index 07619150e9..3c10de37d9 100644
--- a/windows/windns/src/windns/windns.vcxproj.filters
+++ b/windows/windns/src/windns/windns.vcxproj.filters
@@ -24,4 +24,7 @@
<ClCompile Include="netsh.cpp" />
<ClCompile Include="interfaceconfig.cpp" />
</ItemGroup>
+ <ItemGroup>
+ <ResourceCompile Include="windns.rc" />
+ </ItemGroup>
</Project> \ No newline at end of file
diff --git a/windows/winfw/src/winfw/winfw.rc b/windows/winfw/src/winfw/winfw.rc
new file mode 100644
index 0000000000..a97437064d
--- /dev/null
+++ b/windows/winfw/src/winfw/winfw.rc
@@ -0,0 +1,25 @@
+#include "../../../../dist-assets/windows/version.h"
+
+1 VERSIONINFO
+FILEVERSION MAJOR_VERSION,MINOR_VERSION,PATCH_VERSION,0
+PRODUCTVERSION MAJOR_VERSION,MINOR_VERSION,PATCH_VERSION,0
+BEGIN
+BLOCK "StringFileInfo"
+BEGIN
+ BLOCK "040904E4"
+ BEGIN
+ VALUE "CompanyName", "Amagicom AB"
+ VALUE "FileDescription", "Mullvad VPN firewall module"
+ VALUE "FileVersion", PRODUCT_VERSION
+ VALUE "InternalName", "winfw"
+ VALUE "LegalCopyright", "(c) 2018 Amagicom AB"
+ VALUE "OriginalFilename", "winfw.dll"
+ VALUE "ProductName", "Mullvad VPN"
+ VALUE "ProductVersion", PRODUCT_VERSION
+ END
+END
+BLOCK "VarFileInfo"
+BEGIN
+ VALUE "Translation", 0x409, 1252
+END
+END
diff --git a/windows/winfw/src/winfw/winfw.vcxproj b/windows/winfw/src/winfw/winfw.vcxproj
index 3753f1d220..7f6a919cd2 100644
--- a/windows/winfw/src/winfw/winfw.vcxproj
+++ b/windows/winfw/src/winfw/winfw.vcxproj
@@ -66,6 +66,9 @@
<ItemGroup>
<None Include="winfw.def" />
</ItemGroup>
+ <ItemGroup>
+ <ResourceCompile Include="winfw.rc" />
+ </ItemGroup>
<PropertyGroup Label="Globals">
<VCProjectVersion>15.0</VCProjectVersion>
<ProjectGuid>{801E7DEB-2BD0-4E60-9E4B-74A5CA12ADCB}</ProjectGuid>
diff --git a/windows/winfw/src/winfw/winfw.vcxproj.filters b/windows/winfw/src/winfw/winfw.vcxproj.filters
index 40283172a8..a43d966614 100644
--- a/windows/winfw/src/winfw/winfw.vcxproj.filters
+++ b/windows/winfw/src/winfw/winfw.vcxproj.filters
@@ -86,4 +86,7 @@
<ItemGroup>
<None Include="winfw.def" />
</ItemGroup>
+ <ItemGroup>
+ <ResourceCompile Include="winfw.rc" />
+ </ItemGroup>
</Project> \ No newline at end of file
diff --git a/windows/winroute/src/winroute/winroute.rc b/windows/winroute/src/winroute/winroute.rc
new file mode 100644
index 0000000000..2da7924287
--- /dev/null
+++ b/windows/winroute/src/winroute/winroute.rc
@@ -0,0 +1,25 @@
+#include "../../../../dist-assets/windows/version.h"
+
+1 VERSIONINFO
+FILEVERSION MAJOR_VERSION,MINOR_VERSION,PATCH_VERSION,0
+PRODUCTVERSION MAJOR_VERSION,MINOR_VERSION,PATCH_VERSION,0
+BEGIN
+BLOCK "StringFileInfo"
+BEGIN
+ BLOCK "040904E4"
+ BEGIN
+ VALUE "CompanyName", "Amagicom AB"
+ VALUE "FileDescription", "Mullvad VPN routing module"
+ VALUE "FileVersion", PRODUCT_VERSION
+ VALUE "InternalName", "winroute"
+ VALUE "LegalCopyright", "(c) 2018 Amagicom AB"
+ VALUE "OriginalFilename", "winroute.dll"
+ VALUE "ProductName", "Mullvad VPN"
+ VALUE "ProductVersion", PRODUCT_VERSION
+ END
+END
+BLOCK "VarFileInfo"
+BEGIN
+ VALUE "Translation", 0x409, 1252
+END
+END
diff --git a/windows/winroute/src/winroute/winroute.vcxproj b/windows/winroute/src/winroute/winroute.vcxproj
index 4cd827e52d..1ed84cd53c 100644
--- a/windows/winroute/src/winroute/winroute.vcxproj
+++ b/windows/winroute/src/winroute/winroute.vcxproj
@@ -33,6 +33,9 @@
<ItemGroup>
<None Include="winroute.def" />
</ItemGroup>
+ <ItemGroup>
+ <ResourceCompile Include="winroute.rc" />
+ </ItemGroup>
<PropertyGroup Label="Globals">
<VCProjectVersion>15.0</VCProjectVersion>
<ProjectGuid>{89C5CDE8-04DB-4D9C-A8D8-7F786DAFB6D4}</ProjectGuid>
diff --git a/windows/winroute/src/winroute/winroute.vcxproj.filters b/windows/winroute/src/winroute/winroute.vcxproj.filters
index 0ca11ffdb2..62487f561b 100644
--- a/windows/winroute/src/winroute/winroute.vcxproj.filters
+++ b/windows/winroute/src/winroute/winroute.vcxproj.filters
@@ -15,4 +15,7 @@
<ItemGroup>
<None Include="winroute.def" />
</ItemGroup>
+ <ItemGroup>
+ <ResourceCompile Include="winroute.rc" />
+ </ItemGroup>
</Project> \ No newline at end of file