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/config
|
2024-01-23 02:56:30 +08:00
|
|
|
REF boost-${VERSION}
|
2024-05-10 11:29:06 +08:00
|
|
|
SHA512 a28258c11997503611dcc25a7f3dae5f707a7a63b3cc73017e5e4df0f8b38f2abad5e49507d724a30b87e31acc6751e742205b6895936b9ea28f94db1c1c78de
|
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}
|
|
|
|
)
|
|
|
|
file(APPEND "${CURRENT_PACKAGES_DIR}/include/boost/config/user.hpp" "\n#ifndef BOOST_ALL_NO_LIB\n#define BOOST_ALL_NO_LIB\n#endif\n")
|
|
|
|
file(APPEND "${CURRENT_PACKAGES_DIR}/include/boost/config/user.hpp" "\n#undef BOOST_ALL_DYN_LINK\n")
|
2023-02-02 05:34:29 +08:00
|
|
|
|
|
|
|
if (VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
|
2024-04-30 03:27:41 +08:00
|
|
|
file(APPEND "${CURRENT_PACKAGES_DIR}/include/boost/config/user.hpp" "\n#define BOOST_ALL_DYN_LINK\n")
|
2023-02-02 05:34:29 +08:00
|
|
|
endif()
|
2024-04-30 03:27:41 +08:00
|
|
|
file(COPY "${SOURCE_PATH}/libs/config/checks" DESTINATION "${CURRENT_PACKAGES_DIR}/share/boost-config")
|