kde-workspace/libs/plasmagenericshell/tests/CMakeLists.txt
2015-09-25 01:51:21 +00:00

31 lines
1.1 KiB
CMake

include_directories(${CMAKE_CURRENT_SOURCE_DIR}/.. ${CMAKE_CURRENT_SOURCE_DIR}/../widgetsexplorer)
add_definitions(-DPLASMAGENERICSHELL_EXPORT=)
set(appletexplorer_SRCS
../widgetsexplorer/kcategorizeditemsviewmodels.cpp
../widgetsexplorer/plasmaappletitemmodel.cpp
../widgetsexplorer/widgetexplorer.cpp
../widgetsexplorer/openwidgetassistant.cpp
main.cpp
)
add_executable(plasmaappletexplorer ${appletexplorer_SRCS})
target_link_libraries(plasmaappletexplorer ${KDE4_PLASMA_LIBS} ${KDE4_KDEUI_LIBS} ${KDE4_KFILE_LIBRARY} ${QT_QTDECLARATIVE_LIBRARY} kephal)
set(backgrounddialog_SRCS
background.cpp
../backgrounddialog.cpp
../mouseinputbutton.cpp
../mouseplugins.cpp
../mousepluginwidget.cpp
../wallpaperpreview.cpp
../MousePlugins.ui
../MousePlugins.ui
../BackgroundDialog.ui
)
kde4_add_kcfg_files(backgrounddialog_SRCS ../../../plasma/desktop/shell/data/plasma-shell-desktop.kcfgc)
add_executable(plasmabackgrounddialog ${backgrounddialog_SRCS})
target_link_libraries(plasmabackgrounddialog ${KDE4_PLASMA_LIBS} ${QT_QTUITOOLS_LIBRARY} ${KDE4_KFILE_LIBRARY} kworkspace)