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/dx | |
Diffstat (limited to 'vcpkg/ports/dx')
| -rw-r--r-- | vcpkg/ports/dx/portfile.cmake | 19 | ||||
| -rw-r--r-- | vcpkg/ports/dx/vcpkg.json | 7 |
2 files changed, 26 insertions, 0 deletions
diff --git a/vcpkg/ports/dx/portfile.cmake b/vcpkg/ports/dx/portfile.cmake new file mode 100644 index 0000000..61500c5 --- /dev/null +++ b/vcpkg/ports/dx/portfile.cmake @@ -0,0 +1,19 @@ +#header-only library +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO sdcb/dx + REF v1.0.1 + SHA512 b40eb4daf774bfdb394b207bb29652fbf44361f5d8f9b60509c7a3215cd403dbf0c10454979c0c2e97d839496ef20940070a42837375993cd67d58afacc990e0 + HEAD_REF master +) + +file(INSTALL + ${SOURCE_PATH}/dx.h + ${SOURCE_PATH}/debug.h + ${SOURCE_PATH}/handle.h + DESTINATION ${CURRENT_PACKAGES_DIR}/include/dx +) + +file(INSTALL + ${SOURCE_PATH}/LICENSE + DESTINATION ${CURRENT_PACKAGES_DIR}/share/dx RENAME copyright) diff --git a/vcpkg/ports/dx/vcpkg.json b/vcpkg/ports/dx/vcpkg.json new file mode 100644 index 0000000..8d1eefd --- /dev/null +++ b/vcpkg/ports/dx/vcpkg.json @@ -0,0 +1,7 @@ +{ + "name": "dx", + "version": "1.0.1", + "port-version": 3, + "description": "A modern C++ library for DirectX programming", + "homepage": "https://github.com/sdcb/dx" +} |