mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-26 01:30:55 +08:00
[EasyHook] Fix single config builds (#42440)
This commit is contained in:
parent
4353b6e33f
commit
1f53e1744c
@ -76,28 +76,16 @@ vcpkg_msbuild_install(
|
||||
|
||||
# Remove the mismatch rebuild library
|
||||
if (VCPKG_TARGET_ARCHITECTURE STREQUAL "x86")
|
||||
if (NOT VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "debug")
|
||||
file(REMOVE "${CURRENT_PACKAGES_DIR}/debug/lib/AUX_ULIB_x64.LIB")
|
||||
endif()
|
||||
if (NOT VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "release")
|
||||
file(REMOVE "${CURRENT_PACKAGES_DIR}/lib/AUX_ULIB_x64.LIB")
|
||||
endif()
|
||||
file(REMOVE "${CURRENT_PACKAGES_DIR}/debug/lib/AUX_ULIB_x64.LIB")
|
||||
file(REMOVE "${CURRENT_PACKAGES_DIR}/lib/AUX_ULIB_x64.LIB")
|
||||
elseif (VCPKG_TARGET_ARCHITECTURE STREQUAL "x64")
|
||||
if (NOT VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "debug")
|
||||
file(REMOVE "${CURRENT_PACKAGES_DIR}/debug/lib/AUX_ULIB_x86.LIB")
|
||||
endif()
|
||||
if (NOT VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "release")
|
||||
file(REMOVE "${CURRENT_PACKAGES_DIR}/lib/AUX_ULIB_x86.LIB")
|
||||
endif()
|
||||
file(REMOVE "${CURRENT_PACKAGES_DIR}/debug/lib/AUX_ULIB_x86.LIB")
|
||||
file(REMOVE "${CURRENT_PACKAGES_DIR}/lib/AUX_ULIB_x86.LIB")
|
||||
endif()
|
||||
|
||||
# These libraries are useless, so remove.
|
||||
if (NOT VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "debug")
|
||||
file(REMOVE "${CURRENT_PACKAGES_DIR}/bin/EasyHook.dll" "${CURRENT_PACKAGES_DIR}/bin/EasyHook.pdb")
|
||||
endif()
|
||||
if (NOT VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "release")
|
||||
file(REMOVE "${CURRENT_PACKAGES_DIR}/debug/bin/EasyHook.dll" "${CURRENT_PACKAGES_DIR}/debug/bin/EasyHook.pdb")
|
||||
endif()
|
||||
file(REMOVE "${CURRENT_PACKAGES_DIR}/bin/EasyHook.dll" "${CURRENT_PACKAGES_DIR}/bin/EasyHook.pdb")
|
||||
file(REMOVE "${CURRENT_PACKAGES_DIR}/debug/bin/EasyHook.dll" "${CURRENT_PACKAGES_DIR}/debug/bin/EasyHook.pdb")
|
||||
|
||||
# Install includes
|
||||
file(INSTALL "${SOURCE_PATH}/Public/easyhook.h" DESTINATION "${CURRENT_PACKAGES_DIR}/include/easyhook")
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "easyhook",
|
||||
"version": "2.7.7097.0",
|
||||
"port-version": 8,
|
||||
"port-version": 9,
|
||||
"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 & !uwp & (x86 | x64)",
|
||||
|
@ -2502,7 +2502,7 @@
|
||||
},
|
||||
"easyhook": {
|
||||
"baseline": "2.7.7097.0",
|
||||
"port-version": 8
|
||||
"port-version": 9
|
||||
},
|
||||
"easyloggingpp": {
|
||||
"baseline": "9.97.1",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "1c6fdf085b69eba1d35606b055b8d52f13142770",
|
||||
"version": "2.7.7097.0",
|
||||
"port-version": 9
|
||||
},
|
||||
{
|
||||
"git-tree": "bcdbd62438d6d473f4b325a6f9b0ede4512d9dbf",
|
||||
"version": "2.7.7097.0",
|
||||
|
Loading…
x
Reference in New Issue
Block a user