aboutsummaryrefslogtreecommitdiffstats
path: root/tools/qmllint/.prev_CMakeLists.txt
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2020-03-30 17:42:48 +0200
committerUlf Hermann <ulf.hermann@qt.io>2020-04-01 10:29:29 +0200
commitc38ea80c5dd71a20eade7b3a3b619c1996c6af0b (patch)
treebd7eafa6e0e19f0aca3911c74ab99c7b8062a14a /tools/qmllint/.prev_CMakeLists.txt
parent4cf0962dc4d8d48aa600c5b56b160c8553782140 (diff)
Move qmllint's metatype support to tools/shared
We want to read qmltypes files and analyze scopes also from other tools. Furthermore, restructure the shared directory, so that each tool only includes what it needs. Change-Id: I96a2dcc8b1c5fac613592fb1867bf51fa5ef3a6e Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'tools/qmllint/.prev_CMakeLists.txt')
-rw-r--r--tools/qmllint/.prev_CMakeLists.txt11
1 files changed, 7 insertions, 4 deletions
diff --git a/tools/qmllint/.prev_CMakeLists.txt b/tools/qmllint/.prev_CMakeLists.txt
index 9e3667fead..df661ebc57 100644
--- a/tools/qmllint/.prev_CMakeLists.txt
+++ b/tools/qmllint/.prev_CMakeLists.txt
@@ -6,14 +6,17 @@
qt_add_tool(qmllint
SOURCES
- componentversion.cpp componentversion.h
+ checkidentifiers.cpp checkidentifiers.h
+ ../shared/componentversion.cpp ../shared/componentversion.h
findunqualified.cpp findunqualified.h
importedmembersvisitor.cpp importedmembersvisitor.h
main.cpp
- metatypes.h
+ ../shared/metatypes.h
qcoloroutput.cpp qcoloroutput.h
- scopetree.cpp scopetree.h
- typedescriptionreader.cpp typedescriptionreader.h
+ ../shared/scopetree.cpp ../shared/scopetree.h
+ ../shared/typedescriptionreader.cpp ../shared/typedescriptionreader.h
+ INCLUDE_DIRECTORIES
+ ../shared
PUBLIC_LIBRARIES
Qt::CorePrivate
Qt::QmlDevToolsPrivate