Skip to content

Commit

Permalink
Added version resource for the integration DLL
Browse files Browse the repository at this point in the history
  • Loading branch information
acidicoala committed Jun 25, 2021
1 parent 7d2d8d7 commit c1bdc54
Show file tree
Hide file tree
Showing 6 changed files with 141 additions and 0 deletions.
Binary file added Integration/Integration.aps
Binary file not shown.
100 changes: 100 additions & 0 deletions Integration/Integration.rc
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
// Microsoft Visual C++ generated resource script.
//
#include "resource.h"

#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#include "winres.h"

/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS

/////////////////////////////////////////////////////////////////////////////
// English (United States) resources

#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
#pragma code_page(1252)

#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//

1 TEXTINCLUDE
BEGIN
"resource.h\0"
END

2 TEXTINCLUDE
BEGIN
"#include ""winres.h""\r\n"
"\0"
END

3 TEXTINCLUDE
BEGIN
"\r\n"
"\0"
END

#endif // APSTUDIO_INVOKED


/////////////////////////////////////////////////////////////////////////////
//
// Version
//

VS_VERSION_INFO VERSIONINFO
FILEVERSION 1,5,3,0
PRODUCTVERSION 1,5,3,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
#else
FILEFLAGS 0x0L
#endif
FILEOS 0x40004L
FILETYPE 0x2L
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904b0"
BEGIN
VALUE "CompanyName", "acidicoala"
VALUE "FileDescription", "Integration DLL for Koalageddon"
VALUE "FileVersion", "1.5.3.0"
VALUE "InternalName", "Integration.dll"
VALUE "LegalCopyright", "Fuck the copyright >:D"
VALUE "OriginalFilename", "Integration.dll"
VALUE "ProductName", "Koalageddon"
VALUE "ProductVersion", "1.5.3.0"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1200
END
END

#endif // English (United States) resources
/////////////////////////////////////////////////////////////////////////////



#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//


/////////////////////////////////////////////////////////////////////////////
#endif // not APSTUDIO_INVOKED

4 changes: 4 additions & 0 deletions Integration/Integration.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@
</ProjectReference>
</ItemGroup>
<ItemGroup>
<ClInclude Include="resource.h" />
<ClInclude Include="src\framework.h" />
<ClInclude Include="src\pch.h" />
<ClInclude Include="src\version_exports.h" />
Expand All @@ -217,6 +218,9 @@
<ItemGroup>
<None Include="cpp.hint" />
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="Integration.rc" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
Expand Down
11 changes: 11 additions & 0 deletions Integration/Integration.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hh;hpp;hxx;h++;hm;inl;inc;ipp;xsd</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{c9f622bc-31d4-4cf4-b23a-d1f9fb3d32dc}</UniqueIdentifier>
</Filter>
</ItemGroup>
<ItemGroup>
<ClInclude Include="src\framework.h">
Expand All @@ -20,6 +23,9 @@
<ClInclude Include="src\version_exports.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="resource.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ClCompile Include="src\dllmain.cpp">
Expand All @@ -35,4 +41,9 @@
<ItemGroup>
<None Include="cpp.hint" />
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="Integration.rc">
<Filter>Resource Files</Filter>
</ResourceCompile>
</ItemGroup>
</Project>
14 changes: 14 additions & 0 deletions Integration/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 Integration.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
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,14 @@ Projects in the solution are configured to use static libraries instead of dynam
The solution includes the [install_vcpkg_dependencies.bat] script, which installs all of the above-mentioned dependencies with a single command.

You can verify installations via `vcpkg list`
## 🔢 Versioning

This project is following semantic versioning schema.

The version information is stored in the following files:
- [inno_setup.iss] - Used by the setup installer.
- [Integration.rc] - Used by Integration DLL.
- [constants.h] - Used by Koalageddon binaries.

## 📄 License
This software is licensed under [Zero Clause BSD] license, terms of which are available in [LICENSE.txt]
Expand All @@ -54,3 +62,7 @@ This software is licensed under [Zero Clause BSD] license, terms of which are av

[Zero Clause BSD]: https://choosealicense.com/licenses/0bsd/
[LICENSE.txt]: ./LICENSE.txt

[inno_setup.iss]: ./inno_setup.iss
[Integration.rc]: ./Integration/Integration.rc
[constants.h]: ./Common/src/constants.h

0 comments on commit c1bdc54

Please sign in to comment.