[bext-mp] Update to 2.0.11 (#49287)

This commit is contained in:
SunBlack 2026-01-09 00:15:27 +01:00 committed by GitHub
parent 5cf3e4b24e
commit 7a1296e7c1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 15 additions and 54 deletions

View File

@ -1,17 +0,0 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index deaa67c..fb82294 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -34,10 +34,10 @@ target_sources(mp
if(PROJECT_IS_TOP_LEVEL)
if("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang")
target_compile_options(mp INTERFACE
- $<BUILD_INTERFACE:-stdlib=libc++ -Wall -Wextra -Wpedantic -Werror>)
+ $<BUILD_INTERFACE:-stdlib=libc++ -Wall -Wextra -Wpedantic>)
target_link_options(mp INTERFACE $<BUILD_INTERFACE:-stdlib=libc++>)
elseif("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
- target_compile_options(mp INTERFACE $<BUILD_INTERFACE:-Wall -Wextra -Wpedantic -Werror>)
+ target_compile_options(mp INTERFACE $<BUILD_INTERFACE:-Wall -Wextra -Wpedantic>)
endif()
endif()

View File

@ -1,22 +1,11 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO boost-ext/mp
REF d2dbdf89e543624be8351fd52308a9cf73374dbc
SHA512 15d56bf0dca2e4bfb9128b8552a6aa01ed6b1431ab9c152ed51473f6fa237c31fbf3d5baa22523e3786d14fd716acb5436ed26fe89d46812ba9375e2417bc67a
REPO qlibs/mp
REF "v${VERSION}"
SHA512 09cfaf9d6b6622467902902bb71bc71c14fc700de0f52362e67ffcf47b058938c184c75fd0c433697d9e25b1cd4f9df7c6bac08bfe7575772fccd3ab05a4177f
HEAD_REF main
PATCHES fix-build-flags.patch
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
)
file(COPY "${SOURCE_PATH}/mp" DESTINATION "${CURRENT_PACKAGES_DIR}/include")
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(PACKAGE_NAME mp CONFIG_PATH "share/cmake/mp-0.0.1")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.md")
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/.github/LICENSE")

View File

@ -1,5 +0,0 @@
The package bext-mp provides CMake targets:
find_package(mp CONFIG REQUIRED)
target_link_libraries(main PRIVATE Boost::mp)
set_property(TARGET main PROPERTY CXX_EXTENSIONS OFF)

View File

@ -1,18 +1,7 @@
{
"name": "bext-mp",
"version-date": "2023-03-02",
"description": "C++20 ~~Template~~ Meta-Programming",
"homepage": "https://boost-ext.github.io/mp/",
"license": "BSL-1.0",
"supports": "!windows | mingw",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
"version": "2.0.11",
"description": "C++20 Meta-Programming library",
"homepage": "https://github.com/qlibs/mp",
"license": "MIT"
}

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "ec1b49b97e30cecbb0dd0c9af80d741b6e108c9c",
"version": "2.0.11",
"port-version": 0
},
{
"git-tree": "506fb6ec5f2a49a2b7e0bb637e6e8ef0f4e966ac",
"version-date": "2023-03-02",

View File

@ -681,7 +681,7 @@
"port-version": 0
},
"bext-mp": {
"baseline": "2023-03-02",
"baseline": "2.0.11",
"port-version": 0
},
"bext-sml": {