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/palsigslot | |
Diffstat (limited to 'vcpkg/ports/palsigslot')
| -rw-r--r-- | vcpkg/ports/palsigslot/portfile.cmake | 25 | ||||
| -rw-r--r-- | vcpkg/ports/palsigslot/vcpkg.json | 17 |
2 files changed, 42 insertions, 0 deletions
diff --git a/vcpkg/ports/palsigslot/portfile.cmake b/vcpkg/ports/palsigslot/portfile.cmake new file mode 100644 index 0000000..ed62628 --- /dev/null +++ b/vcpkg/ports/palsigslot/portfile.cmake @@ -0,0 +1,25 @@ +vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO palacaze/sigslot
+ REF "v${VERSION}"
+ SHA512 fb08cec33cc126e0973179068ce2d1c45f36ab85339849c1a5cac746147f7cee244702fad5fe5f38fc8e73f0fce62f81b7642fba0ff3edfd8c22089bc9ddb1db
+ HEAD_REF master
+)
+
+vcpkg_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
+ OPTIONS
+ -DSIGSLOT_COMPILE_EXAMPLES=OFF
+ -DSIGSLOT_COMPILE_TESTS=OFF
+)
+
+vcpkg_cmake_install()
+
+vcpkg_cmake_config_fixup(PACKAGE_NAME PalSigslot CONFIG_PATH lib/cmake/PalSigslot)
+
+file(REMOVE_RECURSE
+ "${CURRENT_PACKAGES_DIR}/debug"
+ "${CURRENT_PACKAGES_DIR}/lib"
+)
+
+vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
diff --git a/vcpkg/ports/palsigslot/vcpkg.json b/vcpkg/ports/palsigslot/vcpkg.json new file mode 100644 index 0000000..51aef54 --- /dev/null +++ b/vcpkg/ports/palsigslot/vcpkg.json @@ -0,0 +1,17 @@ +{ + "name": "palsigslot", + "version": "1.2.3", + "description": "A header-only, thread safe implementation of signal-slots for C++.", + "homepage": "https://github.com/palacaze/sigslot", + "license": "MIT", + "dependencies": [ + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + } + ] +} |