diff options
| author | Charles Milette <charles.milette@gmail.com> | 2021-03-18 16:18:51 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-18 13:18:51 -0700 |
| commit | 04821b850025a7fecb7604c7221a0d1702dec6d8 (patch) | |
| tree | 3b94b78df9b48a0aa1eb435ca2e76d2659f73d69 /ports | |
| parent | 1f7d3846180cba2b595738320300cc9b470d9ee2 (diff) | |
| download | vcpkg-04821b850025a7fecb7604c7221a0d1702dec6d8.tar.gz vcpkg-04821b850025a7fecb7604c7221a0d1702dec6d8.zip | |
[detours] support debug builds (#16755)
* [detours] support debug builds
* Update baseline
* [detours] Update CONTROL
* [detours] Update baseline
Diffstat (limited to 'ports')
| -rw-r--r-- | ports/detours/CONTROL | 4 | ||||
| -rw-r--r-- | ports/detours/portfile.cmake | 9 |
2 files changed, 8 insertions, 5 deletions
diff --git a/ports/detours/CONTROL b/ports/detours/CONTROL index fdf9fa6a4..baf44f69d 100644 --- a/ports/detours/CONTROL +++ b/ports/detours/CONTROL @@ -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.
\ No newline at end of file diff --git a/ports/detours/portfile.cmake b/ports/detours/portfile.cmake index d1646711f..9b57b1326 100644 --- a/ports/detours/portfile.cmake +++ b/ports/detours/portfile.cmake @@ -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)
|
