diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/st-tree | |
Diffstat (limited to 'vcpkg/ports/st-tree')
| -rw-r--r-- | vcpkg/ports/st-tree/portfile.cmake | 24 | ||||
| -rw-r--r-- | vcpkg/ports/st-tree/vcpkg.json | 17 |
2 files changed, 41 insertions, 0 deletions
diff --git a/vcpkg/ports/st-tree/portfile.cmake b/vcpkg/ports/st-tree/portfile.cmake new file mode 100644 index 0000000..b3c53da --- /dev/null +++ b/vcpkg/ports/st-tree/portfile.cmake @@ -0,0 +1,24 @@ +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO erikerlandson/st_tree + REF "version_${VERSION}" + SHA512 354181bf397d92a863fcb46a6c07aec44599720456f61d639b3f0df4b95a6f908d0d44d3b2a430b3ef5a30c5df24ad29f638c4f8f80e51682d3eee800cfeea57 + 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") diff --git a/vcpkg/ports/st-tree/vcpkg.json b/vcpkg/ports/st-tree/vcpkg.json new file mode 100644 index 0000000..b436222 --- /dev/null +++ b/vcpkg/ports/st-tree/vcpkg.json @@ -0,0 +1,17 @@ +{ + "name": "st-tree", + "version": "1.3.0", + "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 + } + ] +} |