coreplugin.pro 5.77 KB
Newer Older
con's avatar
con committed
1 2 3 4
TEMPLATE = lib
TARGET = Core
DEFINES += CORE_LIBRARY
QT += xml \
5
    network \
con's avatar
con committed
6
    script \
7
    sql
kh1's avatar
kh1 committed
8
CONFIG += help
9
include(../../qtcreatorplugin.pri)
con's avatar
con committed
10
include(../../libs/utils/utils.pri)
11
include(../../shared/scriptwrapper/scriptwrapper.pri)
con's avatar
con committed
12
include(coreplugin_dependencies.pri)
kh1's avatar
kh1 committed
13
win32-msvc*:QMAKE_CXXFLAGS += -wd4251 -wd4290 -wd4250
con's avatar
con committed
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
INCLUDEPATH += dialogs \
    actionmanager \
    editormanager \
    progressmanager \
    scriptmanager
DEPENDPATH += dialogs \
    actionmanager \
    editormanager \
    scriptmanager
SOURCES += mainwindow.cpp \
    editmode.cpp \
    tabpositionindicator.cpp \
    fancyactionbar.cpp \
    fancytabwidget.cpp \
    flowlayout.cpp \
    generalsettings.cpp \
    filemanager.cpp \
    uniqueidmanager.cpp \
    messagemanager.cpp \
    messageoutputwindow.cpp \
    outputpane.cpp \
    vcsmanager.cpp \
con's avatar
con committed
36
    statusbarmanager.cpp \
con's avatar
con committed
37 38
    versiondialog.cpp \
    editormanager/editormanager.cpp \
39
    editormanager/editorview.cpp \
40
    editormanager/openeditorsmodel.cpp \
con's avatar
con committed
41 42
    editormanager/openeditorsview.cpp \
    editormanager/openeditorswindow.cpp \
43
    editormanager/iexternaleditor.cpp \
con's avatar
con committed
44 45 46 47 48 49 50
    actionmanager/actionmanager.cpp \
    actionmanager/command.cpp \
    actionmanager/actioncontainer.cpp \
    actionmanager/commandsfile.cpp \
    dialogs/saveitemsdialog.cpp \
    dialogs/newdialog.cpp \
    dialogs/settingsdialog.cpp \
51
    actionmanager/commandmappings.cpp \
con's avatar
con committed
52 53 54 55
    dialogs/shortcutsettings.cpp \
    dialogs/openwithdialog.cpp \
    progressmanager/progressmanager.cpp \
    progressmanager/progressview.cpp \
56
    progressmanager/progressbar.cpp \
con's avatar
con committed
57 58
    progressmanager/futureprogress.cpp \
    scriptmanager/scriptmanager.cpp \
59
    statusbarwidget.cpp \
con's avatar
con committed
60 61 62 63 64 65 66 67 68 69 70 71 72 73 74
    coreplugin.cpp \
    variablemanager.cpp \
    modemanager.cpp \
    coreimpl.cpp \
    basefilewizard.cpp \
    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
75
    mimedatabase.cpp \
con's avatar
con committed
76 77
    icore.cpp \
    editormanager/ieditor.cpp \
con's avatar
con committed
78
    dialogs/ioptionspage.cpp \
79
    dialogs/iwizard.cpp \
80
    settingsdatabase.cpp \
con's avatar
con committed
81
    eventfilteringmainwindow.cpp \
82
    imode.cpp \
Lasse Holmstedt's avatar
Lasse Holmstedt committed
83
    editormanager/systemeditor.cpp \
84
    designmode.cpp \
85
    editortoolbar.cpp \
ck's avatar
ck committed
86
    helpmanager.cpp \
87 88
    outputpanemanager.cpp \
    navigationsubwidget.cpp \
Daniel Molkentin's avatar
Daniel Molkentin committed
89
    sidebarwidget.cpp \
90
    rssfetcher.cpp \
91 92
    externaltool.cpp \
    dialogs/externaltoolconfig.cpp \
con's avatar
con committed
93
    toolsettings.cpp \
94 95 96
    variablechooser.cpp \
    mimetypemagicdialog.cpp \
    mimetypesettings.cpp
Lasse Holmstedt's avatar
Lasse Holmstedt committed
97

