mirror of
https://github.com/cemu-project/vcpkg.git
synced 2025-02-23 19:17:10 +01:00
Merge pull request #3579 from xiangfan-ms/master
Add a new boost-hana-msvc port which allows MSVC 15.7 RTM to build boost hana
This commit is contained in:
commit
9ce5c15ef9
4
ports/boost-hana-msvc/CONTROL
Normal file
4
ports/boost-hana-msvc/CONTROL
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
Source: boost-hana-msvc
|
||||||
|
Version: 1.67.0-1
|
||||||
|
Build-Depends: boost-config, boost-core, boost-fusion, boost-mpl, boost-tuple, boost-vcpkg-helpers
|
||||||
|
Description: Boost hana module
|
12
ports/boost-hana-msvc/portfile.cmake
Normal file
12
ports/boost-hana-msvc/portfile.cmake
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
include(vcpkg_common_functions)
|
||||||
|
|
||||||
|
vcpkg_from_github(
|
||||||
|
OUT_SOURCE_PATH SOURCE_PATH
|
||||||
|
REPO xiangfan-ms/hana
|
||||||
|
REF caa985795ab6c4b2c7bcf1458ccbb6ded65c15cb
|
||||||
|
SHA512 7ed65bda17042c42f7a76d88e66df61155800066119f6b256e20cf04dcd18d46584d3e44ad6555e9a17d9c0bf85fbf173ae6079f5a4a878341f959c855ebee6b
|
||||||
|
HEAD_REF master
|
||||||
|
)
|
||||||
|
|
||||||
|
include(${CURRENT_INSTALLED_DIR}/share/boost-vcpkg-helpers/boost-modular-headers.cmake)
|
||||||
|
boost_modular_headers(SOURCE_PATH ${SOURCE_PATH})
|
@ -1,5 +1,5 @@
|
|||||||
# Automatically generated by boost-vcpkg-helpers/generate-ports.ps1
|
# Automatically generated by boost-vcpkg-helpers/generate-ports.ps1 but has edits
|
||||||
Source: boost-hana
|
Source: boost-hana
|
||||||
Version: 1.67.0
|
Version: 1.67.0-1
|
||||||
Build-Depends: boost-config, boost-core, boost-fusion, boost-mpl, boost-tuple, boost-vcpkg-helpers
|
Build-Depends: boost-config, boost-core, boost-fusion, boost-mpl, boost-tuple, boost-vcpkg-helpers, boost-hana-msvc (windows), boost-hana-msvc (uwp)
|
||||||
Description: Boost hana module
|
Description: Boost hana module
|
||||||
|
@ -1,7 +1,12 @@
|
|||||||
# Automatically generated by boost-vcpkg-helpers/generate-ports.ps1
|
# Automatically generated by boost-vcpkg-helpers/generate-ports.ps1 but has edits
|
||||||
|
|
||||||
include(vcpkg_common_functions)
|
include(vcpkg_common_functions)
|
||||||
|
|
||||||
|
if(VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore" OR NOT VCPKG_CMAKE_SYSTEM_NAME)
|
||||||
|
message("The current MSVC releases can't compile boost hana yet.")
|
||||||
|
message("Use a fork from boost 1.67 which has source workarounds instead.")
|
||||||
|
set(VCPKG_POLICY_EMPTY_PACKAGE enabled)
|
||||||
|
else()
|
||||||
vcpkg_from_github(
|
vcpkg_from_github(
|
||||||
OUT_SOURCE_PATH SOURCE_PATH
|
OUT_SOURCE_PATH SOURCE_PATH
|
||||||
REPO boostorg/hana
|
REPO boostorg/hana
|
||||||
@ -12,3 +17,4 @@ vcpkg_from_github(
|
|||||||
|
|
||||||
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})
|
||||||
|
endif()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user