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/bw-tempdir | |
Diffstat (limited to 'vcpkg/ports/bw-tempdir')
| -rw-r--r-- | vcpkg/ports/bw-tempdir/portfile.cmake | 21 | ||||
| -rw-r--r-- | vcpkg/ports/bw-tempdir/vcpkg.json | 13 |
2 files changed, 34 insertions, 0 deletions
diff --git a/vcpkg/ports/bw-tempdir/portfile.cmake b/vcpkg/ports/bw-tempdir/portfile.cmake new file mode 100644 index 0000000..fc43deb --- /dev/null +++ b/vcpkg/ports/bw-tempdir/portfile.cmake @@ -0,0 +1,21 @@ +set(VCPKG_BUILD_TYPE release) # header-only + +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO bw-hro/TempDir + REF "v${VERSION}" + SHA512 bae89ee0e5d3df75d23d83865e5c2d7a9fdb82ee4b8fead11ea89e7fc032c789e257411ff82d2de3d15b8a9947fdfcb98050531d7b0b5c20b4f8f247c6d11de0 + HEAD_REF master +) + +vcpkg_cmake_configure( + SOURCE_PATH "${SOURCE_PATH}" + OPTIONS + -DTD_BUILD_EXAMPLES=OFF + -DTD_BUILD_TESTS=OFF + -DTD_ENABLE_COVERAGE=OFF +) + +vcpkg_cmake_install() + +vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE") diff --git a/vcpkg/ports/bw-tempdir/vcpkg.json b/vcpkg/ports/bw-tempdir/vcpkg.json new file mode 100644 index 0000000..7367a0d --- /dev/null +++ b/vcpkg/ports/bw-tempdir/vcpkg.json @@ -0,0 +1,13 @@ +{ + "name": "bw-tempdir", + "version": "1.0.1", + "description": "TempDir: Simplified Temporary Directory for C++", + "homepage": "https://github.com/bw-hro/TempDir", + "license": "MIT", + "dependencies": [ + { + "name": "vcpkg-cmake", + "host": true + } + ] +} |