diff options
Diffstat (limited to 'vcpkg/ports/boost-test')
| -rw-r--r-- | vcpkg/ports/boost-test/portfile.cmake | 28 | ||||
| -rw-r--r-- | vcpkg/ports/boost-test/vcpkg.json | 91 |
2 files changed, 119 insertions, 0 deletions
diff --git a/vcpkg/ports/boost-test/portfile.cmake b/vcpkg/ports/boost-test/portfile.cmake new file mode 100644 index 0000000..246d08b --- /dev/null +++ b/vcpkg/ports/boost-test/portfile.cmake @@ -0,0 +1,28 @@ +# Automatically generated by scripts/boost/generate-ports.ps1 + +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO boostorg/test + REF boost-${VERSION} + SHA512 17c800ba7ed020cc70327ce86f654b1c3bd986a2dfe72ae61032d04c0557dd8602a7584c6f3f27307cc76efcef658e9f3ff4b662376c5958deb9f43431e5a7d0 + HEAD_REF master +) + +set(FEATURE_OPTIONS "") +boost_configure_and_install( + SOURCE_PATH "${SOURCE_PATH}" + OPTIONS ${FEATURE_OPTIONS} +) +if(NOT DEFINED VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "release") + file(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/lib/manual-link") + file(GLOB MONITOR_LIBS ${CURRENT_PACKAGES_DIR}/lib/*_exec_monitor*) + file(COPY ${MONITOR_LIBS} DESTINATION "${CURRENT_PACKAGES_DIR}/lib/manual-link") + file(REMOVE ${MONITOR_LIBS}) +endif() + +if(NOT DEFINED VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "debug") + file(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/debug/lib/manual-link") + file(GLOB DEBUG_MONITOR_LIBS ${CURRENT_PACKAGES_DIR}/debug/lib/*_exec_monitor*) + file(COPY ${DEBUG_MONITOR_LIBS} DESTINATION "${CURRENT_PACKAGES_DIR}/debug/lib/manual-link") + file(REMOVE ${DEBUG_MONITOR_LIBS}) +endif() diff --git a/vcpkg/ports/boost-test/vcpkg.json b/vcpkg/ports/boost-test/vcpkg.json new file mode 100644 index 0000000..6e206bf --- /dev/null +++ b/vcpkg/ports/boost-test/vcpkg.json @@ -0,0 +1,91 @@ +{ + "$comment": "Automatically generated by scripts/boost/generate-ports.ps1", + "name": "boost-test", + "version": "1.89.0", + "description": "Boost test module", + "homepage": "https://www.boost.org/libs/test", + "license": "BSL-1.0", + "supports": "!uwp", + "dependencies": [ + { + "name": "boost-algorithm", + "version>=": "1.89.0" + }, + { + "name": "boost-assert", + "version>=": "1.89.0" + }, + { + "name": "boost-bind", + "version>=": "1.89.0" + }, + { + "name": "boost-cmake", + "version>=": "1.89.0" + }, + { + "name": "boost-config", + "version>=": "1.89.0" + }, + { + "name": "boost-core", + "version>=": "1.89.0" + }, + { + "name": "boost-detail", + "version>=": "1.89.0" + }, + { + "name": "boost-exception", + "version>=": "1.89.0" + }, + { + "name": "boost-function", + "version>=": "1.89.0" + }, + { + "name": "boost-headers", + "version>=": "1.89.0" + }, + { + "name": "boost-io", + "version>=": "1.89.0" + }, + { + "name": "boost-iterator", + "version>=": "1.89.0" + }, + { + "name": "boost-mpl", + "version>=": "1.89.0" + }, + { + "name": "boost-numeric-conversion", + "version>=": "1.89.0" + }, + { + "name": "boost-optional", + "version>=": "1.89.0" + }, + { + "name": "boost-preprocessor", + "version>=": "1.89.0" + }, + { + "name": "boost-smart-ptr", + "version>=": "1.89.0" + }, + { + "name": "boost-static-assert", + "version>=": "1.89.0" + }, + { + "name": "boost-type-traits", + "version>=": "1.89.0" + }, + { + "name": "boost-utility", + "version>=": "1.89.0" + } + ] +} |