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

CppApplication {
    Depends { name: "QmlJS" }
    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")
}