summaryrefslogtreecommitdiffstats
path: root/tools/qscxmlc
diff options
context:
space:
mode:
Diffstat (limited to 'tools/qscxmlc')
-rw-r--r--tools/qscxmlc/.prev_CMakeLists.txt49
-rw-r--r--tools/qscxmlc/CMakeLists.txt58
2 files changed, 107 insertions, 0 deletions
diff --git a/tools/qscxmlc/.prev_CMakeLists.txt b/tools/qscxmlc/.prev_CMakeLists.txt
new file mode 100644
index 0000000..71e210e
--- /dev/null
+++ b/tools/qscxmlc/.prev_CMakeLists.txt
@@ -0,0 +1,49 @@
+# Generated from qscxmlc.pro.
+
+#####################################################################
+## qscxmlc Tool:
+#####################################################################
+
+add_qt_tool(qscxmlc
+ SOURCES
+ ../../src/scxml/qscxmlcompiler.cpp ../../src/scxml/qscxmlcompiler.h ../../src/scxml/qscxmlcompiler_p.h
+ ../../src/scxml/qscxmlerror.cpp ../../src/scxml/qscxmlerror.h
+ ../../src/scxml/qscxmlexecutablecontent.cpp ../../src/scxml/qscxmlexecutablecontent.h ../../src/scxml/qscxmlexecutablecontent_p.h
+ ../../src/scxml/qscxmlglobals.h
+ ../../src/scxml/qscxmltabledata.cpp ../../src/scxml/qscxmltabledata.h
+ generator.cpp generator.h
+ main.cpp
+ moc.h
+ outputrevision.h
+ qscxmlc.cpp qscxmlc.h
+ scxmlcppdumper.cpp scxmlcppdumper.h
+ utils.h
+ DEFINES
+ BUILD_QSCXMLC
+ QT_NO_CAST_FROM_ASCII
+ QT_NO_CAST_TO_ASCII
+ INCLUDE_DIRECTORIES
+ .scxml.includes
+ .scxml_private.includes
+ LIBRARIES
+ Qt::CorePrivate
+)
+
+# Resources:
+set(templates_resource_files
+ "cppdatamodel.t"
+ "data.t"
+ "decl.t"
+)
+
+add_qt_resource(qscxmlc "templates"
+ PREFIX
+ "/"
+ FILES
+ ${templates_resource_files}
+)
+
+
+#### Keys ignored in scope 1:.:.:qscxmlc.pro:<TRUE>:
+# _LOADED = "qt_tool" "resources"
+# _OPTION = "host_build"
diff --git a/tools/qscxmlc/CMakeLists.txt b/tools/qscxmlc/CMakeLists.txt
new file mode 100644
index 0000000..ba91e9c
--- /dev/null
+++ b/tools/qscxmlc/CMakeLists.txt
@@ -0,0 +1,58 @@
+# Generated from qscxmlc.pro.
+
+#####################################################################
+## qscxmlc Tool:
+#####################################################################
+
+add_qt_tool(qscxmlc
+ TOOLS_TARGET Scxml # special case
+ SOURCES
+ ../../src/scxml/qscxmlcompiler.cpp ../../src/scxml/qscxmlcompiler.h ../../src/scxml/qscxmlcompiler_p.h
+ ../../src/scxml/qscxmlerror.cpp ../../src/scxml/qscxmlerror.h
+ ../../src/scxml/qscxmlexecutablecontent.cpp ../../src/scxml/qscxmlexecutablecontent.h ../../src/scxml/qscxmlexecutablecontent_p.h
+ ../../src/scxml/qscxmlglobals.h
+ ../../src/scxml/qscxmltabledata.cpp ../../src/scxml/qscxmltabledata.h
+ generator.cpp generator.h
+ main.cpp
+ moc.h
+ outputrevision.h
+ qscxmlc.cpp qscxmlc.h
+ scxmlcppdumper.cpp scxmlcppdumper.h
+ utils.h
+ DEFINES
+ BUILD_QSCXMLC
+ QT_NO_CAST_FROM_ASCII
+ QT_NO_CAST_TO_ASCII
+ INCLUDE_DIRECTORIES
+# special case begin
+ $<TARGET_PROPERTY:Qt::Scxml,INTERFACE_INCLUDE_DIRECTORIES>
+ $<TARGET_PROPERTY:Qt::ScxmlPrivate,INTERFACE_INCLUDE_DIRECTORIES>
+# special case end
+ LIBRARIES
+ Qt::CorePrivate
+)
+
+# special case begin
+set_property(SOURCE ../../src/scxml/qscxmlerror.h PROPERTY SKIP_AUTOMOC ON)
+set_property(SOURCE ../../src/scxml/qscxmlcompiler.cpp PROPERTY SKIP_AUTOMOC ON)
+# special case end
+
+# Resources:
+set(templates_resource_files
+ "cppdatamodel.t"
+ "data.t"
+ "decl.t"
+)
+
+add_qt_resource(qscxmlc "templates"
+ PREFIX
+ "/"
+ FILES
+ ${templates_resource_files}
+ OPTIONS --no-compress # special case
+)
+
+
+#### Keys ignored in scope 1:.:.:qscxmlc.pro:<TRUE>:
+# _LOADED = "qt_tool" "resources"
+# _OPTION = "host_build"