aboutsummaryrefslogtreecommitdiffstats
path: root/tests/tools/qml-ast2dot/qml-ast2dot.qbs
blob: 1b067995add604219886e5910f74fe3e89beb47b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import qbs.FileInfo

CppApplication {
    Depends { name: "QmlJS" }
    Depends { name: "Utils" }
    Depends { name: "Qt.gui" }

    cpp.cxxLanguageVersion: "c++17"
    consoleApplication: true
    targetName: "qml-ast2dot"
    builtByDefault: false

    files: [
        "main.cpp"
    ]

   destinationDirectory: FileInfo.joinPaths(
                             FileInfo.path(project.buildDirectory + '/'
                                           + FileInfo.relativePath(project.ide_source_tree,
                                                                   sourceDirectory)),
                             "qml-ast2dot")
}