mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 21:09:00 +08:00
[easyhook] Use /Z7 rather than /Zi to avoid mspdbsrv crashes. (#20757)
This commit is contained in:
parent
33ced4f1c3
commit
911481736d
@ -19,10 +19,21 @@ else()
|
||||
message(FATAL_ERROR "Unsupported architecture: ${VCPKG_TARGET_ARCHITECTURE}")
|
||||
endif()
|
||||
|
||||
# Use /Z7 rather than /Zi to avoid "fatal error C1090: PDB API call failed, error code '23': (0x00000006)"
|
||||
foreach(VCXPROJ IN ITEMS
|
||||
"${SOURCE_PATH}/EasyHookDll/EasyHookDll.vcxproj"
|
||||
"${SOURCE_PATH}/Examples/UnmanagedHook/UnmanagedHook.vcxproj")
|
||||
vcpkg_replace_string(
|
||||
"${VCXPROJ}"
|
||||
"<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>"
|
||||
"<DebugInformationFormat>OldStyle</DebugInformationFormat>"
|
||||
)
|
||||
endforeach()
|
||||
|
||||
vcpkg_install_msbuild(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
PROJECT_SUBPATH EasyHook.sln
|
||||
TARGET EasyHookDll
|
||||
TARGET EasyHookDll
|
||||
RELEASE_CONFIGURATION "netfx4-Release"
|
||||
DEBUG_CONFIGURATION "netfx4-Debug"
|
||||
PLATFORM ${BUILD_ARCH}
|
||||
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
"name": "easyhook",
|
||||
"version": "2.7.7097.0",
|
||||
"port-version": 1,
|
||||
"description": "This project supports extending (hooking) unmanaged code (APIs) with pure managed ones, from within a fully managed environment on 32- or 64-bit Windows Vista x64, Windows Server 2008 x64, Windows 7, Windows 8.1, and Windows 10.",
|
||||
"homepage": "https://github.com/EasyHook/EasyHook",
|
||||
"supports": "windows & !(static | arm | uwp)"
|
||||
|
@ -1922,7 +1922,7 @@
|
||||
},
|
||||
"easyhook": {
|
||||
"baseline": "2.7.7097.0",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"easyloggingpp": {
|
||||
"baseline": "9.97.0",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "5dc14a4f006221297cad1ea84143aeae33f30284",
|
||||
"version": "2.7.7097.0",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "efa456841ef4446343c908f3ed36217b7a1d75a3",
|
||||
"version": "2.7.7097.0",
|
||||
|
Loading…
Reference in New Issue
Block a user