2012-02-09 14:30:09 +01:00
|
|
|
import qbs.base 1.0
|
|
|
|
|
|
|
|
|
|
import "../QtcPlugin.qbs" as QtcPlugin
|
2012-09-05 11:01:43 +02:00
|
|
|
import "../../../qbs/defaults.js" as Defaults
|
2012-02-09 14:30:09 +01:00
|
|
|
|
|
|
|
|
QtcPlugin {
|
|
|
|
|
name: "QmlJSTools"
|
|
|
|
|
|
2012-06-19 15:36:27 +08:00
|
|
|
Depends { name: "Qt.widgets" }
|
2012-02-09 14:30:09 +01:00
|
|
|
Depends { name: "Core" }
|
|
|
|
|
Depends { name: "LanguageUtils" }
|
2012-03-15 13:42:07 +01:00
|
|
|
Depends { name: "CppTools" }
|
2012-02-09 14:30:09 +01:00
|
|
|
Depends { name: "QmlJS" }
|
|
|
|
|
Depends { name: "ProjectExplorer" }
|
|
|
|
|
Depends { name: "TextEditor" }
|
|
|
|
|
Depends { name: "Locator" }
|
2012-04-18 12:06:10 +02:00
|
|
|
Depends { name: "QmlDebug" }
|
2012-02-09 14:30:09 +01:00
|
|
|
Depends { name: "QtSupport" }
|
|
|
|
|
|
|
|
|
|
Depends { name: "cpp" }
|
|
|
|
|
cpp.defines: base.concat(["QT_NO_CAST_TO_ASCII"])
|
2012-09-27 17:20:00 +02:00
|
|
|
cpp.includePaths: base.concat("../../libs/3rdparty")
|
2012-02-09 14:30:09 +01:00
|
|
|
|
|
|
|
|
files: [
|
2012-09-30 13:50:31 +02:00
|
|
|
"qmljscodestylepreferencesfactory.cpp",
|
|
|
|
|
"qmljscodestylepreferencesfactory.h",
|
2012-02-09 14:30:09 +01:00
|
|
|
"qmljscodestylesettingspage.cpp",
|
|
|
|
|
"qmljscodestylesettingspage.h",
|
|
|
|
|
"qmljscodestylesettingspage.ui",
|
|
|
|
|
"qmljsfindexportedcpptypes.cpp",
|
|
|
|
|
"qmljsfindexportedcpptypes.h",
|
|
|
|
|
"qmljsfunctionfilter.cpp",
|
|
|
|
|
"qmljsfunctionfilter.h",
|
|
|
|
|
"qmljsindenter.cpp",
|
|
|
|
|
"qmljsindenter.h",
|
|
|
|
|
"qmljslocatordata.cpp",
|
|
|
|
|
"qmljslocatordata.h",
|
|
|
|
|
"qmljsmodelmanager.cpp",
|
2012-09-30 13:50:31 +02:00
|
|
|
"qmljsmodelmanager.cpp",
|
|
|
|
|
"qmljsmodelmanager.h",
|
2012-02-09 14:30:09 +01:00
|
|
|
"qmljsmodelmanager.h",
|
|
|
|
|
"qmljsplugindumper.cpp",
|
|
|
|
|
"qmljsplugindumper.h",
|
|
|
|
|
"qmljsqtstylecodeformatter.cpp",
|
|
|
|
|
"qmljsqtstylecodeformatter.h",
|
|
|
|
|
"qmljsrefactoringchanges.cpp",
|
|
|
|
|
"qmljsrefactoringchanges.h",
|
2012-09-30 13:50:31 +02:00
|
|
|
"qmljssemanticinfo.cpp",
|
|
|
|
|
"qmljssemanticinfo.h",
|
2012-02-09 14:30:09 +01:00
|
|
|
"qmljstools_global.h",
|
|
|
|
|
"qmljstoolsconstants.h",
|
|
|
|
|
"qmljstoolsplugin.cpp",
|
|
|
|
|
"qmljstoolsplugin.h",
|
|
|
|
|
"qmljstoolssettings.cpp",
|
|
|
|
|
"qmljstoolssettings.h",
|
2012-10-04 14:54:59 +02:00
|
|
|
"qmlconsolemanager.cpp",
|
|
|
|
|
"qmlconsolemanager.h",
|
|
|
|
|
"qmlconsoleitem.cpp",
|
|
|
|
|
"qmlconsoleitem.h",
|
|
|
|
|
"qmlcomsoleitemmodel.cpp",
|
|
|
|
|
"qmlconsoleitemmodel.h",
|
|
|
|
|
"qmlconsolepane.cpp",
|
|
|
|
|
"qmlconsolepane.h",
|
|
|
|
|
"qmlconsoleview.cpp",
|
|
|
|
|
"qmlconsoleview.h",
|
|
|
|
|
"qmlconsoleitemdelegate.cpp",
|
|
|
|
|
"qmlconsoleitemdelegate.h",
|
|
|
|
|
"qmlconsoleedit.cpp",
|
|
|
|
|
"qmlconsoleedit.h",
|
|
|
|
|
"qmljsinterpreter.cpp",
|
|
|
|
|
"qmljsinterpreter.h",
|
|
|
|
|
"qmljsconsoleproxymodel.cpp",
|
|
|
|
|
"qmljsconsoleproxymodel.h",
|
|
|
|
|
"qmljstools.qrc"
|
2012-02-09 14:30:09 +01:00
|
|
|
]
|
|
|
|
|
|
2012-09-05 11:01:43 +02:00
|
|
|
Group {
|
|
|
|
|
condition: Defaults.testsEnabled(qbs)
|
|
|
|
|
files: ["qmljstools_test.cpp"]
|
|
|
|
|
}
|
|
|
|
|
|
2012-02-09 14:30:09 +01:00
|
|
|
ProductModule {
|
2012-03-20 15:35:15 +01:00
|
|
|
Depends { name: "CppTools" }
|
2012-04-18 12:06:10 +02:00
|
|
|
Depends { name: "QmlDebug" }
|
2012-02-09 14:30:09 +01:00
|
|
|
}
|
|
|
|
|
}
|