mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-29 08:58:59 +08:00
24 lines
1.3 KiB
CMake
24 lines
1.3 KiB
CMake
# Automatically generated by scripts/boost/generate-ports.ps1
|
|
|
|
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO boostorg/log
|
|
REF boost-1.83.0
|
|
SHA512 35ab1c2b69861ef2c6971c159d13d2f9d4ed463d94a6d000acfdf0d58a358ffb7a371dc5dff047db0d03d588c43f41da2915be16c25e92af4512db6b5d8b8fcc
|
|
HEAD_REF master
|
|
)
|
|
|
|
file(READ "${SOURCE_PATH}/build/Jamfile.v2" _contents)
|
|
string(REPLACE "import ../../config/checks/config" "import ../config/checks/config" _contents "${_contents}")
|
|
string(REPLACE " <conditional>@select-arch-specific-sources" "#<conditional>@select-arch-specific-sources" _contents "${_contents}")
|
|
file(WRITE "${SOURCE_PATH}/build/Jamfile.v2" "${_contents}")
|
|
vcpkg_replace_string("${SOURCE_PATH}/build/log-arch-config.jam"
|
|
"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")
|
|
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})
|