Changeset View
Changeset View
Standalone View
Standalone View
src/CMakeLists.txt
Show First 20 Lines • Show All 187 Lines • ▼ Show 20 Line(s) | |||||
188 | 188 | | |||
189 | install(TARGETS dolphinpart DESTINATION ${KDE_INSTALL_PLUGINDIR}) | 189 | install(TARGETS dolphinpart DESTINATION ${KDE_INSTALL_PLUGINDIR}) | ||
190 | 190 | | |||
191 | install(FILES dolphinpart.rc DESTINATION ${KDE_INSTALL_KXMLGUI5DIR}/dolphinpart) | 191 | install(FILES dolphinpart.rc DESTINATION ${KDE_INSTALL_KXMLGUI5DIR}/dolphinpart) | ||
192 | install(FILES dolphinpart.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR}) | 192 | install(FILES dolphinpart.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR}) | ||
193 | 193 | | |||
194 | ########################################## | 194 | ########################################## | ||
195 | 195 | | |||
196 | set(dolphin_SRCS | 196 | set(dolphinstatic_SRCS | ||
197 | dolphindockwidget.cpp | 197 | dolphindockwidget.cpp | ||
198 | dolphinmainwindow.cpp | 198 | dolphinmainwindow.cpp | ||
199 | dolphinviewcontainer.cpp | 199 | dolphinviewcontainer.cpp | ||
200 | dolphincontextmenu.cpp | 200 | dolphincontextmenu.cpp | ||
201 | dolphintabbar.cpp | 201 | dolphintabbar.cpp | ||
202 | dolphinrecenttabsmenu.cpp | 202 | dolphinrecenttabsmenu.cpp | ||
203 | dolphintabpage.cpp | 203 | dolphintabpage.cpp | ||
204 | dolphintabwidget.cpp | 204 | dolphintabwidget.cpp | ||
Show All 38 Lines | |||||
243 | settings/viewmodes/viewsettingstab.cpp | 243 | settings/viewmodes/viewsettingstab.cpp | ||
244 | statusbar/dolphinstatusbar.cpp | 244 | statusbar/dolphinstatusbar.cpp | ||
245 | statusbar/mountpointobserver.cpp | 245 | statusbar/mountpointobserver.cpp | ||
246 | statusbar/mountpointobservercache.cpp | 246 | statusbar/mountpointobservercache.cpp | ||
247 | statusbar/spaceinfoobserver.cpp | 247 | statusbar/spaceinfoobserver.cpp | ||
248 | statusbar/statusbarspaceinfo.cpp | 248 | statusbar/statusbarspaceinfo.cpp | ||
249 | views/zoomlevelinfo.cpp | 249 | views/zoomlevelinfo.cpp | ||
250 | dolphindebug.cpp | 250 | dolphindebug.cpp | ||
251 | dbusinterface.cpp | | |||
252 | global.cpp | 251 | global.cpp | ||
253 | ) | 252 | ) | ||
254 | 253 | | |||
255 | kconfig_add_kcfg_files(dolphin_SRCS GENERATE_MOC | 254 | kconfig_add_kcfg_files(dolphinstatic_SRCS GENERATE_MOC | ||
256 | panels/folders/dolphin_folderspanelsettings.kcfgc | 255 | panels/folders/dolphin_folderspanelsettings.kcfgc | ||
257 | panels/information/dolphin_informationpanelsettings.kcfgc | 256 | panels/information/dolphin_informationpanelsettings.kcfgc | ||
258 | panels/places/dolphin_placespanelsettings.kcfgc | 257 | panels/places/dolphin_placespanelsettings.kcfgc | ||
259 | settings/dolphin_compactmodesettings.kcfgc | 258 | settings/dolphin_compactmodesettings.kcfgc | ||
260 | settings/dolphin_detailsmodesettings.kcfgc | 259 | settings/dolphin_detailsmodesettings.kcfgc | ||
261 | settings/dolphin_generalsettings.kcfgc | 260 | settings/dolphin_generalsettings.kcfgc | ||
262 | settings/dolphin_iconsmodesettings.kcfgc | 261 | settings/dolphin_iconsmodesettings.kcfgc | ||
263 | search/dolphin_searchsettings.kcfgc | 262 | search/dolphin_searchsettings.kcfgc | ||
264 | settings/dolphin_versioncontrolsettings.kcfgc | 263 | settings/dolphin_versioncontrolsettings.kcfgc | ||
265 | ) | 264 | ) | ||
266 | 265 | | |||
267 | if(NOT WIN32) | 266 | if(NOT WIN32) | ||
268 | set(dolphin_SRCS ${dolphin_SRCS} panels/terminal/terminalpanel.cpp) | 267 | set(dolphinstatic_SRCS ${dolphinstatic_SRCS} panels/terminal/terminalpanel.cpp) | ||
269 | endif() | 268 | endif() | ||
270 | 269 | | |||
271 | # Sets the icon on Windows and OSX | 270 | add_library(dolphinstatic STATIC ${dolphinstatic_SRCS}) | ||
272 | file(GLOB ICONS_SRCS "${CMAKE_CURRENT_SOURCE_DIR}/icons/*system-file-manager.png") | | |||
273 | ecm_add_app_icon(dolphin_SRCS ICONS ${ICONS_SRCS}) | | |||
274 | | ||||
275 | kf5_add_kdeinit_executable(dolphin ${dolphin_SRCS}) | | |||
276 | | ||||
277 | target_include_directories(kdeinit_dolphin PRIVATE ${PHONON_INCLUDES}) | | |||
278 | 271 | | |||
279 | target_link_libraries(kdeinit_dolphin | 272 | target_include_directories(dolphinstatic PRIVATE ${PHONON_INCLUDES}) | ||
273 | target_link_libraries(dolphinstatic | ||||
280 | dolphinprivate | 274 | dolphinprivate | ||
281 | KF5::Parts | | |||
282 | KF5::KCMUtils | 275 | KF5::KCMUtils | ||
283 | KF5::Solid | | |||
284 | KF5::CoreAddons | | |||
285 | KF5::DBusAddons | 276 | KF5::DBusAddons | ||
286 | KF5::Bookmarks | | |||
287 | KF5::Notifications | 277 | KF5::Notifications | ||
288 | Phonon::phonon4qt5 | 278 | Phonon::phonon4qt5 | ||
289 | ) | 279 | ) | ||
290 | 280 | | |||
291 | if (KF5Activities_FOUND) | 281 | if (KF5Activities_FOUND) | ||
292 | target_link_libraries( | 282 | target_link_libraries( | ||
293 | kdeinit_dolphin | 283 | dolphinstatic | ||
294 | KF5::Activities | 284 | KF5::Activities | ||
295 | ) | 285 | ) | ||
296 | endif() | 286 | endif() | ||
297 | 287 | | |||
288 | set(dolphin_SRCS | ||||
289 | dbusinterface.cpp | ||||
290 | main.cpp | ||||
291 | ) | ||||
292 | | ||||
293 | # Sets the icon on Windows and OSX | ||||
294 | file(GLOB ICONS_SRCS "${CMAKE_CURRENT_SOURCE_DIR}/icons/*system-file-manager.png") | ||||
295 | ecm_add_app_icon(dolphin_SRCS ICONS ${ICONS_SRCS}) | ||||
296 | | ||||
297 | kf5_add_kdeinit_executable(dolphin ${dolphin_SRCS}) | ||||
298 | | ||||
299 | | ||||
300 | target_link_libraries(kdeinit_dolphin | ||||
301 | dolphinstatic | ||||
302 | dolphinprivate | ||||
303 | ) | ||||
304 | | ||||
298 | include(DbusInterfaceMacros) | 305 | include(DbusInterfaceMacros) | ||
299 | 306 | | |||
300 | generate_and_install_dbus_interface( | 307 | generate_and_install_dbus_interface( | ||
301 | kdeinit_dolphin | 308 | kdeinit_dolphin | ||
302 | dbusinterface.h | 309 | dbusinterface.h | ||
303 | org.freedesktop.FileManager1.xml | 310 | org.freedesktop.FileManager1.xml | ||
304 | OPTIONS -a | 311 | OPTIONS -a | ||
305 | ) | 312 | ) | ||
▲ Show 20 Lines • Show All 94 Lines • Show Last 20 Lines |