aboutsummaryrefslogtreecommitdiffstats
path: root/tools/qmlformat/CMakeLists.txt
blob: 7675363ce4bc1cb4ae1c0a61ebbc732b1d3bb8db (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
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: BSD-3-Clause

# Generated from qmlformat.pro.

#####################################################################
## qmlformat Tool:
#####################################################################

qt_get_tool_target_name(target_name qmlformat)
qt_internal_add_tool(${target_name}
    TARGET_DESCRIPTION "QML Formatter"
    TOOLS_TARGET Qml # special case
    SOURCES
        qmlformat.cpp
        ../shared/qqmltoolingsettings.h
        ../shared/qqmltoolingsettings.cpp
    LIBRARIES
        Qt::Core
        Qt::QmlDomPrivate
)
qt_internal_return_unless_building_tools()

#### Keys ignored in scope 1:.:.:qmlformat.pro:<TRUE>:
# QMAKE_TARGET_DESCRIPTION = "QML" "Formatter"
# _OPTION = "host_build"