mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-25 13:39:08 +08:00
ed7822f5af
* [easyhook]Add new port. * [easyhook]Replace files with a patch, add Description, use .Net framework 4.0. * [easyhook]Set ONLY_DYNAMIC_CRT. * [easyhook]Print error message when building static library.
129 lines
6.1 KiB
Diff
129 lines
6.1 KiB
Diff
diff --git a/EasyHookDll/EasyHookDll.vcxproj b/EasyHookDll/EasyHookDll.vcxproj
|
|
index ec66f91..5773555 100644
|
|
--- a/EasyHookDll/EasyHookDll.vcxproj
|
|
+++ b/EasyHookDll/EasyHookDll.vcxproj
|
|
@@ -188,7 +188,7 @@
|
|
<StringPooling>true</StringPooling>
|
|
<MinimalRebuild>true</MinimalRebuild>
|
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
|
- <SmallerTypeCheck>true</SmallerTypeCheck>
|
|
+ <SmallerTypeCheck>false</SmallerTypeCheck>
|
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
|
<PrecompiledHeader>
|
|
</PrecompiledHeader>
|
|
@@ -207,10 +207,6 @@
|
|
<TargetMachine>MachineX86</TargetMachine>
|
|
<ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
|
|
</Link>
|
|
- <PostBuildEvent>
|
|
- <Command>copy "$(TargetPath)" "$(TargetDir)..\x64\EasyHook32.dll"
|
|
-copy "$(TargetDir)EasyHook32.lib" "$(TargetDir)..\x64\EasyHook32.lib"</Command>
|
|
- </PostBuildEvent>
|
|
<MASM>
|
|
<UseSafeExceptionHandlers>false</UseSafeExceptionHandlers>
|
|
</MASM>
|
|
@@ -223,7 +219,7 @@ copy "$(TargetDir)EasyHook32.lib" "$(TargetDir)..\x64\EasyHook32.lib"</Command>
|
|
<StringPooling>true</StringPooling>
|
|
<MinimalRebuild>true</MinimalRebuild>
|
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
|
- <SmallerTypeCheck>true</SmallerTypeCheck>
|
|
+ <SmallerTypeCheck>false</SmallerTypeCheck>
|
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
|
<PrecompiledHeader>
|
|
</PrecompiledHeader>
|
|
@@ -242,10 +238,6 @@ copy "$(TargetDir)EasyHook32.lib" "$(TargetDir)..\x64\EasyHook32.lib"</Command>
|
|
<TargetMachine>MachineX86</TargetMachine>
|
|
<ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
|
|
</Link>
|
|
- <PostBuildEvent>
|
|
- <Command>copy "$(TargetPath)" "$(TargetDir)..\x64\EasyHook32.dll"
|
|
-copy "$(TargetDir)EasyHook32.lib" "$(TargetDir)..\x64\EasyHook32.lib"</Command>
|
|
- </PostBuildEvent>
|
|
<MASM>
|
|
<UseSafeExceptionHandlers>false</UseSafeExceptionHandlers>
|
|
</MASM>
|
|
@@ -261,7 +253,7 @@ copy "$(TargetDir)EasyHook32.lib" "$(TargetDir)..\x64\EasyHook32.lib"</Command>
|
|
<StringPooling>true</StringPooling>
|
|
<MinimalRebuild>true</MinimalRebuild>
|
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
|
- <SmallerTypeCheck>true</SmallerTypeCheck>
|
|
+ <SmallerTypeCheck>false</SmallerTypeCheck>
|
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
|
<PrecompiledHeader>
|
|
</PrecompiledHeader>
|
|
@@ -278,10 +270,6 @@ copy "$(TargetDir)EasyHook32.lib" "$(TargetDir)..\x64\EasyHook32.lib"</Command>
|
|
<SubSystem>Windows</SubSystem>
|
|
<TargetMachine>MachineX64</TargetMachine>
|
|
</Link>
|
|
- <PostBuildEvent>
|
|
- <Command>copy "$(TargetPath)" "$(TargetDir)..\x86\EasyHook64.dll"
|
|
-copy "$(TargetDir)EasyHook64.lib" "$(TargetDir)..\x86\EasyHook64.lib"</Command>
|
|
- </PostBuildEvent>
|
|
<MASM>
|
|
<UseSafeExceptionHandlers>false</UseSafeExceptionHandlers>
|
|
</MASM>
|
|
@@ -297,7 +285,7 @@ copy "$(TargetDir)EasyHook64.lib" "$(TargetDir)..\x86\EasyHook64.lib"</Command>
|
|
<StringPooling>true</StringPooling>
|
|
<MinimalRebuild>true</MinimalRebuild>
|
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
|
- <SmallerTypeCheck>true</SmallerTypeCheck>
|
|
+ <SmallerTypeCheck>false</SmallerTypeCheck>
|
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
|
<PrecompiledHeader>
|
|
</PrecompiledHeader>
|
|
@@ -314,10 +302,6 @@ copy "$(TargetDir)EasyHook64.lib" "$(TargetDir)..\x86\EasyHook64.lib"</Command>
|
|
<SubSystem>Windows</SubSystem>
|
|
<TargetMachine>MachineX64</TargetMachine>
|
|
</Link>
|
|
- <PostBuildEvent>
|
|
- <Command>copy "$(TargetPath)" "$(TargetDir)..\x86\EasyHook64.dll"
|
|
-copy "$(TargetDir)EasyHook64.lib" "$(TargetDir)..\x86\EasyHook64.lib"</Command>
|
|
- </PostBuildEvent>
|
|
<MASM>
|
|
<UseSafeExceptionHandlers>false</UseSafeExceptionHandlers>
|
|
</MASM>
|
|
@@ -355,10 +339,6 @@ copy "$(TargetDir)EasyHook64.lib" "$(TargetDir)..\x86\EasyHook64.lib"</Command>
|
|
<TargetMachine>MachineX86</TargetMachine>
|
|
<ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
|
|
</Link>
|
|
- <PostBuildEvent>
|
|
- <Command>copy "$(TargetPath)" "$(TargetDir)..\x64\EasyHook32.dll"
|
|
-copy "$(TargetDir)EasyHook32.lib" "$(TargetDir)..\x64\EasyHook32.lib"</Command>
|
|
- </PostBuildEvent>
|
|
<MASM>
|
|
<GenerateDebugInformation>false</GenerateDebugInformation>
|
|
<UseSafeExceptionHandlers>false</UseSafeExceptionHandlers>
|
|
@@ -397,10 +377,6 @@ copy "$(TargetDir)EasyHook32.lib" "$(TargetDir)..\x64\EasyHook32.lib"</Command>
|
|
<TargetMachine>MachineX86</TargetMachine>
|
|
<ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
|
|
</Link>
|
|
- <PostBuildEvent>
|
|
- <Command>copy "$(TargetPath)" "$(TargetDir)..\x64\EasyHook32.dll"
|
|
-copy "$(TargetDir)EasyHook32.lib" "$(TargetDir)..\x64\EasyHook32.lib"</Command>
|
|
- </PostBuildEvent>
|
|
<MASM>
|
|
<GenerateDebugInformation>false</GenerateDebugInformation>
|
|
<UseSafeExceptionHandlers>false</UseSafeExceptionHandlers>
|
|
@@ -439,10 +415,6 @@ copy "$(TargetDir)EasyHook32.lib" "$(TargetDir)..\x64\EasyHook32.lib"</Command>
|
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
|
<TargetMachine>MachineX64</TargetMachine>
|
|
</Link>
|
|
- <PostBuildEvent>
|
|
- <Command>copy "$(TargetPath)" "$(TargetDir)..\x86\EasyHook64.dll"
|
|
-copy "$(TargetDir)EasyHook64.lib" "$(TargetDir)..\x86\EasyHook64.lib"</Command>
|
|
- </PostBuildEvent>
|
|
<MASM>
|
|
<GenerateDebugInformation>false</GenerateDebugInformation>
|
|
<UseSafeExceptionHandlers>false</UseSafeExceptionHandlers>
|
|
@@ -481,10 +453,6 @@ copy "$(TargetDir)EasyHook64.lib" "$(TargetDir)..\x86\EasyHook64.lib"</Command>
|
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
|
<TargetMachine>MachineX64</TargetMachine>
|
|
</Link>
|
|
- <PostBuildEvent>
|
|
- <Command>copy "$(TargetPath)" "$(TargetDir)..\x86\EasyHook64.dll"
|
|
-copy "$(TargetDir)EasyHook64.lib" "$(TargetDir)..\x86\EasyHook64.lib"</Command>
|
|
- </PostBuildEvent>
|
|
<MASM>
|
|
<GenerateDebugInformation>false</GenerateDebugInformation>
|
|
<UseSafeExceptionHandlers>false</UseSafeExceptionHandlers>
|