Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[tempdir] add new port #42342

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions ports/tempdir/portfile.cmake
Original file line number Diff line number Diff line change
@@ -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")
13 changes: 13 additions & 0 deletions ports/tempdir/vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"name": "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
}
]
}
4 changes: 4 additions & 0 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -8852,6 +8852,10 @@
"baseline": "3.1.0",
"port-version": 0
},
"tempdir": {
"baseline": "1.0.0",
"port-version": 0
},
"tensorflow": {
"baseline": "2.10.0",
"port-version": 0
Expand Down
9 changes: 9 additions & 0 deletions versions/t-/tempdir.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "b43bd37abb7e50bbb02664c1bcf446e35f29f12b",
"version": "1.0.0",
"port-version": 0
}
]
}