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/dylib | |
Diffstat (limited to 'vcpkg/ports/dylib')
| -rw-r--r-- | vcpkg/ports/dylib/portfile.cmake | 22 | ||||
| -rw-r--r-- | vcpkg/ports/dylib/vcpkg.json | 18 |
2 files changed, 40 insertions, 0 deletions
diff --git a/vcpkg/ports/dylib/portfile.cmake b/vcpkg/ports/dylib/portfile.cmake new file mode 100644 index 0000000..a2aea8c --- /dev/null +++ b/vcpkg/ports/dylib/portfile.cmake @@ -0,0 +1,22 @@ +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO martin-olivier/dylib + REF "v${VERSION}" + SHA512 9975c202aacc698b0b30cec1d839e31eb4fc60d7ee54fc56a114d5e8905a2ac4757aa97fc580b3b1a3c98bdba1420a49707339a09a646e4e8663ef17fe3cded3 + HEAD_REF main +) + +vcpkg_cmake_configure( + SOURCE_PATH "${SOURCE_PATH}" +) + +vcpkg_cmake_install() + +vcpkg_cmake_config_fixup( + PACKAGE_NAME dylib + CONFIG_PATH lib/cmake/dylib +) + +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") + +vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE") diff --git a/vcpkg/ports/dylib/vcpkg.json b/vcpkg/ports/dylib/vcpkg.json new file mode 100644 index 0000000..cdb322f --- /dev/null +++ b/vcpkg/ports/dylib/vcpkg.json @@ -0,0 +1,18 @@ +{ + "name": "dylib", + "version-semver": "3.0.1", + "description": "C++ cross-platform wrapper around dynamic loading of shared libraries", + "homepage": "https://github.com/martin-olivier/dylib", + "license": "MIT", + "supports": "!android & !uwp", + "dependencies": [ + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + } + ] +} |