2023-02-02 05:34:29 +08:00
|
|
|
# Automatically generated by scripts/boost/generate-ports.ps1
|
|
|
|
|
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO boostorg/test
|
2024-01-23 02:56:30 +08:00
|
|
|
REF boost-${VERSION}
|
2024-05-10 11:29:06 +08:00
|
|
|
SHA512 122c07e8e3d889de7455756e517f0dc0fd836bcb371e6212c2ab83e539b2567ce01a621d3d8e73a73e10c858b2662d40016378d43353eaba7e33e9ca7fd808ad
|
2023-02-02 05:34:29 +08:00
|
|
|
HEAD_REF master
|
|
|
|
)
|
|
|
|
|
2024-04-30 03:27:41 +08:00
|
|
|
set(FEATURE_OPTIONS "")
|
|
|
|
boost_configure_and_install(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
|
|
OPTIONS ${FEATURE_OPTIONS}
|
2023-02-02 05:34:29 +08:00
|
|
|
)
|
|
|
|
if(NOT DEFINED VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "release")
|
2024-04-30 03:27:41 +08:00
|
|
|
file(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/lib/manual-link")
|
2023-02-02 05:34:29 +08:00
|
|
|
file(GLOB MONITOR_LIBS ${CURRENT_PACKAGES_DIR}/lib/*_exec_monitor*)
|
2024-04-30 03:27:41 +08:00
|
|
|
file(COPY ${MONITOR_LIBS} DESTINATION "${CURRENT_PACKAGES_DIR}/lib/manual-link")
|
2023-02-02 05:34:29 +08:00
|
|
|
file(REMOVE ${MONITOR_LIBS})
|
|
|
|
endif()
|
|
|
|
|
|
|
|
if(NOT DEFINED VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "debug")
|
2024-04-30 03:27:41 +08:00
|
|
|
file(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/debug/lib/manual-link")
|
2023-02-02 05:34:29 +08:00
|
|
|
file(GLOB DEBUG_MONITOR_LIBS ${CURRENT_PACKAGES_DIR}/debug/lib/*_exec_monitor*)
|
2024-04-30 03:27:41 +08:00
|
|
|
file(COPY ${DEBUG_MONITOR_LIBS} DESTINATION "${CURRENT_PACKAGES_DIR}/debug/lib/manual-link")
|
2023-02-02 05:34:29 +08:00
|
|
|
file(REMOVE ${DEBUG_MONITOR_LIBS})
|
|
|
|
endif()
|