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/icecream-cpp | |
Diffstat (limited to 'vcpkg/ports/icecream-cpp')
| -rw-r--r-- | vcpkg/ports/icecream-cpp/portfile.cmake | 25 | ||||
| -rw-r--r-- | vcpkg/ports/icecream-cpp/vcpkg.json | 18 |
2 files changed, 43 insertions, 0 deletions
diff --git a/vcpkg/ports/icecream-cpp/portfile.cmake b/vcpkg/ports/icecream-cpp/portfile.cmake new file mode 100644 index 0000000..fa74cf6 --- /dev/null +++ b/vcpkg/ports/icecream-cpp/portfile.cmake @@ -0,0 +1,25 @@ +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO renatoGarcia/icecream-cpp + REF "v${VERSION}" + SHA512 57410045b5dce11da3bba423347a0b7e861a1ce7eaae4317b08e366ff79530985fc300d12ef5ce9388bc44574cc03fd0b3c2a9b80a3949f41620778b18fd9ace + HEAD_REF master +) + +set(VCPKG_BUILD_TYPE release) # header-only + +vcpkg_cmake_configure( + SOURCE_PATH "${SOURCE_PATH}" + OPTIONS + -DBUILD_TESTING=OFF +) + +vcpkg_cmake_install() +if(EXISTS "${CURRENT_PACKAGES_DIR}/cmake") + vcpkg_cmake_config_fixup(CONFIG_PATH cmake) +else() + vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/${PORT}) +endif() + +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib") +vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.txt") diff --git a/vcpkg/ports/icecream-cpp/vcpkg.json b/vcpkg/ports/icecream-cpp/vcpkg.json new file mode 100644 index 0000000..df55db6 --- /dev/null +++ b/vcpkg/ports/icecream-cpp/vcpkg.json @@ -0,0 +1,18 @@ +{ + "name": "icecream-cpp", + "version": "1.0.0", + "description": "A little (single header) library to help with the print debugging in C++11 and forward.", + "homepage": "https://github.com/renatoGarcia/icecream-cpp", + "license": "MIT", + "supports": "!uwp", + "dependencies": [ + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + } + ] +} |