aboutsummaryrefslogtreecommitdiffstats
path: root/tools/qmlls/CMakeLists.txt
blob: ac42d239de036ebc7afe7800a25d287963c78531 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#####################################################################
## qmlls Tool:
#####################################################################

qt_get_tool_target_name(target_name qmlls)
qt_internal_add_tool(${target_name}
    TARGET_DESCRIPTION "QML languageserver"
    TOOLS_TARGET Qml # special case
    SOURCES
        qlanguageserver.h qlanguageserver_p.h qlanguageserver.cpp
        qqmllanguageserver.h qqmllanguageserver.cpp
        qmllanguageservertool.cpp
        textblock.h textblock.cpp
        textcursor.h textcursor.cpp
        textcursor.cpp textcursor.h
        textdocument.cpp textdocument.h
        qmllintsuggestions.h qmllintsuggestions.cpp
        textsynchronization.cpp textsynchronization.h
        qqmlcodemodel.h qqmlcodemodel.cpp
        ../shared/qqmltoolingsettings.h
        ../shared/qqmltoolingsettings.cpp
    PUBLIC_LIBRARIES
        Qt::QmlPrivate
        Qt::CorePrivate
        Qt::QmlDomPrivate
        Qt::LanguageServerPrivate
        Qt::QmlLintPrivate
)
qt_internal_return_unless_building_tools()