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/promise-cpp/portfile.cmake | |
Diffstat (limited to 'vcpkg/ports/promise-cpp/portfile.cmake')
| -rw-r--r-- | vcpkg/ports/promise-cpp/portfile.cmake | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/vcpkg/ports/promise-cpp/portfile.cmake b/vcpkg/ports/promise-cpp/portfile.cmake new file mode 100644 index 0000000..69789ac --- /dev/null +++ b/vcpkg/ports/promise-cpp/portfile.cmake @@ -0,0 +1,14 @@ +vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO xhawk18/promise-cpp
+ REF ${VERSION}
+ SHA512 18e09cf4caffee2864b45e46b4385daf960aa5ec340e680e4d0303803360c910a8618b9e1365a18693f1d89ba50b42ad7f2e2b5f8b26d3883b48f8c1337efbe5
+ HEAD_REF master
+)
+
+file(GLOB PROMISE_HEADERS "${SOURCE_PATH}/include/*.hpp")
+file(INSTALL "${SOURCE_PATH}/include/promise-cpp" DESTINATION "${CURRENT_PACKAGES_DIR}/include")
+
+file(INSTALL "${SOURCE_PATH}/LICENSE.md" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
+
+file(COPY "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|