mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-01 13:37:55 +08:00
Merge pull request #9733 from yurybura/master
[boost-iostreams] Remove custom build cmake
This commit is contained in:
commit
6f2fba24dc
@ -1,6 +1,6 @@
|
|||||||
# Automatically generated by boost-vcpkg-helpers/generate-ports.ps1
|
# Automatically generated by boost-vcpkg-helpers/generate-ports.ps1
|
||||||
Source: boost-iostreams
|
Source: boost-iostreams
|
||||||
Version: 1.72.0
|
Version: 1.72.0-1
|
||||||
Build-Depends: boost-assert, boost-bind, boost-build, boost-config, boost-core, boost-detail, boost-function, boost-integer, boost-iterator, boost-modular-build-helper, boost-mpl, boost-numeric-conversion, boost-preprocessor, boost-range, boost-regex, boost-smart-ptr, boost-static-assert, boost-throw-exception, boost-type-traits, boost-utility, boost-vcpkg-helpers, bzip2, liblzma, zlib, zstd
|
Build-Depends: boost-assert, boost-bind, boost-build, boost-config, boost-core, boost-detail, boost-function, boost-integer, boost-iterator, boost-modular-build-helper, boost-mpl, boost-numeric-conversion, boost-preprocessor, boost-range, boost-regex, boost-smart-ptr, boost-static-assert, boost-throw-exception, boost-type-traits, boost-utility, boost-vcpkg-helpers, bzip2, liblzma, zlib, zstd
|
||||||
Homepage: https://github.com/boostorg/iostreams
|
Homepage: https://github.com/boostorg/iostreams
|
||||||
Description: Boost iostreams module
|
Description: Boost iostreams module
|
||||||
|
@ -11,21 +11,7 @@ vcpkg_from_github(
|
|||||||
PATCHES Removeseekpos.patch
|
PATCHES Removeseekpos.patch
|
||||||
)
|
)
|
||||||
|
|
||||||
vcpkg_download_distfile(LICENSE
|
include(${CURRENT_INSTALLED_DIR}/share/boost-build/boost-modular-build.cmake)
|
||||||
URLS "https://raw.githubusercontent.com/boostorg/boost/boost-1.72.0/LICENSE_1_0.txt"
|
boost_modular_build(SOURCE_PATH ${SOURCE_PATH})
|
||||||
FILENAME "boost_LICENSE_1_0.txt"
|
include(${CURRENT_INSTALLED_DIR}/share/boost-vcpkg-helpers/boost-modular-headers.cmake)
|
||||||
SHA512 d6078467835dba8932314c1c1e945569a64b065474d7aced27c9a7acc391d52e9f234138ed9f1aa9cd576f25f12f557e0b733c14891d42c16ecdc4a7bd4d60b8
|
boost_modular_headers(SOURCE_PATH ${SOURCE_PATH})
|
||||||
)
|
|
||||||
|
|
||||||
file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH})
|
|
||||||
|
|
||||||
vcpkg_configure_cmake(
|
|
||||||
SOURCE_PATH ${SOURCE_PATH}
|
|
||||||
PREFER_NINJA
|
|
||||||
)
|
|
||||||
|
|
||||||
vcpkg_install_cmake()
|
|
||||||
vcpkg_copy_pdbs()
|
|
||||||
|
|
||||||
file(COPY ${SOURCE_PATH}/include DESTINATION ${CURRENT_PACKAGES_DIR})
|
|
||||||
file(INSTALL ${LICENSE} DESTINATION ${CURRENT_PACKAGES_DIR}/share/boost-iostreams RENAME copyright)
|
|
||||||
|
@ -46,6 +46,10 @@ function Generate()
|
|||||||
$controlDeps = ($Depends | sort) -join ", "
|
$controlDeps = ($Depends | sort) -join ", "
|
||||||
|
|
||||||
$versionSuffix = ""
|
$versionSuffix = ""
|
||||||
|
if ($Name -eq "iostreams")
|
||||||
|
{
|
||||||
|
$versionsuffix = "-1"
|
||||||
|
}
|
||||||
|
|
||||||
mkdir "$portsDir/boost-$PortName" -erroraction SilentlyContinue | out-null
|
mkdir "$portsDir/boost-$PortName" -erroraction SilentlyContinue | out-null
|
||||||
$controlLines = @(
|
$controlLines = @(
|
||||||
@ -165,9 +169,6 @@ function Generate()
|
|||||||
")"
|
")"
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
elseif ($PortName -eq "iostreams")
|
|
||||||
{
|
|
||||||
}
|
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$portfileLines += @(
|
$portfileLines += @(
|
||||||
@ -176,13 +177,11 @@ function Generate()
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ($PortName -ne "iostreams")
|
|
||||||
{
|
$portfileLines += @(
|
||||||
$portfileLines += @(
|
"include(`${CURRENT_INSTALLED_DIR}/share/boost-vcpkg-helpers/boost-modular-headers.cmake)"
|
||||||
"include(`${CURRENT_INSTALLED_DIR}/share/boost-vcpkg-helpers/boost-modular-headers.cmake)"
|
"boost_modular_headers(SOURCE_PATH `${SOURCE_PATH})"
|
||||||
"boost_modular_headers(SOURCE_PATH `${SOURCE_PATH})"
|
)
|
||||||
)
|
|
||||||
}
|
|
||||||
|
|
||||||
if (Test-Path "$scriptsDir/post-build-stubs/$PortName.cmake")
|
if (Test-Path "$scriptsDir/post-build-stubs/$PortName.cmake")
|
||||||
{
|
{
|
||||||
|
@ -1,18 +0,0 @@
|
|||||||
vcpkg_download_distfile(LICENSE
|
|
||||||
URLS "https://raw.githubusercontent.com/boostorg/boost/boost-1.72.0/LICENSE_1_0.txt"
|
|
||||||
FILENAME "boost_LICENSE_1_0.txt"
|
|
||||||
SHA512 d6078467835dba8932314c1c1e945569a64b065474d7aced27c9a7acc391d52e9f234138ed9f1aa9cd576f25f12f557e0b733c14891d42c16ecdc4a7bd4d60b8
|
|
||||||
)
|
|
||||||
|
|
||||||
file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH})
|
|
||||||
|
|
||||||
vcpkg_configure_cmake(
|
|
||||||
SOURCE_PATH ${SOURCE_PATH}
|
|
||||||
PREFER_NINJA
|
|
||||||
)
|
|
||||||
|
|
||||||
vcpkg_install_cmake()
|
|
||||||
vcpkg_copy_pdbs()
|
|
||||||
|
|
||||||
file(COPY ${SOURCE_PATH}/include DESTINATION ${CURRENT_PACKAGES_DIR})
|
|
||||||
file(INSTALL ${LICENSE} DESTINATION ${CURRENT_PACKAGES_DIR}/share/boost-iostreams RENAME copyright)
|
|
Loading…
x
Reference in New Issue
Block a user