Unify the version information

This commit is contained in:
Cameron Gutman
2018-10-20 18:47:36 -07:00
parent 727e8c0339
commit 44625583b9
8 changed files with 37 additions and 6 deletions

21
mist/mist.rc Normal file
View File

@@ -0,0 +1,21 @@
#include <windows.h>
#include "../version.h"
VS_VERSION_INFO VERSIONINFO
FILEVERSION VER_FILEVERSION
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904E4"
BEGIN
VALUE "CompanyName", VER_COMPANYNAME_STR
VALUE "FileDescription", "Moonlight Internet Streaming Tester"
VALUE "FileVersion", VER_FILEVERSION_STR
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1252
END
END

View File

@@ -161,6 +161,12 @@
<ItemGroup>
<ClCompile Include="mist.cpp" />
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="mist.rc" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\version.h" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>

View File

@@ -19,4 +19,9 @@
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\version.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
</Project>