Skip to content

Commit

Permalink
Resolves edenhill#429
Browse files Browse the repository at this point in the history
Added resource kcat.rc containing version info to include in the binary
Added resource.h
  • Loading branch information
drlsdee committed Apr 19, 2023
1 parent c0becac commit e443669
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
Binary file added win32/kcat.rc
Binary file not shown.
4 changes: 4 additions & 0 deletions win32/kcat.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@
<ClInclude Include="..\kcat.h" />
<ClInclude Include="..\rdport.h" />
<ClInclude Include="..\input.h" />
<ClInclude Include="resource.h" />
<ClInclude Include="win32_config.h" />
<ClInclude Include="wingetopt.h" />
</ItemGroup>
Expand All @@ -129,6 +130,9 @@
<ItemGroup>
<None Include="packages.config" />
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="kcat.rc" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
<Import Project="packages\librdkafka.redist.1.8.2\build\native\librdkafka.redist.targets" Condition="Exists('packages\librdkafka.redist.1.8.2\build\native\librdkafka.redist.targets')" />
Expand Down
14 changes: 14 additions & 0 deletions win32/resource.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by kcat.rc

// Next default values for new objects
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE 101
#define _APS_NEXT_COMMAND_VALUE 40001
#define _APS_NEXT_CONTROL_VALUE 1001
#define _APS_NEXT_SYMED_VALUE 101
#endif
#endif

0 comments on commit e443669

Please sign in to comment.