diff options
author | Joerg Bornemann <joerg.bornemann@qt.io> | 2021-01-18 20:35:47 +0100 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@qt.io> | 2021-01-18 20:35:47 +0100 |
commit | 908e924b9eee862aa9e1cf1515562fc9104117d6 (patch) | |
tree | 37fc54700a0eeb2968910dfd163b649cf1250772 /tools | |
parent | c89265b5d9fac719a88c2fafa5cc445bd3e701ba (diff) | |
parent | 804fb1f97a713edc96435433d15b09a3cb670416 (diff) |
Merge remote-tracking branch 'origin/wip/cmake' into dev
Change-Id: Id18b041d49c8ddebdb4aff404e438700d0441948
Diffstat (limited to 'tools')
-rw-r--r-- | tools/CMakeLists.txt | 5 | ||||
-rw-r--r-- | tools/qscxmlc/.prev_CMakeLists.txt | 48 | ||||
-rw-r--r-- | tools/qscxmlc/CMakeLists.txt | 57 |
3 files changed, 110 insertions, 0 deletions
diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt new file mode 100644 index 0000000..3d0405c --- /dev/null +++ b/tools/CMakeLists.txt @@ -0,0 +1,5 @@ +# Generated from tools.pro. + +if(QT_FEATURE_commandlineparser) + add_subdirectory(qscxmlc) +endif() diff --git a/tools/qscxmlc/.prev_CMakeLists.txt b/tools/qscxmlc/.prev_CMakeLists.txt new file mode 100644 index 0000000..a1c65fc --- /dev/null +++ b/tools/qscxmlc/.prev_CMakeLists.txt @@ -0,0 +1,48 @@ +# Generated from qscxmlc.pro. + +##################################################################### +## qscxmlc Tool: +##################################################################### + +qt_add_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" +) + +qt_add_resource(qscxmlc "templates" + PREFIX + "/" + FILES + ${templates_resource_files} +) + + +#### Keys ignored in scope 1:.:.:qscxmlc.pro:<TRUE>: +# _OPTION = "host_build" diff --git a/tools/qscxmlc/CMakeLists.txt b/tools/qscxmlc/CMakeLists.txt new file mode 100644 index 0000000..5daaf26 --- /dev/null +++ b/tools/qscxmlc/CMakeLists.txt @@ -0,0 +1,57 @@ +# Generated from qscxmlc.pro. + +##################################################################### +## qscxmlc Tool: +##################################################################### + +qt_add_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" +) + +qt_add_resource(qscxmlc "templates" + PREFIX + "/" + FILES + ${templates_resource_files} + OPTIONS --no-compress # special case +) + + +#### Keys ignored in scope 1:.:.:qscxmlc.pro:<TRUE>: +# _OPTION = "host_build" |