con's avatar
con committed
98 99 100 101 102 103 104 105 106 107 108 109 110
HEADERS += mainwindow.h \
    editmode.h \
    tabpositionindicator.h \
    fancyactionbar.h \
    fancytabwidget.h \
    flowlayout.h \
    generalsettings.h \
    filemanager.h \
    uniqueidmanager.h \
    messagemanager.h \
    messageoutputwindow.h \
    outputpane.h \
    vcsmanager.h \
con's avatar
con committed
111
    statusbarmanager.h \
con's avatar
con committed
112
    editormanager/editormanager.h \
113
    editormanager/editorview.h \
114
    editormanager/openeditorsmodel.h \
con's avatar
con committed
115 116 117
    editormanager/openeditorsview.h \
    editormanager/openeditorswindow.h \
    editormanager/ieditor.h \
118
    editormanager/iexternaleditor.h \
con's avatar
con committed
119
    editormanager/ieditorfactory.h \
120
    actionmanager/actioncontainer.h \
121
    actionmanager/actionmanager.h \
con's avatar
con committed
122
    actionmanager/command.h \
123
    actionmanager/actionmanager_p.h \
con's avatar
con committed
124
    actionmanager/command_p.h \
125
    actionmanager/actioncontainer_p.h \
con's avatar
con committed
126 127 128 129
    actionmanager/commandsfile.h \
    dialogs/saveitemsdialog.h \
    dialogs/newdialog.h \
    dialogs/settingsdialog.h \
130
    actionmanager/commandmappings.h \
con's avatar
con committed
131 132 133 134
    dialogs/shortcutsettings.h \
    dialogs/openwithdialog.h \
    dialogs/iwizard.h \
    dialogs/ioptionspage.h \
135
    progressmanager/progressmanager_p.h \
con's avatar
con committed
136
    progressmanager/progressview.h \
137
    progressmanager/progressbar.h \
con's avatar
con committed
138
    progressmanager/futureprogress.h \
139
    progressmanager/progressmanager.h \
con's avatar
con committed
140 141 142 143 144 145 146 147 148 149 150 151
    icontext.h \
    icore.h \
    ifile.h \
    ifilefactory.h \
    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 160 161 162 163 164 165 166 167 168 169 170
    coreplugin.h \
    variablemanager.h \
    modemanager.h \
    coreimpl.h \
    basefilewizard.h \
    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 \
173
    eventfilteringmainwindow.h \
Lasse Holmstedt's avatar
Lasse Holmstedt committed
174
    editormanager/systemeditor.h \
175
    designmode.h \
176
    editortoolbar.h \
ck's avatar
ck committed
177
    helpmanager.h \
178 179
    outputpanemanager.h \
    navigationsubwidget.h \
Daniel Molkentin's avatar
Daniel Molkentin committed
180
    sidebarwidget.h \
181
    rssfetcher.h \
182 183
    externaltool.h \
    dialogs/externaltoolconfig.h \
con's avatar
con committed
184
    toolsettings.h \
185 186 187
    variablechooser.h \
    mimetypemagicdialog.h \
    mimetypesettings.h
Lasse Holmstedt's avatar
Lasse Holmstedt committed
188

con's avatar
con committed
189
FORMS += dialogs/newdialog.ui \
190
    actionmanager/commandmappings.ui \
con's avatar
con committed
191 192 193
    dialogs/saveitemsdialog.ui \
    dialogs/openwithdialog.ui \
    editormanager/openeditorsview.ui \
194
    generalsettings.ui \
con's avatar
con committed
195
    dialogs/externaltoolconfig.ui \
196 197 198 199
    variablechooser.ui \
    mimetypesettingspage.ui \
    mimetypemagicdialog.ui

con's avatar
con committed
200 201
RESOURCES += core.qrc \
    fancyactionbar.qrc
202 203 204

win32 {
    SOURCES += progressmanager/progressmanager_win.cpp
205
    LIBS += -lole32
206 207 208 209 210 211 212 213
}
else:macx {
    OBJECTIVE_SOURCES += progressmanager/progressmanager_mac.mm
    LIBS += -framework AppKit
}
else:unix {
    SOURCES += progressmanager/progressmanager_x11.cpp

Daniel Molkentin's avatar
Daniel Molkentin committed
214
    images.files = images/qtcreator_logo_*.png
con's avatar
con committed
215
    images.path = /share/pixmaps
Daniel Molkentin's avatar
Daniel Molkentin committed
216 217
    INSTALLS += images
}
218 219 220
OTHER_FILES += editormanager/BinFiles.mimetypes.xml ide_version.h.in

QMAKE_SUBSTITUTES += ide_version.h.in