mirror of
https://github.com/WinDurango/WinDurango.git
synced 2026-05-05 08:49:40 -05:00
Make kernelx compile in Release configuration
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
#include "ForzaThreadHook_X.h"
|
||||
#include "kernelx.h"
|
||||
#include <Windows.h>
|
||||
#include "Shlwapi.h"
|
||||
|
||||
// note from unixian: i used this since using appxlauncher requires me attaching to the game after it launches
|
||||
#define WINDURANGO_WAIT_FOR_DEBUGGER 0
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
<LibraryPath>$(LibraryPath);$(ProjectDir)\..\..\thirdparty\Detours\lib.X64;</LibraryPath>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<IncludePath>$(IncludePath);$(SolutionPath)\thirdparty\thirdparty\Detours\includes</IncludePath>
|
||||
<IncludePath>$(IncludePath);$(SolutionPath)\thirdparty\thirdparty\Detours\include</IncludePath>
|
||||
<LibraryPath>$(LibraryPath);$(SolutionPath)\thirdparty\thirdparty\Detours\lib.X64;</LibraryPath>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
@@ -91,7 +91,7 @@
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<EnableUAC>false</EnableUAC>
|
||||
<AdditionalDependencies>ntdll.lib;detours.lib;runtimeobject.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<AdditionalDependencies>ntdll.lib;detours.lib;runtimeobject.lib;Shlwapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<ModuleDefinitionFile>Exports.def</ModuleDefinitionFile>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@
|
||||
#include "CoreWindowWrapperX.h"
|
||||
#include "ICoreWindowX.h"
|
||||
|
||||
#include "../src/detours.h"
|
||||
#include "../../Thirdparty/Detours/src/detours.h"
|
||||
|
||||
#include <intrin.h>
|
||||
#include <winternl.h>
|
||||
|
||||
Reference in New Issue
Block a user