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/libxdf | |
Diffstat (limited to 'vcpkg/ports/libxdf')
| -rw-r--r-- | vcpkg/ports/libxdf/portfile.cmake | 23 | ||||
| -rw-r--r-- | vcpkg/ports/libxdf/vcpkg.json | 18 |
2 files changed, 41 insertions, 0 deletions
diff --git a/vcpkg/ports/libxdf/portfile.cmake b/vcpkg/ports/libxdf/portfile.cmake new file mode 100644 index 0000000..cb56777 --- /dev/null +++ b/vcpkg/ports/libxdf/portfile.cmake @@ -0,0 +1,23 @@ +vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
+
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO xdf-modules/libxdf
+ REF "v${VERSION}"
+ SHA512 17b68a307118a1a1375ad1a4717d5bd83515daea51623f617d0c5673435fb79df2bbc7445504b274495481b089f93b10bec025a05ef641478eff77e36d420e4c
+ HEAD_REF main
+)
+
+vcpkg_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
+ OPTIONS
+ -DXDF_NO_SYSTEM_PUGIXML=OFF
+)
+
+vcpkg_cmake_install()
+
+vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/${PORT})
+
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
+
+vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.txt")
diff --git a/vcpkg/ports/libxdf/vcpkg.json b/vcpkg/ports/libxdf/vcpkg.json new file mode 100644 index 0000000..9d96bc1 --- /dev/null +++ b/vcpkg/ports/libxdf/vcpkg.json @@ -0,0 +1,18 @@ +{ + "name": "libxdf", + "version": "0.99.9", + "description": "C++ library for loading multimodal, multi-rate signals stored in XDF files.", + "homepage": "https://xdf-modules.github.io/libxdf/", + "license": "BSD-2-Clause", + "dependencies": [ + "pugixml", + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + } + ] +} |