mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-12 14:59:07 +08:00
7bc5b8cdfa
* [boost] don't handle compiled libs as header only ones (json/python) * add version files * [boost script] wait for lock to not get failure messages * [boost-json] fix build * add version files * remove unnecessary changes * Trigger Build because of #17612 * update boost asio and concept-check as requested by ci * add version files * Trigger Build because of #17612 * apply code review * add version files * fix version stuff * Apply suggestions from code review Co-authored-by: nicole mazzuca <83086508+strega-nil-ms@users.noreply.github.com> * fixes * add version file * fix wrong suggestion * add version files * Update versions/b-/boost.json Co-authored-by: Robert Schumacher <roschuma@microsoft.com> * Address the review suggestion Co-authored-by: nicole mazzuca <83086508+strega-nil-ms@users.noreply.github.com> Co-authored-by: Robert Schumacher <roschuma@microsoft.com> Co-authored-by: PhoebeHui <20694052+PhoebeHui@users.noreply.github.com>
28 lines
1.3 KiB
CMake
28 lines
1.3 KiB
CMake
# Automatically generated by scripts/boost/generate-ports.ps1
|
|
|
|
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO boostorg/json
|
|
REF boost-1.75.0
|
|
SHA512 887a8758d247eb76b41526107e4006de7d18f107afc9692d95eb2ba7beb9cfa6d5f2e721523a8d4530aec38bd1f6eb0f6364aa05b5bf95f5428f4c9fa3d24b7c
|
|
HEAD_REF master
|
|
)
|
|
|
|
# see https://github.com/boostorg/json/issues/556 fore more details
|
|
vcpkg_replace_string("${SOURCE_PATH}/build/Jamfile" "import ../../config/checks/config" "import config/checks/config")
|
|
vcpkg_replace_string("${SOURCE_PATH}/build/Jamfile" "\n <library>/boost//container/<warnings-as-errors>off" "")
|
|
|
|
vcpkg_replace_string("${SOURCE_PATH}/Jamfile" "import ../config/checks/config" "import build/config/checks/config")
|
|
|
|
file(COPY "${CURRENT_INSTALLED_DIR}/share/boost-config/checks" DESTINATION "${SOURCE_PATH}/build/config")
|
|
if(NOT DEFINED CURRENT_HOST_INSTALLED_DIR)
|
|
message(FATAL_ERROR "boost-json requires a newer version of vcpkg in order to build.")
|
|
endif()
|
|
include(${CURRENT_HOST_INSTALLED_DIR}/share/boost-build/boost-modular-build.cmake)
|
|
boost_modular_build(
|
|
SOURCE_PATH ${SOURCE_PATH}
|
|
BOOST_CMAKE_FRAGMENT "${CMAKE_CURRENT_LIST_DIR}/b2-options.cmake"
|
|
)
|
|
include(${CURRENT_INSTALLED_DIR}/share/boost-vcpkg-helpers/boost-modular-headers.cmake)
|
|
boost_modular_headers(SOURCE_PATH ${SOURCE_PATH})
|