mirror of https://github.com/microsoft/vcpkg.git
29 lines
1.1 KiB
CMake
29 lines
1.1 KiB
CMake
# Automatically generated by scripts/boost/generate-ports.ps1
|
|
|
|
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO boostorg/test
|
|
REF boost-${VERSION}
|
|
SHA512 7aaeb3e8ef0c2873b14c31613274ec15837e808938ddab38996a0bda61f3fc75ed7a4a52938b97c9d825d8372dc8524294574ecd554860dff5bcf2d59ba7f62f
|
|
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()
|