Co-authored-by: Kai Pastor <dg0yt@darc.de>
This commit is contained in:
Markus87 2026-01-27 21:34:08 +01:00 committed by GitHub
parent 66009b2d73
commit a2a478a93d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 56 additions and 0 deletions

View File

@ -0,0 +1,22 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO bitfactory-software/anyxx
REF "${VERSION}"
SHA512 2dff8f7def0489a469485f3130d0d7f7dcaec675f46110504b60c7a2b8247ca302b523316011c0172154a4ff833f6e903eea8e99f958cfd4b24d32327095f234
HEAD_REF master
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-Danyxx_INSTALL_ONLY=ON
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(PACKAGE_NAME "anyxx")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")

4
ports/anyxx/usage Normal file
View File

@ -0,0 +1,4 @@
anyxx provides CMake targets:
find_package(anyxx CONFIG REQUIRED)
target_link_libraries(main PRIVATE bit_factory::anyxx)

17
ports/anyxx/vcpkg.json Normal file
View File

@ -0,0 +1,17 @@
{
"name": "anyxx",
"version": "0.4.1",
"description": "any++ / header only C++ vocabulary for programming on a large scale",
"homepage": "https://github.com/bitfactory-software/anyxx",
"license": "MIT",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}

9
versions/a-/anyxx.json Normal file
View File

@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "f1d82e9c161ddbcd9fdbaa58d98c3ea4b23a0fa3",
"version": "0.4.1",
"port-version": 0
}
]
}

View File

@ -164,6 +164,10 @@
"baseline": "2021-08-24",
"port-version": 2
},
"anyxx": {
"baseline": "0.4.1",
"port-version": 0
},
"aom": {
"baseline": "3.13.1",
"port-version": 1