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/qtscxml | |
Diffstat (limited to 'vcpkg/ports/qtscxml')
| -rw-r--r-- | vcpkg/ports/qtscxml/portfile.cmake | 20 | ||||
| -rw-r--r-- | vcpkg/ports/qtscxml/vcpkg.json | 32 |
2 files changed, 52 insertions, 0 deletions
diff --git a/vcpkg/ports/qtscxml/portfile.cmake b/vcpkg/ports/qtscxml/portfile.cmake new file mode 100644 index 0000000..74fa2ed --- /dev/null +++ b/vcpkg/ports/qtscxml/portfile.cmake @@ -0,0 +1,20 @@ +set(SCRIPT_PATH "${CURRENT_INSTALLED_DIR}/share/qtbase") +include("${SCRIPT_PATH}/qt_install_submodule.cmake") + +set(${PORT}_PATCHES) + +set(TOOL_NAMES qscxmlc) + +vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS +FEATURES + "qml" CMAKE_REQUIRE_FIND_PACKAGE_Qt6Qml +INVERTED_FEATURES + "qml" CMAKE_DISABLE_FIND_PACKAGE_Qt6Qml +) + +qt_install_submodule(PATCHES ${${PORT}_PATCHES} + TOOL_NAMES ${TOOL_NAMES} + CONFIGURE_OPTIONS ${FEATURE_OPTIONS} + CONFIGURE_OPTIONS_RELEASE + CONFIGURE_OPTIONS_DEBUG + ) diff --git a/vcpkg/ports/qtscxml/vcpkg.json b/vcpkg/ports/qtscxml/vcpkg.json new file mode 100644 index 0000000..834c995 --- /dev/null +++ b/vcpkg/ports/qtscxml/vcpkg.json @@ -0,0 +1,32 @@ +{ + "name": "qtscxml", + "version": "6.9.1", + "description": "The Qt SCXML module provides functionality to create state machines from SCXML files.", + "homepage": "https://www.qt.io/", + "license": null, + "dependencies": [ + { + "name": "qtbase", + "default-features": false, + "features": [ + "gui" + ] + }, + { + "name": "qtscxml", + "host": true, + "default-features": false + } + ], + "features": { + "qml": { + "description": "Build QML imports", + "dependencies": [ + { + "name": "qtdeclarative", + "default-features": false + } + ] + } + } +} |