2012-02-09 14:30:09 +01:00
|
|
|
import qbs.base 1.0
|
|
|
|
|
import "../QtcPlugin.qbs" as QtcPlugin
|
2013-08-19 11:49:13 +02:00
|
|
|
import "../../../qbs/defaults.js" as Defaults
|
2012-02-09 14:30:09 +01:00
|
|
|
|
|
|
|
|
QtcPlugin {
|
|
|
|
|
name: "Core"
|
|
|
|
|
|
2012-04-10 15:57:24 +02:00
|
|
|
Depends {
|
2012-06-19 15:36:27 +08:00
|
|
|
name: "Qt"
|
2012-04-10 15:57:24 +02:00
|
|
|
submodules: [
|
2012-06-19 15:36:27 +08:00
|
|
|
"core", "widgets", "xml", "network", "script", "sql", "help", "printsupport"
|
2012-04-10 15:57:24 +02:00
|
|
|
]
|
|
|
|
|
}
|
2012-04-01 19:21:05 +03:00
|
|
|
Depends { name: "Utils" }
|
|
|
|
|
Depends { name: "Aggregation" }
|
2012-09-30 07:26:39 +02:00
|
|
|
Depends { name: "app_version_header" }
|
2012-02-09 14:30:09 +01:00
|
|
|
|
2012-03-21 19:35:34 +02:00
|
|
|
cpp.dynamicLibraries: {
|
2013-06-20 14:43:33 +02:00
|
|
|
if (qbs.targetOS.contains("windows")) return [
|
2012-07-30 12:27:11 +02:00
|
|
|
"ole32",
|
|
|
|
|
"user32"
|
2012-02-09 14:30:09 +01:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2013-06-25 18:17:15 +02:00
|
|
|
cpp.frameworks: qbs.targetOS.contains("osx") ? ["AppKit"] : undefined
|
2013-03-15 13:40:18 +01:00
|
|
|
|
2013-07-30 18:00:27 +02:00
|
|
|
Group {
|
|
|
|
|
name: "General"
|
|
|
|
|
files: [
|
|
|
|
|
"basefilewizard.cpp", "basefilewizard.h",
|
|
|
|
|
"core.qrc",
|
|
|
|
|
"core_global.h",
|
|
|
|
|
"coreconstants.h",
|
|
|
|
|
"coreplugin.cpp", "coreplugin.h",
|
|
|
|
|
"designmode.cpp", "designmode.h",
|
|
|
|
|
"documentmanager.cpp", "documentmanager.h",
|
|
|
|
|
"editmode.cpp", "editmode.h",
|
|
|
|
|
"editortoolbar.cpp", "editortoolbar.h",
|
|
|
|
|
"externaltool.cpp", "externaltool.h",
|
|
|
|
|
"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",
|
|
|
|
|
"icorelistener.h",
|
|
|
|
|
"id.cpp", "id.h",
|
|
|
|
|
"idocument.cpp", "idocument.h",
|
|
|
|
|
"idocumentfactory.h",
|
|
|
|
|
"ifilewizardextension.h",
|
|
|
|
|
"imode.cpp", "imode.h",
|
|
|
|
|
"inavigationwidgetfactory.cpp", "inavigationwidgetfactory.h",
|
|
|
|
|
"infobar.cpp", "infobar.h",
|
|
|
|
|
"ioutputpane.h",
|
|
|
|
|
"iversioncontrol.cpp", "iversioncontrol.h",
|
|
|
|
|
"mainwindow.cpp", "mainwindow.h",
|
|
|
|
|
"manhattanstyle.cpp", "manhattanstyle.h",
|
|
|
|
|
"messagemanager.cpp", "messagemanager.h",
|
|
|
|
|
"messageoutputwindow.cpp", "messageoutputwindow.h",
|
|
|
|
|
"mimedatabase.cpp", "mimedatabase.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",
|
|
|
|
|
"outputpane.cpp", "outputpane.h",
|
|
|
|
|
"outputpanemanager.cpp", "outputpanemanager.h",
|
|
|
|
|
"outputwindow.cpp", "outputwindow.h",
|
|
|
|
|
"plugindialog.cpp", "plugindialog.h",
|
|
|
|
|
"removefiledialog.cpp", "removefiledialog.h", "removefiledialog.ui",
|
|
|
|
|
"rightpane.cpp", "rightpane.h",
|
|
|
|
|
"settingsdatabase.cpp", "settingsdatabase.h",
|
|
|
|
|
"sidebar.cpp", "sidebar.h",
|
|
|
|
|
"sidebarwidget.cpp", "sidebarwidget.h",
|
|
|
|
|
"statusbarmanager.cpp", "statusbarmanager.h",
|
|
|
|
|
"statusbarwidget.cpp", "statusbarwidget.h",
|
|
|
|
|
"styleanimator.cpp", "styleanimator.h",
|
|
|
|
|
"tabpositionindicator.cpp", "tabpositionindicator.h",
|
|
|
|
|
"textdocument.cpp", "textdocument.h",
|
|
|
|
|
"toolsettings.cpp", "toolsettings.h",
|
|
|
|
|
"variablechooser.cpp", "variablechooser.h", "variablechooser.ui",
|
|
|
|
|
"variablemanager.cpp", "variablemanager.h",
|
|
|
|
|
"vcsmanager.cpp", "vcsmanager.h",
|
|
|
|
|
"versiondialog.cpp", "versiondialog.h",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
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", "commandmappings.ui",
|
|
|
|
|
"commandsfile.cpp", "commandsfile.h",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Group {
|
|
|
|
|
name: "Dialogs"
|
|
|
|
|
prefix: "dialogs/"
|
|
|
|
|
files: [
|
|
|
|
|
"addtovcsdialog.cpp", "addtovcsdialog.h", "addtovcsdialog.ui",
|
|
|
|
|
"externaltoolconfig.cpp", "externaltoolconfig.h", "externaltoolconfig.ui",
|
|
|
|
|
"ioptionspage.cpp", "ioptionspage.h",
|
|
|
|
|
"iwizard.cpp", "iwizard.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",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Group {
|
|
|
|
|
name: "Editor Manager"
|
|
|
|
|
prefix: "editormanager/"
|
|
|
|
|
files: [
|
|
|
|
|
"BinFiles.mimetypes.xml",
|
|
|
|
|
"documentmodel.cpp", "documentmodel.h",
|
|
|
|
|
"editormanager.cpp", "editormanager.h",
|
|
|
|
|
"editorview.cpp", "editorview.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",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
Group {
|
2013-06-06 09:08:16 +02:00
|
|
|
name: "ProgressManager_win"
|
2013-06-20 14:43:33 +02:00
|
|
|
condition: qbs.targetOS.contains("windows")
|
2012-02-09 14:30:09 +01:00
|
|
|
files: [
|
2012-09-30 13:50:31 +02:00
|
|
|
"progressmanager/progressmanager_win.cpp",
|
2012-02-09 14:30:09 +01:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Group {
|
2013-06-06 09:08:16 +02:00
|
|
|
name: "ProgressManager_mac"
|
2013-06-25 18:17:15 +02:00
|
|
|
condition: qbs.targetOS.contains("osx")
|
2012-02-09 14:30:09 +01:00
|
|
|
files: [
|
2013-03-15 13:40:18 +01:00
|
|
|
"macfullscreen.h",
|
|
|
|
|
"macfullscreen.mm",
|
2012-09-30 13:50:31 +02:00
|
|
|
"progressmanager/progressmanager_mac.mm",
|
2012-02-09 14:30:09 +01:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Group {
|
2013-06-06 09:08:16 +02:00
|
|
|
name: "ProgressManager_x11"
|
2013-06-25 18:17:15 +02:00
|
|
|
condition: qbs.targetOS.contains("unix") && !qbs.targetOS.contains("osx")
|
2012-02-09 14:30:09 +01:00
|
|
|
files: [
|
2012-09-30 13:50:31 +02:00
|
|
|
"progressmanager/progressmanager_x11.cpp",
|
2012-02-09 14:30:09 +01:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2013-08-19 11:49:13 +02:00
|
|
|
Group {
|
|
|
|
|
name: "Tests"
|
|
|
|
|
condition: Defaults.testsEnabled(qbs)
|
|
|
|
|
files: [
|
|
|
|
|
"testdatadir.cpp",
|
|
|
|
|
"testdatadir.h"
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2013-05-24 15:58:33 +02:00
|
|
|
Export {
|
2012-04-01 19:21:05 +03:00
|
|
|
Depends { name: "Aggregation" }
|
|
|
|
|
Depends { name: "Utils" }
|
2012-02-09 14:30:09 +01:00
|
|
|
}
|
|
|
|
|
}
|