2014-03-11 11:30:14 +01:00
|
|
|
import qbs 1.0
|
2014-01-13 16:17:34 +01:00
|
|
|
import qbs.FileInfo
|
2012-02-09 14:30:09 +01:00
|
|
|
|
2016-06-08 17:10:04 +02:00
|
|
|
Project {
|
2012-02-09 14:30:09 +01:00
|
|
|
name: "Core"
|
|
|
|
|
|
2016-06-08 17:10:04 +02:00
|
|
|
QtcDevHeaders { }
|
2014-07-02 17:48:54 +02:00
|
|
|
|
2016-06-08 17:10:04 +02:00
|
|
|
QtcPlugin {
|
|
|
|
|
Depends {
|
|
|
|
|
name: "Qt"
|
|
|
|
|
submodules: ["widgets", "xml", "network", "qml", "sql", "help", "printsupport"]
|
|
|
|
|
}
|
2014-07-02 17:48:54 +02:00
|
|
|
|
2016-06-08 17:10:04 +02:00
|
|
|
Depends {
|
|
|
|
|
name: "Qt.gui-private"
|
|
|
|
|
condition: qbs.targetOS.contains("windows")
|
|
|
|
|
}
|
2014-02-10 13:02:33 +01:00
|
|
|
|
2016-06-08 17:10:04 +02:00
|
|
|
Depends { name: "Utils" }
|
|
|
|
|
Depends { name: "Aggregation" }
|
2012-02-09 14:30:09 +01:00
|
|
|
|
2016-06-08 17:10:04 +02:00
|
|
|
Depends { name: "app_version_header" }
|
2012-02-09 14:30:09 +01:00
|
|
|
|
2016-06-08 17:10:04 +02:00
|
|
|
cpp.dynamicLibraries: {
|
|
|
|
|
if (qbs.targetOS.contains("windows"))
|
|
|
|
|
return ["ole32", "user32"]
|
|
|
|
|
}
|
2013-03-15 13:40:18 +01:00
|
|
|
|
2016-07-28 11:29:06 +02:00
|
|
|
cpp.frameworks: qbs.targetOS.contains("macos") ? ["AppKit"] : undefined
|
2013-07-30 18:00:27 +02:00
|
|
|
|
2016-06-08 17:10:04 +02:00
|
|
|
Group {
|
|
|
|
|
name: "General"
|
|
|
|
|
files: [
|
|
|
|
|
"basefilewizard.cpp", "basefilewizard.h",
|
|
|
|
|
"basefilewizardfactory.cpp", "basefilewizardfactory.h",
|
|
|
|
|
"core.qrc",
|
|
|
|
|
"core_global.h",
|
|
|
|
|
"coreconstants.h",
|
|
|
|
|
"coreicons.cpp", "coreicons.h",
|
|
|
|
|
"corejsextensions.cpp", "corejsextensions.h",
|
|
|
|
|
"coreplugin.cpp", "coreplugin.h",
|
|
|
|
|
"designmode.cpp", "designmode.h",
|
2017-11-08 13:21:49 +01:00
|
|
|
"diffservice.cpp", "diffservice.h",
|
2016-06-08 17:10:04 +02:00
|
|
|
"documentmanager.cpp", "documentmanager.h",
|
|
|
|
|
"editmode.cpp", "editmode.h",
|
|
|
|
|
"editortoolbar.cpp", "editortoolbar.h",
|
|
|
|
|
"externaltool.cpp", "externaltool.h",
|
|
|
|
|
"externaltoolmanager.cpp", "externaltoolmanager.h",
|
|
|
|
|
"fancyactionbar.cpp", "fancyactionbar.h", "fancyactionbar.qrc",
|
|
|
|
|
"fancytabwidget.cpp", "fancytabwidget.h",
|
|
|
|
|
"featureprovider.cpp", "featureprovider.h",
|
|
|
|
|
"fileiconprovider.cpp", "fileiconprovider.h",
|
|
|
|
|
"fileutils.cpp", "fileutils.h",
|
|
|
|
|
"findplaceholder.cpp", "findplaceholder.h",
|
|
|
|
|
"generalsettings.cpp", "generalsettings.h", "generalsettings.ui",
|
|
|
|
|
"generatedfile.cpp", "generatedfile.h",
|
|
|
|
|
"helpmanager.cpp", "helpmanager.h",
|
|
|
|
|
"icontext.cpp", "icontext.h",
|
|
|
|
|
"icore.cpp", "icore.h",
|
|
|
|
|
"id.cpp", "id.h",
|
|
|
|
|
"idocument.cpp", "idocument.h",
|
|
|
|
|
"idocumentfactory.cpp", "idocumentfactory.h",
|
|
|
|
|
"ifilewizardextension.h",
|
|
|
|
|
"imode.cpp", "imode.h",
|
|
|
|
|
"inavigationwidgetfactory.cpp", "inavigationwidgetfactory.h",
|
|
|
|
|
"infobar.cpp", "infobar.h",
|
|
|
|
|
"ioutputpane.cpp", "ioutputpane.h",
|
|
|
|
|
"iversioncontrol.cpp", "iversioncontrol.h",
|
|
|
|
|
"iwelcomepage.cpp", "iwelcomepage.h",
|
|
|
|
|
"iwizardfactory.cpp", "iwizardfactory.h",
|
|
|
|
|
"jsexpander.cpp", "jsexpander.h",
|
|
|
|
|
"mainwindow.cpp", "mainwindow.h",
|
|
|
|
|
"manhattanstyle.cpp", "manhattanstyle.h",
|
|
|
|
|
"messagebox.cpp", "messagebox.h",
|
|
|
|
|
"messagemanager.cpp", "messagemanager.h",
|
|
|
|
|
"messageoutputwindow.cpp", "messageoutputwindow.h",
|
|
|
|
|
"mimetypemagicdialog.cpp", "mimetypemagicdialog.h", "mimetypemagicdialog.ui",
|
|
|
|
|
"mimetypesettings.cpp", "mimetypesettings.h",
|
|
|
|
|
"mimetypesettingspage.ui",
|
|
|
|
|
"minisplitter.cpp", "minisplitter.h",
|
|
|
|
|
"modemanager.cpp", "modemanager.h",
|
|
|
|
|
"navigationsubwidget.cpp", "navigationsubwidget.h",
|
|
|
|
|
"navigationwidget.cpp", "navigationwidget.h",
|
|
|
|
|
"opendocumentstreeview.cpp", "opendocumentstreeview.h",
|
|
|
|
|
"outputpane.cpp", "outputpane.h",
|
|
|
|
|
"outputpanemanager.cpp", "outputpanemanager.h",
|
|
|
|
|
"outputwindow.cpp", "outputwindow.h",
|
|
|
|
|
"patchtool.cpp", "patchtool.h",
|
|
|
|
|
"plugindialog.cpp", "plugindialog.h",
|
2016-10-17 12:17:51 +02:00
|
|
|
"reaper.cpp", "reaper.h", "reaper_p.h",
|
2016-06-08 17:10:04 +02:00
|
|
|
"removefiledialog.cpp", "removefiledialog.h", "removefiledialog.ui",
|
|
|
|
|
"rightpane.cpp", "rightpane.h",
|
|
|
|
|
"settingsdatabase.cpp", "settingsdatabase.h",
|
|
|
|
|
"shellcommand.cpp", "shellcommand.h",
|
|
|
|
|
"sidebar.cpp", "sidebar.h",
|
|
|
|
|
"sidebarwidget.cpp", "sidebarwidget.h",
|
|
|
|
|
"statusbarmanager.cpp", "statusbarmanager.h",
|
|
|
|
|
"statusbarwidget.cpp", "statusbarwidget.h",
|
|
|
|
|
"styleanimator.cpp", "styleanimator.h",
|
|
|
|
|
"systemsettings.cpp", "systemsettings.h", "systemsettings.ui",
|
|
|
|
|
"textdocument.cpp", "textdocument.h",
|
|
|
|
|
"themechooser.cpp", "themechooser.h",
|
|
|
|
|
"toolsettings.cpp", "toolsettings.h",
|
|
|
|
|
"variablechooser.cpp", "variablechooser.h",
|
|
|
|
|
"vcsmanager.cpp", "vcsmanager.h",
|
|
|
|
|
"versiondialog.cpp", "versiondialog.h",
|
|
|
|
|
"windowsupport.cpp", "windowsupport.h"
|
|
|
|
|
]
|
|
|
|
|
}
|
2013-07-30 18:00:27 +02:00
|
|
|
|
2016-06-08 17:10:04 +02:00
|
|
|
Group {
|
|
|
|
|
name: "Action Manager"
|
|
|
|
|
prefix: "actionmanager/"
|
|
|
|
|
files: [
|
|
|
|
|
"actioncontainer.cpp", "actioncontainer.h", "actioncontainer_p.h",
|
|
|
|
|
"actionmanager.cpp", "actionmanager.h", "actionmanager_p.h",
|
|
|
|
|
"command.cpp", "command.h", "command_p.h",
|
|
|
|
|
"commandbutton.cpp", "commandbutton.h",
|
|
|
|
|
"commandmappings.cpp", "commandmappings.h",
|
|
|
|
|
"commandsfile.cpp", "commandsfile.h",
|
|
|
|
|
]
|
|
|
|
|
}
|
2013-07-30 18:00:27 +02:00
|
|
|
|
2016-06-08 17:10:04 +02:00
|
|
|
Group {
|
|
|
|
|
name: "Dialogs"
|
|
|
|
|
prefix: "dialogs/"
|
|
|
|
|
files: [
|
|
|
|
|
"addtovcsdialog.cpp", "addtovcsdialog.h", "addtovcsdialog.ui",
|
|
|
|
|
"externaltoolconfig.cpp", "externaltoolconfig.h", "externaltoolconfig.ui",
|
|
|
|
|
"ioptionspage.cpp", "ioptionspage.h",
|
|
|
|
|
"newdialog.cpp", "newdialog.h", "newdialog.ui",
|
|
|
|
|
"openwithdialog.cpp", "openwithdialog.h", "openwithdialog.ui",
|
|
|
|
|
"promptoverwritedialog.cpp", "promptoverwritedialog.h",
|
|
|
|
|
"readonlyfilesdialog.cpp", "readonlyfilesdialog.h", "readonlyfilesdialog.ui",
|
|
|
|
|
"saveitemsdialog.cpp", "saveitemsdialog.h", "saveitemsdialog.ui",
|
|
|
|
|
"settingsdialog.cpp", "settingsdialog.h",
|
|
|
|
|
"shortcutsettings.cpp", "shortcutsettings.h",
|
|
|
|
|
]
|
|
|
|
|
}
|
2013-07-30 18:00:27 +02:00
|
|
|
|
2016-06-08 17:10:04 +02:00
|
|
|
Group {
|
|
|
|
|
name: "Editor Manager"
|
|
|
|
|
prefix: "editormanager/"
|
|
|
|
|
files: [
|
|
|
|
|
"documentmodel.cpp", "documentmodel.h", "documentmodel_p.h",
|
|
|
|
|
"editorarea.cpp", "editorarea.h",
|
|
|
|
|
"editormanager.cpp", "editormanager.h", "editormanager_p.h",
|
|
|
|
|
"editorview.cpp", "editorview.h",
|
|
|
|
|
"editorwindow.cpp", "editorwindow.h",
|
|
|
|
|
"ieditor.cpp", "ieditor.h",
|
|
|
|
|
"ieditorfactory.cpp", "ieditorfactory.h",
|
|
|
|
|
"iexternaleditor.cpp", "iexternaleditor.h",
|
|
|
|
|
"openeditorsview.cpp", "openeditorsview.h",
|
|
|
|
|
"openeditorswindow.cpp", "openeditorswindow.h",
|
|
|
|
|
"systemeditor.cpp", "systemeditor.h",
|
|
|
|
|
]
|
|
|
|
|
}
|
2012-02-09 14:30:09 +01:00
|
|
|
|
2016-06-08 17:10:04 +02:00
|
|
|
Group {
|
|
|
|
|
name: "Progress Manager"
|
|
|
|
|
prefix: "progressmanager/"
|
|
|
|
|
files: [
|
|
|
|
|
"futureprogress.cpp", "futureprogress.h",
|
|
|
|
|
"progressbar.cpp", "progressbar.h",
|
|
|
|
|
"progressmanager.cpp", "progressmanager.h", "progressmanager_p.h",
|
|
|
|
|
"progressview.cpp", "progressview.h",
|
|
|
|
|
]
|
|
|
|
|
}
|
2012-02-09 14:30:09 +01:00
|
|
|
|
2016-06-08 17:10:04 +02:00
|
|
|
Group {
|
|
|
|
|
name: "ProgressManager_win"
|
|
|
|
|
condition: qbs.targetOS.contains("windows")
|
|
|
|
|
files: [
|
|
|
|
|
"progressmanager/progressmanager_win.cpp",
|
|
|
|
|
]
|
|
|
|
|
}
|
2012-02-09 14:30:09 +01:00
|
|
|
|
2016-06-08 17:10:04 +02:00
|
|
|
Group {
|
|
|
|
|
name: "ProgressManager_mac"
|
2016-07-28 11:29:06 +02:00
|
|
|
condition: qbs.targetOS.contains("macos")
|
2016-06-08 17:10:04 +02:00
|
|
|
files: [
|
|
|
|
|
"progressmanager/progressmanager_mac.mm",
|
|
|
|
|
]
|
|
|
|
|
}
|
2012-02-09 14:30:09 +01:00
|
|
|
|
2016-06-08 17:10:04 +02:00
|
|
|
Group {
|
|
|
|
|
name: "ProgressManager_x11"
|
2016-07-28 11:29:06 +02:00
|
|
|
condition: qbs.targetOS.contains("unix") && !qbs.targetOS.contains("macos")
|
2016-06-08 17:10:04 +02:00
|
|
|
files: [
|
|
|
|
|
"progressmanager/progressmanager_x11.cpp",
|
|
|
|
|
]
|
|
|
|
|
}
|
2014-01-13 16:17:34 +01:00
|
|
|
|
2016-06-08 17:10:04 +02:00
|
|
|
Group {
|
|
|
|
|
name: "Tests"
|
|
|
|
|
condition: qtc.testsEnabled
|
|
|
|
|
files: [
|
|
|
|
|
"testdatadir.cpp",
|
|
|
|
|
"testdatadir.h",
|
|
|
|
|
"locator/locatorfiltertest.cpp",
|
|
|
|
|
"locator/locatorfiltertest.h",
|
|
|
|
|
"locator/locator_test.cpp"
|
|
|
|
|
]
|
2014-01-13 16:17:34 +01:00
|
|
|
|
2016-06-08 17:10:04 +02:00
|
|
|
cpp.defines: outer.concat(['SRCDIR="' + FileInfo.path(filePath) + '"'])
|
|
|
|
|
}
|
2014-01-13 16:17:34 +01:00
|
|
|
|
2016-06-08 17:10:04 +02:00
|
|
|
Group {
|
|
|
|
|
name: "Find"
|
|
|
|
|
prefix: "find/"
|
|
|
|
|
files: [
|
|
|
|
|
"basetextfind.cpp",
|
|
|
|
|
"basetextfind.h",
|
|
|
|
|
"currentdocumentfind.cpp",
|
|
|
|
|
"currentdocumentfind.h",
|
|
|
|
|
"find.qrc",
|
|
|
|
|
"finddialog.ui",
|
|
|
|
|
"findplugin.cpp",
|
|
|
|
|
"findplugin.h",
|
|
|
|
|
"findtoolbar.cpp",
|
|
|
|
|
"findtoolbar.h",
|
|
|
|
|
"findtoolwindow.cpp",
|
|
|
|
|
"findtoolwindow.h",
|
|
|
|
|
"findwidget.ui",
|
|
|
|
|
"highlightscrollbar.cpp",
|
|
|
|
|
"highlightscrollbar.h",
|
|
|
|
|
"ifindfilter.cpp",
|
|
|
|
|
"ifindfilter.h",
|
|
|
|
|
"ifindsupport.cpp",
|
|
|
|
|
"ifindsupport.h",
|
|
|
|
|
"itemviewfind.cpp",
|
|
|
|
|
"itemviewfind.h",
|
|
|
|
|
"searchresultcolor.h",
|
|
|
|
|
"searchresulttreeitemdelegate.cpp",
|
|
|
|
|
"searchresulttreeitemdelegate.h",
|
|
|
|
|
"searchresulttreeitemroles.h",
|
|
|
|
|
"searchresulttreeitems.cpp",
|
|
|
|
|
"searchresulttreeitems.h",
|
|
|
|
|
"searchresulttreemodel.cpp",
|
|
|
|
|
"searchresulttreemodel.h",
|
|
|
|
|
"searchresulttreeview.cpp",
|
|
|
|
|
"searchresulttreeview.h",
|
|
|
|
|
"searchresultwidget.cpp",
|
|
|
|
|
"searchresultwidget.h",
|
|
|
|
|
"searchresultwindow.cpp",
|
|
|
|
|
"searchresultwindow.h",
|
|
|
|
|
"textfindconstants.h",
|
|
|
|
|
]
|
|
|
|
|
}
|
2013-08-19 11:49:13 +02:00
|
|
|
|
2016-06-08 17:10:04 +02:00
|
|
|
Group {
|
|
|
|
|
name: "Locator"
|
|
|
|
|
prefix: "locator/"
|
|
|
|
|
files: [
|
|
|
|
|
"basefilefilter.cpp",
|
|
|
|
|
"basefilefilter.h",
|
|
|
|
|
"commandlocator.cpp",
|
|
|
|
|
"commandlocator.h",
|
|
|
|
|
"directoryfilter.cpp",
|
|
|
|
|
"directoryfilter.h",
|
|
|
|
|
"directoryfilter.ui",
|
|
|
|
|
"executefilter.cpp",
|
|
|
|
|
"executefilter.h",
|
|
|
|
|
"externaltoolsfilter.cpp",
|
|
|
|
|
"externaltoolsfilter.h",
|
|
|
|
|
"filesystemfilter.cpp",
|
|
|
|
|
"filesystemfilter.h",
|
|
|
|
|
"filesystemfilter.ui",
|
|
|
|
|
"ilocatorfilter.cpp",
|
|
|
|
|
"ilocatorfilter.h",
|
|
|
|
|
"locatorconstants.h",
|
|
|
|
|
"locatorfiltersfilter.cpp",
|
|
|
|
|
"locatorfiltersfilter.h",
|
|
|
|
|
"locatormanager.cpp",
|
|
|
|
|
"locatormanager.h",
|
|
|
|
|
"locator.cpp",
|
|
|
|
|
"locator.h",
|
|
|
|
|
"locatorsearchutils.cpp",
|
|
|
|
|
"locatorsearchutils.h",
|
|
|
|
|
"locatorwidget.cpp",
|
|
|
|
|
"locatorwidget.h",
|
|
|
|
|
"opendocumentsfilter.cpp",
|
|
|
|
|
"opendocumentsfilter.h",
|
|
|
|
|
"locatorsettingspage.cpp",
|
|
|
|
|
"locatorsettingspage.h",
|
|
|
|
|
"locatorsettingspage.ui",
|
|
|
|
|
]
|
|
|
|
|
}
|
2015-03-19 12:03:11 +01:00
|
|
|
|
2016-06-08 17:10:04 +02:00
|
|
|
Group {
|
|
|
|
|
name: "Locator_mac"
|
2016-07-28 11:29:06 +02:00
|
|
|
condition: qbs.targetOS.contains("macos")
|
2016-06-08 17:10:04 +02:00
|
|
|
files: [
|
|
|
|
|
"locator/spotlightlocatorfilter.h",
|
|
|
|
|
"locator/spotlightlocatorfilter.mm",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Export {
|
|
|
|
|
Depends { name: "Aggregation" }
|
|
|
|
|
Depends { name: "Utils" }
|
|
|
|
|
}
|
2012-02-09 14:30:09 +01:00
|
|
|
}
|
|
|
|
|
}
|