aboutsummaryrefslogtreecommitdiff
path: root/ports/qtscxml
diff options
context:
space:
mode:
Diffstat (limited to 'ports/qtscxml')
-rw-r--r--ports/qtscxml/portfile.cmake13
-rw-r--r--ports/qtscxml/vcpkg.json22
2 files changed, 35 insertions, 0 deletions
diff --git a/ports/qtscxml/portfile.cmake b/ports/qtscxml/portfile.cmake
new file mode 100644
index 000000000..daa6b663e
--- /dev/null
+++ b/ports/qtscxml/portfile.cmake
@@ -0,0 +1,13 @@
+set(SCRIPT_PATH "${CURRENT_INSTALLED_DIR}/share/qtbase")
+include("${SCRIPT_PATH}/qt_install_submodule.cmake")
+
+set(${PORT}_PATCHES)
+
+set(TOOL_NAMES qscxmlc)
+
+qt_install_submodule(PATCHES ${${PORT}_PATCHES}
+ TOOL_NAMES ${TOOL_NAMES}
+ CONFIGURE_OPTIONS
+ CONFIGURE_OPTIONS_RELEASE
+ CONFIGURE_OPTIONS_DEBUG
+ )
diff --git a/ports/qtscxml/vcpkg.json b/ports/qtscxml/vcpkg.json
new file mode 100644
index 000000000..878af0d4d
--- /dev/null
+++ b/ports/qtscxml/vcpkg.json
@@ -0,0 +1,22 @@
+{
+ "name": "qtscxml",
+ "version-semver": "6.1.0",
+ "description": "SCXML (state machine notation) compiler and related tools",
+ "homepage": "https://www.qt.io/",
+ "dependencies": [
+ {
+ "name": "qtbase",
+ "default-features": false
+ },
+ "qtdeclarative",
+ {
+ "name": "qtscxml",
+ "host": true,
+ "default-features": false
+ },
+ {
+ "name": "qttools",
+ "default-features": false
+ }
+ ]
+}