aboutsummaryrefslogtreecommitdiffstats
path: root/src/qmlcompiler/qmlcompiler.pro
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2020-10-01 12:40:01 +0200
committerUlf Hermann <ulf.hermann@qt.io>2020-10-05 14:58:32 +0200
commit767dd738d3de9306062707fe05d32c91ed755da3 (patch)
treeebadcc9809322d5d78ce28f9b82bad1db949f232 /src/qmlcompiler/qmlcompiler.pro
parente7d90fc5268cdca6aa10f422f00ad4a0049ea157 (diff)
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 <fabian.kosmale@qt.io>
Diffstat (limited to 'src/qmlcompiler/qmlcompiler.pro')
-rw-r--r--src/qmlcompiler/qmlcompiler.pro25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/qmlcompiler/qmlcompiler.pro b/src/qmlcompiler/qmlcompiler.pro
new file mode 100644
index 0000000000..906286551f
--- /dev/null
+++ b/src/qmlcompiler/qmlcompiler.pro
@@ -0,0 +1,25 @@
+option(host_build)
+TARGET = QtQmlCompiler
+QT = core-private qmldevtools-private
+CONFIG += internal_module
+
+SOURCES = \
+ resourcefilemapper.cpp \
+ importedmembersvisitor.cpp \
+ qmljsimporter.cpp \
+ qmljstypereader.cpp \
+ scopetree.cpp \
+ typedescriptionreader.cpp \
+ qmlstreamwriter.cpp
+
+HEADERS = \
+ resourcefilemapper_p.h \
+ importedmembersvisitor_p.h \
+ qmljsimporter_p.h \
+ qmljstypereader_p.h \
+ metatypes_p.h \
+ scopetree_p.h \
+ typedescriptionreader_p.h \
+ qmlstreamwriter_p.h
+
+load(qt_module)