diff --git a/ports/bw-tempdir/portfile.cmake b/ports/bw-tempdir/portfile.cmake new file mode 100644 index 00000000000000..d8e04a8863abbc --- /dev/null +++ b/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 75c271b9f84c8eb9256a99683828faecd17f86b9c7a9066266157bf2d10acfe2d057470295b2dc05dbad5cc6fb1d6af60aed2924fba391c0bc292afc37d9e1ea + 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.txt") diff --git a/ports/bw-tempdir/vcpkg.json b/ports/bw-tempdir/vcpkg.json new file mode 100644 index 00000000000000..c07f7856c937e1 --- /dev/null +++ b/ports/bw-tempdir/vcpkg.json @@ -0,0 +1,13 @@ +{ + "name": "bw-tempdir", + "version": "1.0.0", + "description": "TempDir: Simplified Temporary Directory for C++", + "homepage": "https://github.com/bw-hro/TempDir", + "license": "MIT", + "dependencies": [ + { + "name": "vcpkg-cmake", + "host": true + } + ] +} diff --git a/versions/b-/bw-tempdir.json b/versions/b-/bw-tempdir.json new file mode 100644 index 00000000000000..b22d44c63e1f59 --- /dev/null +++ b/versions/b-/bw-tempdir.json @@ -0,0 +1,9 @@ +{ + "versions": [ + { + "git-tree": "dbdad54667e097904671d22fac55d818283e8fc2", + "version": "1.0.0", + "port-version": 0 + } + ] +} diff --git a/versions/baseline.json b/versions/baseline.json index 7b8fdb7d8a0b73..035628f48e6802 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -1440,6 +1440,10 @@ "baseline": "2019-05-08", "port-version": 4 }, + "bw-tempdir": { + "baseline": "1.0.0", + "port-version": 0 + }, "bxzstr": { "baseline": "1.2.2", "port-version": 0