Skip to content

Commit

Permalink
[beman-project-optional26] new port
Browse files Browse the repository at this point in the history
  • Loading branch information
autoantwort committed Nov 16, 2024
1 parent a4e38a5 commit 2f73295
Show file tree
Hide file tree
Showing 4 changed files with 51 additions and 0 deletions.
21 changes: 21 additions & 0 deletions ports/beman-project-optional26/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO beman-project/optional26
REF 90ebb59ac01cdf55289a027b10b0b7e0c2d5f18e
SHA512 8adef74c402429757e2f06cfe7ca1eca3b9c1e8f7258a54780cd243e537cce3db294e22c26e1aa940025b4eded7596865f15dbae13f33a1a46760d718841ccb1
HEAD_REF main
)

vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DOPTIONAL26_ENABLE_TESTING=OFF
-DCMAKE_CXX_STANDARD=20
)

vcpkg_cmake_install()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")

vcpkg_cmake_config_fixup(PACKAGE_NAME beman_optional26 CONFIG_PATH lib/cmake/beman_optinal26)

file(INSTALL "${SOURCE_PATH}/LICENSE.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
17 changes: 17 additions & 0 deletions ports/beman-project-optional26/vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"name": "beman-project-optional26",
"version-date": "2024-11-16",
"description": " Beman.Optional26: `std::optional` extensions targeting C++26",
"homepage": "https://github.com/beman-project/optional26",
"license": "Apache-2.0",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}
9 changes: 9 additions & 0 deletions versions/b-/beman-project-optional26.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "5ea9d95ff8f8fa6936af214d3424607a4e77a744",
"version-date": "2024-11-16",
"port-version": 0
}
]
}
4 changes: 4 additions & 0 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -592,6 +592,10 @@
"baseline": "4.3.7",
"port-version": 0
},
"beman-project-optional26": {
"baseline": "2024-11-16",
"port-version": 0
},
"benchmark": {
"baseline": "1.9.0",
"port-version": 0
Expand Down

0 comments on commit 2f73295

Please sign in to comment.