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/cli | |
Diffstat (limited to 'vcpkg/ports/cli')
| -rw-r--r-- | vcpkg/ports/cli/portfile.cmake | 20 | ||||
| -rw-r--r-- | vcpkg/ports/cli/vcpkg.json | 18 |
2 files changed, 38 insertions, 0 deletions
diff --git a/vcpkg/ports/cli/portfile.cmake b/vcpkg/ports/cli/portfile.cmake new file mode 100644 index 0000000..a1c1839 --- /dev/null +++ b/vcpkg/ports/cli/portfile.cmake @@ -0,0 +1,20 @@ +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO daniele77/cli + REF "v${VERSION}" + SHA512 c6d7421ca9c2c483f2c8adc4b44ab65da9eb78132784c53ff77ca63734c39619e590ec61814b100dfca6520af803cd0616ce8a54d4b4aa2312bf324f7d6a0ffc + HEAD_REF master +) + +vcpkg_cmake_configure( + SOURCE_PATH "${SOURCE_PATH}" +) + +vcpkg_cmake_install() + +vcpkg_copy_pdbs() +vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/cli) + +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug" "${CURRENT_PACKAGES_DIR}/lib") +file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) +vcpkg_fixup_pkgconfig() diff --git a/vcpkg/ports/cli/vcpkg.json b/vcpkg/ports/cli/vcpkg.json new file mode 100644 index 0000000..1ccea5c --- /dev/null +++ b/vcpkg/ports/cli/vcpkg.json @@ -0,0 +1,18 @@ +{ + "name": "cli", + "version": "2.2.0", + "description": "A library for interactive command line interfaces in modern C++", + "homepage": "https://github.com/daniele77/cli", + "license": "BSL-1.0", + "dependencies": [ + "boost-asio", + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + } + ] +} |