diff options
Diffstat (limited to 'vcpkg/ports/gz-plugin')
| -rw-r--r-- | vcpkg/ports/gz-plugin/portfile.cmake | 12 | ||||
| -rw-r--r-- | vcpkg/ports/gz-plugin/vcpkg.json | 20 |
2 files changed, 32 insertions, 0 deletions
diff --git a/vcpkg/ports/gz-plugin/portfile.cmake b/vcpkg/ports/gz-plugin/portfile.cmake new file mode 100644 index 0000000..58f6f28 --- /dev/null +++ b/vcpkg/ports/gz-plugin/portfile.cmake @@ -0,0 +1,12 @@ +string(REGEX MATCH "^[0-9]+" VERSION_MAJOR ${VERSION})
+string(REGEX MATCH "^gz-([a-z-]+)" MATCHED_VALUE ${PORT})
+set(PACKAGE_NAME ${CMAKE_MATCH_1})
+
+ignition_modular_library(
+ NAME ${PACKAGE_NAME}
+ REF ${PORT}${VERSION_MAJOR}_${VERSION}
+ VERSION ${VERSION}
+ SHA512 9355eb9ec7bb6dffaadcd37009d16db215b7def6a835ba4704d6c6831c9253b2abf40f6ad01fe70609e46c6f121adc80f809e80c8168c795511434c118c12b10
+ OPTIONS
+ PATCHES
+)
diff --git a/vcpkg/ports/gz-plugin/vcpkg.json b/vcpkg/ports/gz-plugin/vcpkg.json new file mode 100644 index 0000000..c24cbe4 --- /dev/null +++ b/vcpkg/ports/gz-plugin/vcpkg.json @@ -0,0 +1,20 @@ +{ + "name": "gz-plugin", + "version": "3.0.0", + "description": "Library for registering plugin libraries and dynamically loading them at runtime", + "homepage": "https://ignitionrobotics.org/libs/plugin", + "license": null, + "supports": "!arm & !android", + "dependencies": [ + { + "name": "dlfcn-win32", + "platform": "windows | uwp" + }, + "gz-cmake", + "gz-utils", + { + "name": "ignition-modularscripts", + "host": true + } + ] +} |