coreplugin.pro 6.19 KB
Newer Older
con's avatar
con committed
1 2 3
TEMPLATE = lib
TARGET = Core
DEFINES += CORE_LIBRARY
4
QT += network \
con's avatar
con committed
5
    script \
6
    sql
7
greaterThan(QT_MAJOR_VERSION, 4): QT += printsupport
8

kh1's avatar
kh1 committed
9
CONFIG += help
10
include(../../qtcreatorplugin.pri)
con's avatar
con committed
11
include(../../libs/utils/utils.pri)
12
include(../../shared/scriptwrapper/scriptwrapper.pri)
con's avatar
con committed
13
include(coreplugin_dependencies.pri)
kh1's avatar
kh1 committed
14
win32-msvc*:QMAKE_CXXFLAGS += -wd4251 -wd4290 -wd4250
con's avatar
con committed
15 16 17 18 19 20 21 22 23 24 25
INCLUDEPATH += dialogs \
    actionmanager \
    editormanager \
    progressmanager \
    scriptmanager
SOURCES += mainwindow.cpp \
    editmode.cpp \
    tabpositionindicator.cpp \
    fancyactionbar.cpp \
    fancytabwidget.cpp \
    generalsettings.cpp \
26
    id.cpp \
con's avatar
con committed
27 28 29
    messagemanager.cpp \
    messageoutputwindow.cpp \
    outputpane.cpp \
30
    outputwindow.cpp \
con's avatar
con committed
31
    vcsmanager.cpp \
con's avatar
con committed
32
    statusbarmanager.cpp \
con's avatar
con committed
33 34
    versiondialog.cpp \
    editormanager/editormanager.cpp \
35
    editormanager/editorview.cpp \
36
    editormanager/openeditorsmodel.cpp \
con's avatar
con committed
37 38
    editormanager/openeditorsview.cpp \
    editormanager/openeditorswindow.cpp \
39
    editormanager/ieditorfactory.cpp \
40
    editormanager/iexternaleditor.cpp \
con's avatar
con committed
41 42 43 44 45 46 47
    actionmanager/actionmanager.cpp \
    actionmanager/command.cpp \
    actionmanager/actioncontainer.cpp \
    actionmanager/commandsfile.cpp \
    dialogs/saveitemsdialog.cpp \
    dialogs/newdialog.cpp \
    dialogs/settingsdialog.cpp \
48
    actionmanager/commandmappings.cpp \
con's avatar
con committed
49 50 51 52
    dialogs/shortcutsettings.cpp \
    dialogs/openwithdialog.cpp \
    progressmanager/progressmanager.cpp \
    progressmanager/progressview.cpp \
53
    progressmanager/progressbar.cpp \
con's avatar
con committed
54 55
    progressmanager/futureprogress.cpp \
    scriptmanager/scriptmanager.cpp \
56
    statusbarwidget.cpp \
con's avatar
con committed
57 58 59 60
    coreplugin.cpp \
    variablemanager.cpp \
    modemanager.cpp \
    basefilewizard.cpp \
61
    generatedfile.cpp \
con's avatar
con committed
62 63 64 65 66 67 68 69 70 71
    plugindialog.cpp \
    inavigationwidgetfactory.cpp \
    navigationwidget.cpp \
    manhattanstyle.cpp \
    minisplitter.cpp \
    styleanimator.cpp \
    findplaceholder.cpp \
    rightpane.cpp \
    sidebar.cpp \
    fileiconprovider.cpp \
con's avatar
con committed
72
    mimedatabase.cpp \
con's avatar
con committed
73
    icore.cpp \
74
    infobar.cpp \
con's avatar
con committed
75
    editormanager/ieditor.cpp \
con's avatar
con committed
76
    dialogs/ioptionspage.cpp \
77
    dialogs/iwizard.cpp \
78
    settingsdatabase.cpp \
79
    imode.cpp \
Lasse Holmstedt's avatar
Lasse Holmstedt committed
80
    editormanager/systemeditor.cpp \
81
    designmode.cpp \
82
    editortoolbar.cpp \
ck's avatar
ck committed
83
    helpmanager.cpp \
84 85
    outputpanemanager.cpp \
    navigationsubwidget.cpp \
Daniel Molkentin's avatar
Daniel Molkentin committed
86
    sidebarwidget.cpp \
87 88
    externaltool.cpp \
    dialogs/externaltoolconfig.cpp \
con's avatar
con committed
89
    toolsettings.cpp \
90 91
    variablechooser.cpp \
    mimetypemagicdialog.cpp \
92
    mimetypesettings.cpp \
Robert Loehning's avatar
Robert Loehning committed
93
    dialogs/promptoverwritedialog.cpp \
94
    fileutils.cpp \
95 96 97
    featureprovider.cpp \
    idocument.cpp \
    textdocument.cpp \
98
    documentmanager.cpp
Lasse Holmstedt's avatar
Lasse Holmstedt committed
99

con's avatar
con committed
100 101 102 103 104 105
HEADERS += mainwindow.h \
    editmode.h \
    tabpositionindicator.h \
    fancyactionbar.h \
    fancytabwidget.h \
    generalsettings.h \
106
    id.h \
con's avatar
con committed
107 108 109
    messagemanager.h \
    messageoutputwindow.h \
    outputpane.h \
110
    outputwindow.h \
con's avatar
con committed
111
    vcsmanager.h \
con's avatar
con committed
112
    statusbarmanager.h \
