From 767dd738d3de9306062707fe05d32c91ed755da3 Mon Sep 17 00:00:00 2001 From: Ulf Hermann Date: Thu, 1 Oct 2020 12:40:01 +0200 Subject: Long live libQtQmlCompiler! Move all the code from tools/shared into src/qmlcompiler and build a static library from it so that we can re-use it in external tools. Change-Id: I7c8d8e59063dc7c711f4072f103a01095e6f5997 Reviewed-by: Fabian Kosmale --- src/qmlcompiler/CMakeLists.txt | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 src/qmlcompiler/CMakeLists.txt (limited to 'src/qmlcompiler/CMakeLists.txt') diff --git a/src/qmlcompiler/CMakeLists.txt b/src/qmlcompiler/CMakeLists.txt new file mode 100644 index 0000000000..d6895704a4 --- /dev/null +++ b/src/qmlcompiler/CMakeLists.txt @@ -0,0 +1,25 @@ +# Generated from qmlcompiler.pro. + +##################################################################### +## QmlCompiler Module: +##################################################################### + +qt_add_module(QmlCompiler + STATIC + INTERNAL_MODULE + SOURCES + importedmembersvisitor.cpp importedmembersvisitor_p.h + metatypes_p.h + qmljsimporter.cpp qmljsimporter_p.h + qmljstypereader.cpp qmljstypereader_p.h + qmlstreamwriter.cpp qmlstreamwriter_p.h + resourcefilemapper.cpp resourcefilemapper_p.h + scopetree.cpp scopetree_p.h + typedescriptionreader.cpp typedescriptionreader_p.h + PUBLIC_LIBRARIES + Qt::CorePrivate + Qt::QmlDevToolsPrivate +) + +#### Keys ignored in scope 1:.:.:qmlcompiler.pro:: +# _OPTION = "host_build" -- cgit v1.2.3