Skip to content

Commit

Permalink
Integrate NanaZip.Shared.Detours to NanaZip.Shared.Mitigations project.
Browse files Browse the repository at this point in the history
  • Loading branch information
MouriNaruto committed Feb 1, 2024
1 parent e0b7b6a commit 00a5dff
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions NanaZip.Shared/Mitigations.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@

#include <Mile.Helpers.h>

#include <Detours.h>

namespace
{
static HMODULE GetKernel32ModuleHandle()
Expand Down
1 change: 1 addition & 0 deletions NanaZip.Shared/NanaZip.Shared.Mitigations.props
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildThisFileDirectory)NanaZip.Shared.Detours.props" />
<PropertyGroup>
<IncludePath>$(MSBuildThisFileDirectory);$(IncludePath)</IncludePath>
</PropertyGroup>
Expand Down
1 change: 1 addition & 0 deletions NanaZip.Shared/NanaZip.Shared.Mitigations.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
<Import Project="..\Mile.Project.Windows\Mile.Project.Platform.ARM64.props" />
<Import Project="..\Mile.Project.Windows\Mile.Project.Cpp.Default.props" />
<Import Project="..\Mile.Project.Windows\Mile.Project.Cpp.props" />
<Import Project="$(MSBuildThisFileDirectory)NanaZip.Shared.Detours.props" />
<ItemDefinitionGroup>
<ClCompile>
<EnableEnhancedInstructionSet Condition="'$(Platform)'=='Win32'">NoExtensions</EnableEnhancedInstructionSet>
Expand Down

0 comments on commit 00a5dff

Please sign in to comment.