con's avatar
con committed
113
    editormanager/editormanager.h \
114
    editormanager/editorview.h \
115
    editormanager/openeditorsmodel.h \
con's avatar
con committed
116 117 118
    editormanager/openeditorsview.h \
    editormanager/openeditorswindow.h \
    editormanager/ieditor.h \
119
    editormanager/iexternaleditor.h \
con's avatar
con committed
120
    editormanager/ieditorfactory.h \
121
    actionmanager/actioncontainer.h \
122
    actionmanager/actionmanager.h \
con's avatar
con committed
123
    actionmanager/command.h \
124
    actionmanager/actionmanager_p.h \
con's avatar
con committed
125
    actionmanager/command_p.h \
126
    actionmanager/actioncontainer_p.h \
con's avatar
con committed
127 128 129 130
    actionmanager/commandsfile.h \
    dialogs/saveitemsdialog.h \
    dialogs/newdialog.h \
    dialogs/settingsdialog.h \
131
    actionmanager/commandmappings.h \
con's avatar
con committed
132 133 134 135
    dialogs/shortcutsettings.h \
    dialogs/openwithdialog.h \
    dialogs/iwizard.h \
    dialogs/ioptionspage.h \
136
    progressmanager/progressmanager_p.h \
con's avatar
con committed
137
    progressmanager/progressview.h \
138
    progressmanager/progressbar.h \
con's avatar
con committed
139
    progressmanager/futureprogress.h \
140
    progressmanager/progressmanager.h \
con's avatar
con committed
141 142
    icontext.h \
    icore.h \
143
    infobar.h \
con's avatar
con committed
144 145 146 147 148 149 150 151
    imode.h \
    ioutputpane.h \
    coreconstants.h \
    iversioncontrol.h \
    ifilewizardextension.h \
    icorelistener.h \
    versiondialog.h \
    scriptmanager/metatypedeclarations.h \
152
    scriptmanager/scriptmanager.h \
153
    scriptmanager/scriptmanager_p.h \
con's avatar
con committed
154
    core_global.h \
155
    statusbarwidget.h \
con's avatar
con committed
156 157 158 159
    coreplugin.h \
    variablemanager.h \
    modemanager.h \
    basefilewizard.h \
160
    generatedfile.h \
con's avatar
con committed
161 162 163 164 165 166 167 168 169 170
    plugindialog.h \
    inavigationwidgetfactory.h \
    navigationwidget.h \
    manhattanstyle.h \
    minisplitter.h \
    styleanimator.h \
    findplaceholder.h \
    rightpane.h \
    sidebar.h \
    fileiconprovider.h \
171
    mimedatabase.h \
172
    settingsdatabase.h \
Lasse Holmstedt's avatar
Lasse Holmstedt committed
173
    editormanager/systemeditor.h \
174
    designmode.h \
175
    editortoolbar.h \
ck's avatar
ck committed
176
    helpmanager.h \
177 178
    outputpanemanager.h \
    navigationsubwidget.h \
Daniel Molkentin's avatar
Daniel Molkentin committed
179
    sidebarwidget.h \
180 181
    externaltool.h \
    dialogs/externaltoolconfig.h \
con's avatar
con committed
182
    toolsettings.h \
183 184
    variablechooser.h \
    mimetypemagicdialog.h \
185
    mimetypesettings.h \
Robert Loehning's avatar
Robert Loehning committed
186
    dialogs/promptoverwritedialog.h \
187
    fileutils.h \
188
    externaltoolmanager.h \
189
    generatedfile.h \
190 191 192 193 194
    featureprovider.h \
    idocument.h \
    idocumentfactory.h \
    textdocument.h \
    documentmanager.h
Lasse Holmstedt's avatar
Lasse Holmstedt committed
195

con's avatar
con committed
196
FORMS += dialogs/newdialog.ui \
197
    actionmanager/commandmappings.ui \
con's avatar
con committed
198 199 200
    dialogs/saveitemsdialog.ui \
    dialogs/openwithdialog.ui \
    editormanager/openeditorsview.ui \
201
    generalsettings.ui \
con's avatar
con committed
202
    dialogs/externaltoolconfig.ui \
203 204 205 206
    variablechooser.ui \
    mimetypesettingspage.ui \
    mimetypemagicdialog.ui

con's avatar
con committed
207 208
RESOURCES += core.qrc \
    fancyactionbar.qrc
209 210 211

win32 {
    SOURCES += progressmanager/progressmanager_win.cpp
212
    LIBS += -lole32
213 214
}
else:macx {
215 216 217 218
    HEADERS += macfullscreen.h
    OBJECTIVE_SOURCES += \
        progressmanager/progressmanager_mac.mm \
        macfullscreen.mm
219 220 221 222 223
    LIBS += -framework AppKit
}
else:unix {
    SOURCES += progressmanager/progressmanager_x11.cpp

224 225 226 227 228 229 230
    IMAGE_SIZE_LIST = 16 24 32 48 64 128 256 512

    for(imagesize, IMAGE_SIZE_LIST) {
        eval(image$${imagesize}.files = images/logo/$${imagesize}/qtcreator.png)
        eval(image$${imagesize}.path = /share/icons/hicolor/$${imagesize}x$${imagesize}/apps)
        INSTALLS += image$${imagesize}
    }
Daniel Molkentin's avatar
Daniel Molkentin committed
231
}
232
OTHER_FILES += editormanager/BinFiles.mimetypes.xml