2009-12-23 13:27:31 +01:00
|
|
|
|
2012-02-01 12:41:32 +01:00
|
|
|
# This option should be removed, or moved down as far as possible.
|
|
|
|
# That means porting the existing frameworks to the CMake automoc
|
|
|
|
# feature. Porting is mostly removing explicit moc includes, and
|
|
|
|
# leaving the ones which are truly needed (ie, if you remove
|
|
|
|
# them, the build fails).
|
|
|
|
set(CMAKE_AUTOMOC_RELAXED_MODE ON)
|
|
|
|
|
2010-04-29 07:57:34 +02:00
|
|
|
if(KDE_PLATFORM_FEATURE_BINARY_COMPATIBLE_FEATURE_REDUCTION)
|
|
|
|
set(PLASMA_NO_KDEWEBKIT TRUE)
|
|
|
|
set(PLASMA_NO_KNEWSTUFF TRUE)
|
|
|
|
set(PLASMA_NO_SOLID TRUE)
|
2010-10-14 14:27:15 +02:00
|
|
|
set(PLASMA_NO_KIO TRUE)
|
2011-08-01 21:53:32 +02:00
|
|
|
set(PLASMA_NO_PACKAGEKIT TRUE)
|
2011-07-21 14:39:55 +02:00
|
|
|
set(PLASMA_NO_PACKAGE_EXTRADATA TRUE)
|
2011-11-02 17:22:36 +01:00
|
|
|
set(PLASMA_NO_KUTILS TRUE)
|
2011-11-14 21:19:53 +01:00
|
|
|
set(PLASMA_NO_GLOBAL_SHORTCUTS TRUE)
|
2010-04-29 07:57:34 +02:00
|
|
|
endif(KDE_PLATFORM_FEATURE_BINARY_COMPATIBLE_FEATURE_REDUCTION)
|
2009-12-23 13:27:31 +01:00
|
|
|
|
2012-08-03 11:38:59 +02:00
|
|
|
if(NOT X11_FOUND)
|
2011-08-01 21:53:32 +02:00
|
|
|
set(PLASMA_NO_PACKAGEKIT TRUE)
|
2012-08-03 11:38:59 +02:00
|
|
|
endif(NOT X11_FOUND)
|
2011-08-01 21:53:32 +02:00
|
|
|
|
2012-04-28 21:43:25 +02:00
|
|
|
#find_package(KdepimLibs 4.5.60)
|
|
|
|
#find_package(Gpgme)
|
|
|
|
#macro_log_feature(KDEPIMLIBS_FOUND "kdepimlibs" "KDE PIM libraries" "http://www.kde.org" FALSE "" "Needed for building several Plasma DataEngines")
|
|
|
|
|
|
|
|
|
2008-11-04 03:20:46 +01:00
|
|
|
include_directories(${CMAKE_CURRENT_SOURCE_DIR}
|
2012-06-16 22:06:11 +02:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}
|
2009-09-02 18:02:14 +02:00
|
|
|
${KDE4_KDECORE_INCLUDES}
|
|
|
|
${KDE4_KDEUI_INCLUDES}
|
2011-02-22 23:07:39 +01:00
|
|
|
${CMAKE_SOURCE_DIR}/experimental/libkdeclarative
|
2011-06-16 08:50:55 +02:00
|
|
|
${CMAKE_BINARY_DIR}/experimental/libkdeclarative
|
2011-11-23 11:32:18 +01:00
|
|
|
${karchive_SOURCE_DIR}/src
|
|
|
|
${karchive_BINARY_DIR}/src
|
2012-04-02 16:10:27 +02:00
|
|
|
${CMAKE_SOURCE_DIR}/tier2/kauth/src/
|
|
|
|
${CMAKE_BINARY_DIR}/tier2/kauth/src/
|
2012-02-29 23:14:50 +01:00
|
|
|
${CMAKE_SOURCE_DIR}/tier1/threadweaver/src
|
|
|
|
${CMAKE_BINARY_DIR}/tier1/threadweaver/src
|
|
|
|
${CMAKE_BINARY_DIR}/tier1/threadweaver/src/Weaver
|
2012-04-02 15:30:01 +02:00
|
|
|
${CMAKE_SOURCE_DIR}/tier1/kwindowsystem/
|
|
|
|
${CMAKE_BINARY_DIR}/tier1/kwindowsystem/
|
2012-04-28 21:57:20 +02:00
|
|
|
${CMAKE_SOURCE_DIR}/tier1/solid/src
|
|
|
|
${CMAKE_BINARY_DIR}/tier1/solid/src
|
2009-09-03 23:10:33 +02:00
|
|
|
${CMAKE_SOURCE_DIR}/plasma/remote
|
2009-09-02 04:27:16 +02:00
|
|
|
${CMAKE_SOURCE_DIR}/plasma/private/qtjolie-branch/qtjolie
|
|
|
|
${CMAKE_SOURCE_DIR}/plasma/private/qtjolie-branch
|
|
|
|
${CMAKE_SOURCE_DIR}/plasma/private/qtjolie-branch/includes
|
2012-03-11 23:42:26 +01:00
|
|
|
${CMAKE_SOURCE_DIR}/tier1/kcoreaddons/src/caching
|
2009-09-02 04:27:16 +02:00
|
|
|
)
|
|
|
|
|
2010-04-29 19:23:01 +02:00
|
|
|
if(NOT PLASMA_NO_KIO)
|
|
|
|
include_directories(${KDE4_KIO_INCLUDES})
|
|
|
|
set(PLASMA_EXTRA_LIBS ${PLASMA_EXTRA_LIBS} ${KDE4_KIO_LIBS})
|
|
|
|
endif(NOT PLASMA_NO_KIO)
|
|
|
|
|
2010-04-29 07:57:34 +02:00
|
|
|
if(NOT PLASMA_NO_KDEWEBKIT)
|
|
|
|
include_directories(${CMAKE_SOURCE_DIR}/kdewebkit/)
|
2012-02-11 16:47:28 +01:00
|
|
|
include_directories(${CMAKE_BINARY_DIR}/kdewebkit/)
|
2010-04-29 07:57:34 +02:00
|
|
|
set(PLASMA_EXTRA_LIBS ${PLASMA_EXTRA_LIBS} kdewebkit)
|
|
|
|
endif(NOT PLASMA_NO_KDEWEBKIT)
|
|
|
|
|
|
|
|
if(NOT PLASMA_NO_KNEWSTUFF)
|
|
|
|
include_directories(${CMAKE_SOURCE_DIR}/knewstuff/)
|
2012-02-11 16:47:28 +01:00
|
|
|
include_directories(${CMAKE_BINARY_DIR}/knewstuff/)
|
2010-04-29 07:57:34 +02:00
|
|
|
set(PLASMA_EXTRA_LIBS ${PLASMA_EXTRA_LIBS} knewstuff3)
|
|
|
|
endif(NOT PLASMA_NO_KNEWSTUFF)
|
|
|
|
|
|
|
|
if(NOT PLASMA_NO_SOLID)
|
2011-08-31 18:06:44 +02:00
|
|
|
include_directories(${CMAKE_BINARY_DIR}/tier1/solid/)
|
|
|
|
include_directories(${CMAKE_SOURCE_DIR}/tier1/solid/)
|
2010-04-29 07:57:34 +02:00
|
|
|
set(PLASMA_EXTRA_LIBS ${PLASMA_EXTRA_LIBS} ${KDE4_SOLID_LIBS})
|
|
|
|
endif(NOT PLASMA_NO_SOLID)
|
|
|
|
|
2011-08-01 21:53:32 +02:00
|
|
|
if(NOT PLASMA_NO_PACKAGEKIT)
|
|
|
|
add_definitions(-DPLASMA_ENABLE_PACKAGEKIT_SUPPORT=1)
|
|
|
|
set(PLASMA_EXTRA_LIBS ${PLASMA_EXTRA_LIBS} ${QT_QTDBUS_LIBRARY})
|
|
|
|
endif(NOT PLASMA_NO_PACKAGEKIT)
|
|
|
|
|
2011-11-03 11:06:05 +01:00
|
|
|
if (NOT PLASMA_NO_KUTILS)
|
|
|
|
include_directories(${CMAKE_SOURCE_DIR}/kutils)
|
2012-02-11 16:47:28 +01:00
|
|
|
include_directories(${CMAKE_BINARY_DIR}/kutils)
|
2011-11-03 11:06:05 +01:00
|
|
|
set(PLASMA_EXTRA_LIBS ${PLASMA_EXTRA_LIBS} ${KDE4_KUTILS_LIBS})
|
|
|
|
endif(NOT PLASMA_NO_KUTILS)
|
|
|
|
|
2009-09-09 15:40:16 +02:00
|
|
|
if(QCA2_FOUND)
|
|
|
|
include_directories(${QCA2_INCLUDE_DIR})
|
|
|
|
set(ENABLE_REMOTE_WIDGETS TRUE)
|
|
|
|
endif(QCA2_FOUND)
|
2009-09-10 09:26:04 +02:00
|
|
|
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/config-plasma.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-plasma.h)
|
2009-09-02 04:27:16 +02:00
|
|
|
|
2011-04-29 15:18:35 +02:00
|
|
|
#FIXME: gpgme++ is in kdepimlibs, must move somewhere else!
|
2012-02-18 11:11:02 +01:00
|
|
|
include_directories(${KDEPIMLIBS_INCLUDE_DIRS} ${GPGME_INCLUDES})
|
2011-04-29 15:18:35 +02:00
|
|
|
|
2008-11-04 00:08:39 +01:00
|
|
|
add_subdirectory(tests)
|
|
|
|
add_definitions(-DKDE_DEFAULT_DEBUG_AREA=1209)
|
|
|
|
|
|
|
|
########### next target ###############
|
|
|
|
|
|
|
|
set(plasma_LIB_SRCS
|
2009-09-04 10:58:34 +02:00
|
|
|
abstractrunner.cpp
|
2008-11-04 00:08:39 +01:00
|
|
|
${plasmagik_SRCS}
|
2011-05-31 01:16:44 +02:00
|
|
|
abstractdialogmanager.cpp
|
2008-11-04 00:08:39 +01:00
|
|
|
configloader.cpp
|
2009-08-18 00:31:32 +02:00
|
|
|
containmentactions.cpp
|
2009-10-05 22:50:57 +02:00
|
|
|
containmentactionspluginsconfig.cpp
|
2012-02-28 19:22:59 +01:00
|
|
|
coronabase.cpp
|
2008-11-04 00:08:39 +01:00
|
|
|
datacontainer.cpp
|
|
|
|
dataengine.cpp
|
2012-09-24 15:51:14 +02:00
|
|
|
dataengineconsumer.cpp
|
2011-05-31 01:04:33 +02:00
|
|
|
package.cpp
|
2011-07-19 21:36:29 +02:00
|
|
|
packagestructure.cpp
|
2008-11-04 00:08:39 +01:00
|
|
|
paintutils.cpp
|
2011-05-31 01:04:33 +02:00
|
|
|
pluginloader.cpp
|
2008-11-04 00:08:39 +01:00
|
|
|
framesvg.cpp
|
|
|
|
plasma.cpp
|
2011-05-31 01:05:01 +02:00
|
|
|
pluginloader.cpp
|
|
|
|
|
2009-09-16 19:08:45 +02:00
|
|
|
private/associatedapplicationmanager.cpp
|
2011-08-01 21:53:32 +02:00
|
|
|
private/componentinstaller.cpp
|
2008-11-04 00:08:39 +01:00
|
|
|
private/datacontainer_p.cpp
|
2012-09-24 16:09:16 +02:00
|
|
|
private/dataenginemanager.cpp
|
2009-09-02 04:27:16 +02:00
|
|
|
private/dataengineservice.cpp
|
2011-11-17 14:40:53 +01:00
|
|
|
private/effects/halopainter.cpp
|
2011-01-15 18:51:55 +01:00
|
|
|
private/effectwatcher.cpp
|
2009-09-02 04:27:16 +02:00
|
|
|
private/getsource.cpp
|
2008-11-04 00:08:39 +01:00
|
|
|
private/packages.cpp
|
2009-09-02 04:27:16 +02:00
|
|
|
private/plasmoidservice.cpp
|
|
|
|
private/remotedataengine.cpp
|
2009-09-02 04:21:41 +02:00
|
|
|
private/remoteservice.cpp
|
|
|
|
private/remoteservicejob.cpp
|
2009-02-11 12:16:09 +01:00
|
|
|
private/runnerjobs.cpp
|
2009-09-02 04:21:41 +02:00
|
|
|
private/serviceprovider.cpp
|
2010-07-12 22:51:12 +02:00
|
|
|
private/storage.cpp
|
2011-04-28 17:51:51 +02:00
|
|
|
private/storagethread.cpp
|
2008-11-04 00:08:39 +01:00
|
|
|
private/tooltip.cpp
|
2009-04-02 08:31:37 +02:00
|
|
|
private/wallpaperrenderthread.cpp
|
2008-11-04 00:08:39 +01:00
|
|
|
private/windowpreview.cpp
|
2011-06-09 12:46:25 +02:00
|
|
|
private/windowshadows.cpp
|
2012-07-17 13:44:50 +02:00
|
|
|
private/applet_p.cpp
|
2012-07-17 14:21:45 +02:00
|
|
|
private/containment_p.cpp
|
2012-02-28 18:15:00 +01:00
|
|
|
|
2009-09-04 10:58:34 +02:00
|
|
|
querymatch.cpp
|
2009-09-03 23:10:33 +02:00
|
|
|
remote/accessmanager.cpp
|
|
|
|
remote/accessappletjob.cpp
|
|
|
|
remote/authorizationinterface.cpp
|
|
|
|
remote/authorizationmanager.cpp
|
|
|
|
remote/authorizationrule.cpp
|
|
|
|
remote/clientpinrequest.cpp
|
|
|
|
remote/credentials.cpp
|
2011-04-29 15:18:35 +02:00
|
|
|
remote/denyallauthorization.cpp
|
|
|
|
remote/pinpairingauthorization.cpp
|
|
|
|
remote/pinpairingdialog.cpp
|
2009-09-03 23:10:33 +02:00
|
|
|
remote/serviceaccessjob.cpp
|
2012-04-28 21:43:25 +02:00
|
|
|
#remote/signing.cpp TODO: re-enable, needs gpgmepp though
|
2011-04-29 15:18:35 +02:00
|
|
|
remote/trustedonlyauthorization.cpp
|
2009-09-04 10:58:34 +02:00
|
|
|
runnercontext.cpp
|
|
|
|
runnermanager.cpp
|
|
|
|
runnersyntax.cpp
|
2008-11-04 00:08:39 +01:00
|
|
|
scripting/appletscript.cpp
|
|
|
|
scripting/dataenginescript.cpp
|
|
|
|
scripting/runnerscript.cpp
|
2009-10-29 06:54:11 +01:00
|
|
|
scripting/wallpaperscript.cpp
|
2008-11-04 00:08:39 +01:00
|
|
|
scripting/scriptengine.cpp
|
|
|
|
service.cpp
|
|
|
|
servicejob.cpp
|
|
|
|
svg.cpp
|
|
|
|
theme.cpp
|
|
|
|
tooltipcontent.cpp
|
|
|
|
tooltipmanager.cpp
|
|
|
|
version.cpp
|
|
|
|
wallpaper.cpp
|
2011-05-31 01:05:01 +02:00
|
|
|
|
|
|
|
|
|
|
|
#Temporary QtJolie branch
|
|
|
|
private/qtjolie-branch/qtjolie/abstractadaptor.cpp
|
|
|
|
private/qtjolie-branch/qtjolie/client.cpp
|
|
|
|
private/qtjolie-branch/qtjolie/clientthread.cpp
|
|
|
|
private/qtjolie-branch/qtjolie/value.cpp
|
|
|
|
private/qtjolie-branch/qtjolie/fault.cpp
|
|
|
|
private/qtjolie-branch/qtjolie/message.cpp
|
|
|
|
private/qtjolie-branch/qtjolie/metaservice.cpp
|
|
|
|
private/qtjolie-branch/qtjolie/pendingcall.cpp
|
|
|
|
private/qtjolie-branch/qtjolie/pendingcallwatcher.cpp
|
|
|
|
private/qtjolie-branch/qtjolie/pendingreply.cpp
|
|
|
|
private/qtjolie-branch/qtjolie/server.cpp
|
|
|
|
private/qtjolie-branch/qtjolie/serverthread.cpp
|
|
|
|
|
2011-11-17 14:40:53 +01:00
|
|
|
#FIXME: all these must move into the qgv library
|
2011-12-04 14:25:38 +01:00
|
|
|
private/themedwidgetinterface.cpp
|
2011-05-31 01:05:01 +02:00
|
|
|
widgets/iconwidget.cpp
|
2012-02-28 18:15:00 +01:00
|
|
|
abstracttoolbox.cpp
|
2012-02-20 16:38:00 +01:00
|
|
|
view.cpp
|
2012-02-28 18:15:00 +01:00
|
|
|
applet.cpp
|
|
|
|
containment.cpp
|
|
|
|
corona.cpp
|
|
|
|
dialog.cpp
|
|
|
|
popupapplet.cpp
|
|
|
|
private/applethandle.cpp
|
2011-05-31 01:05:01 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
set (plasmaqgv_LIB_SRCS
|
2012-02-20 16:38:00 +01:00
|
|
|
delegate.cpp
|
2011-12-04 14:34:06 +01:00
|
|
|
#FIXME: this is duplicated with libplasma because iconwidget requires it!
|
|
|
|
private/themedwidgetinterface.cpp
|
|
|
|
|
2012-02-28 20:00:42 +01:00
|
|
|
graphicsview/private/graphicsviewappletprivate.cpp
|
2011-11-17 14:40:53 +01:00
|
|
|
animator.cpp
|
|
|
|
animations/animation.cpp
|
|
|
|
animations/easinganimation.cpp
|
|
|
|
animations/fade.cpp
|
|
|
|
animations/grow.cpp
|
|
|
|
animations/pendulumcurve.cpp
|
|
|
|
animations/pixmaptransition.cpp
|
|
|
|
animations/pulser.cpp
|
|
|
|
animations/rotation.cpp
|
|
|
|
animations/rotationstacked.cpp
|
|
|
|
animations/slide.cpp
|
|
|
|
animations/stackedlayout.cpp
|
|
|
|
animations/geometry.cpp
|
|
|
|
animations/widgetsnapshot.cpp
|
|
|
|
animations/zoom.cpp
|
2011-05-31 01:05:01 +02:00
|
|
|
|
|
|
|
private/declarative/declarativenetworkaccessmanagerfactory.cpp
|
2012-07-16 21:35:17 +02:00
|
|
|
private/declarative/dataenginebindings.cpp
|
|
|
|
graphicsview/private/animablegraphicswebview.cpp
|
|
|
|
graphicsview/private/focusindicator.cpp
|
|
|
|
graphicsview/private/nativetabbar.cpp
|
|
|
|
graphicsview/private/style.cpp
|
|
|
|
graphicsview/private/kineticscroll.cpp
|
2011-05-31 01:05:01 +02:00
|
|
|
|
2011-11-17 14:40:53 +01:00
|
|
|
widgets/label.cpp
|
|
|
|
widgets/scrollbar.cpp
|
|
|
|
widgets/svgwidget.cpp
|
|
|
|
widgets/scrollwidget.cpp
|
|
|
|
widgets/textedit.cpp
|
|
|
|
widgets/textbrowser.cpp
|
|
|
|
widgets/busywidget.cpp
|
2008-11-04 00:08:39 +01:00
|
|
|
widgets/checkbox.cpp
|
|
|
|
widgets/combobox.cpp
|
2010-10-08 17:37:54 +02:00
|
|
|
widgets/declarativewidget.cpp
|
2008-11-04 00:08:39 +01:00
|
|
|
widgets/flashinglabel.cpp
|
|
|
|
widgets/frame.cpp
|
|
|
|
widgets/groupbox.cpp
|
2009-08-30 23:17:52 +02:00
|
|
|
widgets/itembackground.cpp
|
2008-11-04 00:08:39 +01:00
|
|
|
widgets/lineedit.cpp
|
|
|
|
widgets/meter.cpp
|
2011-11-17 14:40:53 +01:00
|
|
|
widgets/pushbutton.cpp
|
2008-11-04 00:08:39 +01:00
|
|
|
widgets/radiobutton.cpp
|
|
|
|
widgets/signalplotter.cpp
|
|
|
|
widgets/slider.cpp
|
2009-01-07 19:54:43 +01:00
|
|
|
widgets/spinbox.cpp
|
2008-11-11 10:30:05 +01:00
|
|
|
widgets/toolbutton.cpp
|
2009-08-30 13:28:34 +02:00
|
|
|
widgets/separator.cpp
|
2008-11-04 00:08:39 +01:00
|
|
|
widgets/tabbar.cpp
|
|
|
|
widgets/treeview.cpp
|
|
|
|
widgets/webview.cpp
|
|
|
|
)
|
|
|
|
|
2012-05-12 17:15:01 +02:00
|
|
|
kconfig_add_kcfg_files(plasma_LIB_SRCS data/kconfigxt/libplasma-theme-global.kcfgc)
|
2009-10-07 20:44:33 +02:00
|
|
|
|
2009-09-02 04:27:16 +02:00
|
|
|
kde4_add_ui_files(plasma_LIB_SRCS
|
2011-04-29 15:18:35 +02:00
|
|
|
remote/pinpairing.ui
|
2009-09-02 04:27:16 +02:00
|
|
|
private/publish.ui)
|
2008-11-04 00:08:39 +01:00
|
|
|
#NEPOMUK_GENERATE_FROM_ONTOLOGY(
|
|
|
|
# nwc.nrl
|
|
|
|
# ${metadata_test_BINARY_DIR}
|
|
|
|
# TEST_HEADERS
|
|
|
|
# TEST_SOURCES
|
|
|
|
# TEST_INCLUDES
|
|
|
|
#)
|
|
|
|
|
|
|
|
|
2009-02-08 22:41:08 +01:00
|
|
|
if (PHONON_FOUND)
|
2009-02-20 09:41:56 +01:00
|
|
|
message(STATUS "Adding support for Phonon to libplasma")
|
2010-07-29 00:40:53 +02:00
|
|
|
include_directories(${KDE4_PHONON_INCLUDES})
|
2011-05-31 01:05:01 +02:00
|
|
|
set(plasmaqgv_LIB_SRCS
|
|
|
|
${plasmaqgv_LIB_SRCS}
|
2009-02-08 22:41:08 +01:00
|
|
|
widgets/videowidget.cpp)
|
|
|
|
endif(PHONON_FOUND)
|
|
|
|
|
2010-07-30 14:31:39 +02:00
|
|
|
kde4_add_library(plasma ${LIBRARY_TYPE} ${plasma_LIB_SRCS})
|
2008-11-04 00:08:39 +01:00
|
|
|
|
2011-05-31 01:05:01 +02:00
|
|
|
kde4_add_library(plasmaqgv ${LIBRARY_TYPE} ${plasmaqgv_LIB_SRCS})
|
|
|
|
|
2010-04-29 19:23:01 +02:00
|
|
|
target_link_libraries(plasma ${QT_QTUITOOLS_LIBRARY} ${QT_QTWEBKIT_LIBRARY}
|
2010-10-08 17:37:54 +02:00
|
|
|
${QT_QTSCRIPT_LIBRARY} ${QT_QTNETWORK_LIBRARY} ${QT_QTXML_LIBRARY} ${QT_QTSQL_LIBRARY} ${QT_QTDECLARATIVE_LIBRARY}
|
2012-06-12 12:59:34 +02:00
|
|
|
${KDE4_KDEUI_LIBS} kdnssd threadweaver kauth kwindowsystem ${PLASMA_EXTRA_LIBS} kcoreaddons ${QtMimeTypes_LIBRARY})
|
2011-04-29 15:18:35 +02:00
|
|
|
#FIXME gpgme++ is in kdepimlibs, neeeds to be elsewhere
|
2011-08-14 19:02:25 +02:00
|
|
|
target_link_libraries(plasma ${KDEPIMLIBS_GPGMEPP_LIBS} karchive)
|
2009-09-09 20:47:11 +02:00
|
|
|
|
2011-05-31 01:05:01 +02:00
|
|
|
target_link_libraries(plasmaqgv plasma ${QT_QTUITOOLS_LIBRARY} ${QT_QTWEBKIT_LIBRARY}
|
|
|
|
${QT_QTSCRIPT_LIBRARY} ${QT_QTNETWORK_LIBRARY} ${QT_QTDECLARATIVE_LIBRARY}
|
2012-06-19 15:12:44 +02:00
|
|
|
${KDE4_KDEUI_LIBS} kdeclarative ${PLASMA_EXTRA_LIBS} kcoreaddons ${QtMimeTypes_LIBRARY})
|
2011-05-31 01:05:01 +02:00
|
|
|
|
2009-09-09 20:47:11 +02:00
|
|
|
if(QCA2_FOUND)
|
|
|
|
target_link_libraries(plasma ${QCA2_LIBRARIES})
|
|
|
|
endif(QCA2_FOUND)
|
|
|
|
|
2008-11-04 09:13:55 +01:00
|
|
|
if(X11_FOUND)
|
|
|
|
target_link_libraries(plasma ${X11_LIBRARIES})
|
|
|
|
endif(X11_FOUND)
|
|
|
|
|
2009-02-08 22:41:08 +01:00
|
|
|
if(PHONON_FOUND)
|
2011-05-31 01:05:01 +02:00
|
|
|
target_link_libraries(plasmaqgv ${KDE4_PHONON_LIBS})
|
2009-02-08 22:41:08 +01:00
|
|
|
endif(PHONON_FOUND)
|
2008-11-04 09:13:55 +01:00
|
|
|
|
2008-11-04 00:08:39 +01:00
|
|
|
if(DL_LIBRARY)
|
2008-11-12 23:56:18 +01:00
|
|
|
target_link_libraries(plasma ${DL_LIBRARY})
|
2008-11-04 00:08:39 +01:00
|
|
|
endif(DL_LIBRARY)
|
|
|
|
|
2012-02-19 13:41:26 +01:00
|
|
|
target_link_libraries(plasma LINK_INTERFACE_LIBRARIES kdeui kdecore kwindowsystem ${QT_QTGUI_LIBRARY})
|
2008-11-11 00:52:13 +01:00
|
|
|
|
2008-11-04 00:29:54 +01:00
|
|
|
#do NOT use GENERIC versioning -- the plasma team will take care of versioning
|
2008-11-04 00:08:39 +01:00
|
|
|
set_target_properties(plasma PROPERTIES
|
2011-04-26 22:53:32 +02:00
|
|
|
VERSION 4.0.0
|
|
|
|
SOVERSION 4
|
2008-11-04 00:08:39 +01:00
|
|
|
)
|
|
|
|
|
2011-05-31 01:05:01 +02:00
|
|
|
set_target_properties(plasmaqgv PROPERTIES
|
|
|
|
VERSION 1.0.0
|
|
|
|
SOVERSION 1
|
|
|
|
)
|
2008-11-04 00:08:39 +01:00
|
|
|
|
2012-02-12 16:32:16 +01:00
|
|
|
install(TARGETS plasma EXPORT kdelibsLibraryTargets ${INSTALL_TARGETS_DEFAULT_ARGS})
|
|
|
|
install(TARGETS plasmaqgv EXPORT kdelibsLibraryTargets ${INSTALL_TARGETS_DEFAULT_ARGS})
|
2008-11-04 00:08:39 +01:00
|
|
|
|
|
|
|
########### install files ###############
|
2012-06-16 22:06:11 +02:00
|
|
|
generate_export_header(plasma)
|
2008-11-04 00:08:39 +01:00
|
|
|
|
|
|
|
set(plasma_LIB_INCLUDES
|
2010-04-03 21:10:32 +02:00
|
|
|
abstractdialogmanager.h
|
2009-09-04 10:58:34 +02:00
|
|
|
abstractrunner.h
|
2009-10-23 00:20:39 +02:00
|
|
|
abstracttoolbox.h
|
2009-10-15 21:36:38 +02:00
|
|
|
animations/animation.h
|
2008-11-04 00:08:39 +01:00
|
|
|
animator.h
|
|
|
|
applet.h
|
|
|
|
configloader.h
|
|
|
|
containment.h
|
2009-08-18 00:31:32 +02:00
|
|
|
containmentactions.h
|
2009-10-05 22:50:57 +02:00
|
|
|
containmentactionspluginsconfig.h
|
2008-11-04 00:08:39 +01:00
|
|
|
corona.h
|
|
|
|
datacontainer.h
|
|
|
|
dataengine.h
|
|
|
|
delegate.h
|
|
|
|
dialog.h
|
2010-07-15 23:06:21 +02:00
|
|
|
pluginloader.h
|
2008-11-04 00:08:39 +01:00
|
|
|
paintutils.h
|
|
|
|
framesvg.h
|
2011-05-31 01:04:33 +02:00
|
|
|
package.h
|
2011-07-19 21:36:29 +02:00
|
|
|
packagestructure.h
|
2008-11-04 00:08:39 +01:00
|
|
|
plasma.h
|
2012-06-16 22:06:11 +02:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/plasma_export.h
|
2008-11-04 00:08:39 +01:00
|
|
|
popupapplet.h
|
2009-09-04 10:58:34 +02:00
|
|
|
querymatch.h
|
2009-09-03 23:10:33 +02:00
|
|
|
remote/accessappletjob.h
|
|
|
|
remote/accessmanager.h
|
|
|
|
remote/authorizationmanager.h
|
|
|
|
remote/authorizationrule.h
|
|
|
|
remote/authorizationinterface.h
|
|
|
|
remote/clientpinrequest.h
|
|
|
|
remote/credentials.h
|
|
|
|
remote/serviceaccessjob.h
|
2009-09-04 10:58:34 +02:00
|
|
|
runnercontext.h
|
|
|
|
runnermanager.h
|
|
|
|
runnersyntax.h
|
2008-11-04 00:08:39 +01:00
|
|
|
service.h
|
|
|
|
servicejob.h
|
|
|
|
svg.h
|
|
|
|
theme.h
|
|
|
|
tooltipcontent.h
|
|
|
|
tooltipmanager.h
|
|
|
|
version.h
|
|
|
|
view.h
|
|
|
|
wallpaper.h)
|
|
|
|
|
|
|
|
|
|
|
|
install(FILES
|
|
|
|
${plasma_LIB_INCLUDES}
|
|
|
|
DESTINATION ${INCLUDE_INSTALL_DIR}/plasma COMPONENT Devel)
|
|
|
|
|
|
|
|
install(FILES
|
|
|
|
widgets/checkbox.h
|
|
|
|
widgets/combobox.h
|
2010-10-08 17:37:54 +02:00
|
|
|
widgets/declarativewidget.h
|
2008-11-04 00:08:39 +01:00
|
|
|
widgets/flashinglabel.h
|
|
|
|
widgets/frame.h
|
|
|
|
widgets/groupbox.h
|
|
|
|
widgets/iconwidget.h
|
2009-08-31 00:05:07 +02:00
|
|
|
widgets/itembackground.h
|
2008-11-04 00:08:39 +01:00
|
|
|
widgets/label.h
|
|
|
|
widgets/lineedit.h
|
|
|
|
widgets/meter.h
|
|
|
|
widgets/pushbutton.h
|
2008-11-11 10:30:05 +01:00
|
|
|
widgets/toolbutton.h
|
2008-11-04 00:08:39 +01:00
|
|
|
widgets/radiobutton.h
|
|
|
|
widgets/scrollbar.h
|
|
|
|
widgets/signalplotter.h
|
|
|
|
widgets/slider.h
|
2009-01-07 19:54:43 +01:00
|
|
|
widgets/spinbox.h
|
2008-11-04 00:08:39 +01:00
|
|
|
widgets/busywidget.h
|
2009-08-30 13:28:34 +02:00
|
|
|
widgets/separator.h
|
2008-11-04 00:08:39 +01:00
|
|
|
widgets/svgwidget.h
|
2009-03-03 18:31:54 +01:00
|
|
|
widgets/scrollwidget.h
|
2008-11-04 00:08:39 +01:00
|
|
|
widgets/tabbar.h
|
2009-03-03 18:38:16 +01:00
|
|
|
widgets/textbrowser.h
|
2008-11-04 00:08:39 +01:00
|
|
|
widgets/treeview.h
|
|
|
|
widgets/textedit.h
|
|
|
|
widgets/webview.h
|
|
|
|
DESTINATION ${INCLUDE_INSTALL_DIR}/plasma/widgets COMPONENT Devel)
|
|
|
|
|
|
|
|
install(FILES
|
|
|
|
scripting/appletscript.h
|
|
|
|
scripting/dataenginescript.h
|
|
|
|
scripting/runnerscript.h
|
2009-10-29 06:54:11 +01:00
|
|
|
scripting/wallpaperscript.h
|
2008-11-04 00:08:39 +01:00
|
|
|
scripting/scriptengine.h
|
|
|
|
DESTINATION ${INCLUDE_INSTALL_DIR}/plasma/scripting COMPONENT Devel)
|
|
|
|
|
2009-02-08 22:54:31 +01:00
|
|
|
if(PHONON_FOUND)
|
|
|
|
install (FILES
|
|
|
|
widgets/videowidget.h
|
|
|
|
DESTINATION ${INCLUDE_INSTALL_DIR}/plasma/widgets COMPONENT Devel)
|
|
|
|
endif(PHONON_FOUND)
|
2008-11-04 00:08:39 +01:00
|
|
|
|
2009-10-15 21:36:38 +02:00
|
|
|
install(FILES
|
|
|
|
animations/animation.h
|
|
|
|
DESTINATION ${INCLUDE_INSTALL_DIR}/plasma/animations COMPONENT Devel)
|
|
|
|
|
|
|
|
|
2008-11-04 00:08:39 +01:00
|
|
|
install(FILES
|
2009-09-03 22:40:22 +02:00
|
|
|
data/servicetypes/plasma-animator.desktop
|
|
|
|
data/servicetypes/plasma-applet.desktop
|
|
|
|
data/servicetypes/plasma-applet-popupapplet.desktop
|
|
|
|
data/servicetypes/plasma-containment.desktop
|
|
|
|
data/servicetypes/plasma-containmentactions.desktop
|
|
|
|
data/servicetypes/plasma-dataengine.desktop
|
|
|
|
data/servicetypes/plasma-packagestructure.desktop
|
|
|
|
data/servicetypes/plasma-runner.desktop
|
|
|
|
data/servicetypes/plasma-scriptengine.desktop
|
2010-10-23 16:19:07 +02:00
|
|
|
data/servicetypes/plasma-service.desktop
|
2010-07-30 14:12:31 +02:00
|
|
|
data/servicetypes/plasma-toolbox.desktop
|
2009-09-03 22:40:22 +02:00
|
|
|
data/servicetypes/plasma-wallpaper.desktop
|
2008-11-04 00:08:39 +01:00
|
|
|
DESTINATION ${SERVICETYPES_INSTALL_DIR})
|
|
|
|
|
|
|
|
install(FILES
|
2011-04-29 16:55:42 +02:00
|
|
|
data/services/plasma.protocol
|
2008-11-04 00:08:39 +01:00
|
|
|
DESTINATION ${SERVICES_INSTALL_DIR})
|
|
|
|
|
2009-09-03 22:40:22 +02:00
|
|
|
install(FILES data/knewstuff/plasmoids.knsrc DESTINATION ${CONFIG_INSTALL_DIR})
|
2008-11-04 00:08:39 +01:00
|
|
|
|
2009-09-03 22:40:22 +02:00
|
|
|
install(FILES data/operations/dataengineservice.operations DESTINATION ${DATA_INSTALL_DIR}/plasma/services)
|
|
|
|
install(FILES data/operations/plasmoidservice.operations DESTINATION ${DATA_INSTALL_DIR}/plasma/services)
|
2010-07-12 22:51:12 +02:00
|
|
|
install(FILES data/operations/storage.operations DESTINATION ${DATA_INSTALL_DIR}/plasma/services)
|
2009-09-02 11:45:52 +02:00
|
|
|
|