Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added projects/ConsoleMain/ConsoleMain.rc
Binary file not shown.
6 changes: 6 additions & 0 deletions projects/ConsoleMain/ConsoleMain.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@
<ItemGroup>
<None Include="packages.config" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\src\ConsoleMain\Version.h" />
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="ConsoleMain.rc" />
</ItemGroup>
<PropertyGroup Label="Globals">
<VCProjectVersion>16.0</VCProjectVersion>
<ProjectGuid>{3CC756EB-2FD1-44A2-82B6-61BAD37D327D}</ProjectGuid>
Expand Down
15 changes: 15 additions & 0 deletions projects/ConsoleMain/ConsoleMain.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,19 @@
<ItemGroup>
<None Include="packages.config" />
</ItemGroup>
<ItemGroup>
<Filter Include="Resources">
<UniqueIdentifier>{71932ac6-c4ea-4458-9a3d-4c406741d19f}</UniqueIdentifier>
</Filter>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\src\ConsoleMain\Version.h">
<Filter>Resources</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="ConsoleMain.rc">
<Filter>Resources</Filter>
</ResourceCompile>
</ItemGroup>
</Project>
33 changes: 33 additions & 0 deletions src/ConsoleMain/Version.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
// update these
#define VERSION_MAJOR 0
#define VERSION_MINOR 0
#define VERSION_PATCH 0

///////////////////////////////////////////////////////////////////////////////

#define _STRINGIFY(x) #x
#define STRINGIFY(x) _STRINGIFY(x)


#define VER_FILE_VERSION VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH
#define VER_FILE_VERSION_STR STRINGIFY(VERSION_MAJOR) "." \
STRINGIFY(VERSION_MINOR) "." \
STRINGIFY(VERSION_PATCH)
#define VER_PRODUCT_VERSION VER_FILE_VERSION
#define VER_PRODUCT_VERSION_STR VER_FILE_VERSION_STR

#define VER_PRODUCT_NAME_STR "CppBuildAnalyzer"
#define VER_ORIGINAL_FILENAME_STR VER_PRODUCT_NAME_STR ".exe"
#define VER_INTERNAL_NAME_STR VER_ORIGINAL_FILENAME_STR

#ifdef _DEBUG
#define VER_DEBUG_FLAGS VS_FF_DEBUG
#else
#define VER_DEBUG_FLAGS 0
#endif

#define VER_FILE_FLAGS VER_DEBUG_FLAGS
#define VER_FILE_OS VOS_NT_WINDOWS32
#define VER_FILE_TYPE VFT_APP

///////////////////////////////////////////////////////////////////////////////