mirror of https://github.com/microsoft/vcpkg.git
[st-tree] add new port (#46301)
This commit is contained in:
parent
d593bbe922
commit
f312567211
|
|
@ -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")
|
||||
|
|
@ -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
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "af70973d62b638f747518a1e415ed7e1d3aca4fc",
|
||||
"version": "1.2.2",
|
||||
"port-version": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
Reference in New Issue