2022-02-22 15:43:21 +01:00
|
|
|
import qbs.FileInfo
|
|
|
|
|
|
|
|
|
|
CppApplication {
|
|
|
|
|
Depends { name: "QmlJS" }
|
2024-04-12 14:46:38 +02:00
|
|
|
Depends { name: "Utils" }
|
2022-02-22 15:43:21 +01:00
|
|
|
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")
|
|
|
|
|
}
|