diff options
Diffstat (limited to 'vcpkg/ports/qtserialbus')
| -rw-r--r-- | vcpkg/ports/qtserialbus/portfile.cmake | 18 | ||||
| -rw-r--r-- | vcpkg/ports/qtserialbus/vcpkg.json | 25 |
2 files changed, 43 insertions, 0 deletions
diff --git a/vcpkg/ports/qtserialbus/portfile.cmake b/vcpkg/ports/qtserialbus/portfile.cmake new file mode 100644 index 0000000..b69e37c --- /dev/null +++ b/vcpkg/ports/qtserialbus/portfile.cmake @@ -0,0 +1,18 @@ +set(SCRIPT_PATH "${CURRENT_INSTALLED_DIR}/share/qtbase") +include("${SCRIPT_PATH}/qt_install_submodule.cmake") + + set(TOOL_NAMES + canbusutil + ) + +# Probably not worth the time to make it features: +# qt_configure_add_summary_entry(ARGS "socketcan") # only unix +# qt_configure_add_summary_entry(ARGS "socketcan_fd") # only unix +# qt_configure_add_summary_entry(ARGS "modbus-serialport") + +qt_install_submodule(PATCHES ${${PORT}_PATCHES} + TOOL_NAMES ${TOOL_NAMES} + CONFIGURE_OPTIONS + CONFIGURE_OPTIONS_RELEASE + CONFIGURE_OPTIONS_DEBUG + ) diff --git a/vcpkg/ports/qtserialbus/vcpkg.json b/vcpkg/ports/qtserialbus/vcpkg.json new file mode 100644 index 0000000..d60a172 --- /dev/null +++ b/vcpkg/ports/qtserialbus/vcpkg.json @@ -0,0 +1,25 @@ +{ + "name": "qtserialbus", + "version": "6.9.1", + "description": "The Qt Serial Bus API provides classes and functions to access the various industrial serial buses and protocols, such as CAN, ModBus, and others.", + "homepage": "https://www.qt.io/", + "license": null, + "dependencies": [ + { + "name": "qtbase", + "default-features": false, + "features": [ + "network" + ] + }, + { + "name": "qtserialbus", + "host": true, + "default-features": false + }, + { + "name": "qtserialport", + "default-features": false + } + ] +} |