[st-tree] add new port (#46301)

This commit is contained in:
toge 2025-07-06 13:55:15 +09:00 committed by GitHub
parent d593bbe922
commit f312567211
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 54 additions and 0 deletions

View File

@ -0,0 +1,24 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO erikerlandson/st_tree
REF "version_${VERSION}"
SHA512 b2bd47509783c3efb366343aeb1713874225ba63348afcd1ddc770a4b0ae4d839455cee5e05d4cdc04a5aa798db21c8c9b414492c32d2b1458b2dfcbe87f2388
HEAD_REF develop
)
set(VCPKG_BUILD_TYPE release) # header-only port
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DBUILD_EXAMPLES=OFF
-DENABLE_TESTS=OFF
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(CONFIG_PATH "lib/cmake" PACKAGE_NAME st_tree)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib")
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")

17
ports/st-tree/vcpkg.json Normal file
View File

@ -0,0 +1,17 @@
{
"name": "st-tree",
"version": "1.2.2",
"description": "A fast and flexible c++ template class for tree data structures",
"homepage": "https://github.com/erikerlandson/st_tree",
"license": "Apache-2.0",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}

View File

@ -9096,6 +9096,10 @@
"baseline": "1.8.0",
"port-version": 0
},
"st-tree": {
"baseline": "1.2.2",
"port-version": 0
},
"stackwalker": {
"baseline": "2023-06-24",
"port-version": 0

9
versions/s-/st-tree.json Normal file
View File

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