[detours] support debug builds (#16755)

* [detours] support debug builds

* Update baseline

* [detours] Update CONTROL

* [detours] Update baseline
This commit is contained in:
Charles Milette 2021-03-18 16:18:51 -04:00 committed by GitHub
parent 1f7d384618
commit 04821b8500
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 15 additions and 7 deletions

View File

@ -1,3 +1,5 @@
Source: detours
Version: 4.0.1-1
Version: 4.0.1
Port-Version: 2
Homepage: https://github.com/microsoft/Detours
Description: Detours is a software package for monitoring and instrumenting API calls on Windows.

View File

@ -15,11 +15,12 @@ vcpkg_build_nmake(
PROJECT_SUBPATH "src"
PROJECT_NAME "Makefile"
OPTIONS "PROCESSOR_ARCHITECTURE=${VCPKG_TARGET_ARCHITECTURE}"
NO_DEBUG
OPTIONS_RELEASE "DETOURS_CONFIG=Release"
OPTIONS_DEBUG "DETOURS_CONFIG=Debug"
)
file(INSTALL ${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}/lib.${VCPKG_TARGET_ARCHITECTURE}/ DESTINATION ${CURRENT_PACKAGES_DIR}/lib)
file(INSTALL ${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}/lib.${VCPKG_TARGET_ARCHITECTURE}/ DESTINATION ${CURRENT_PACKAGES_DIR}/debug/lib)
file(INSTALL ${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}/include DESTINATION ${CURRENT_PACKAGES_DIR}/include RENAME detours)
file(INSTALL ${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/lib.${VCPKG_TARGET_ARCHITECTURE}Release/ DESTINATION ${CURRENT_PACKAGES_DIR}/lib)
file(INSTALL ${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-dbg/lib.${VCPKG_TARGET_ARCHITECTURE}Debug/ DESTINATION ${CURRENT_PACKAGES_DIR}/debug/lib)
file(INSTALL ${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-dbg/include DESTINATION ${CURRENT_PACKAGES_DIR}/include RENAME detours)
file(INSTALL ${SOURCE_PATH}/LICENSE.md DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)

View File

@ -1597,8 +1597,8 @@
"port-version": 1
},
"detours": {
"baseline": "4.0.1-1",
"port-version": 0
"baseline": "4.0.1",
"port-version": 2
},
"devicenameresolver": {
"baseline": "2016-06-26-0850d88fa6-1",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "7400c2c8b63f9576a4b5e4464ad5d8e36d33e1d6",
"version-string": "4.0.1",
"port-version": 2
},
{
"git-tree": "ab6a570459cbae07325fbfdd4b51992c9dad3e41",
"version-string": "4.0.1-1",