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/atomic
|
2023-04-15 15:15:07 +08:00
|
|
|
REF boost-1.82.0
|
|
|
|
SHA512 d14db6e1fc5d1d23f564a2117784b94951a6d4daffd48c505d13c2c697f84eb0f05b843a66b79dd9fc7a2cb764d6b015fed897e5f92dcb9546567ded111b7e8a
|
2023-02-02 05:34:29 +08:00
|
|
|
HEAD_REF master
|
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_replace_string("${SOURCE_PATH}/build/Jamfile.v2"
|
|
|
|
"project.load [ path.join [ path.make $(here:D) ] ../../config/checks/architecture ]"
|
|
|
|
"project.load [ path.join [ path.make $(here:D) ] ../config/checks/architecture ]"
|
|
|
|
)
|
|
|
|
file(COPY "${CURRENT_INSTALLED_DIR}/share/boost-config/checks" DESTINATION "${SOURCE_PATH}/config")
|
2023-06-17 01:50:24 +08:00
|
|
|
#Make sure to keep this line when updating boost.
|
|
|
|
file(INSTALL "${SOURCE_PATH}/config/has_synchronization_lib.cpp" DESTINATION "${CURRENT_PACKAGES_DIR}/share/boost-atomic")
|
2023-02-02 05:34:29 +08:00
|
|
|
include(${CURRENT_HOST_INSTALLED_DIR}/share/boost-build/boost-modular-build.cmake)
|
|
|
|
boost_modular_build(SOURCE_PATH ${SOURCE_PATH})
|
|
|
|
include(${CURRENT_INSTALLED_DIR}/share/boost-vcpkg-helpers/boost-modular-headers.cmake)
|
|
|
|
boost_modular_headers(SOURCE_PATH ${SOURCE_PATH})
|