2010-01-19 13:44:22 +00:00
|
|
|
# need a header file from Aurorae sources
|
|
|
|
include_directories(
|
2010-04-12 19:28:58 +00:00
|
|
|
${KDEBASE_WORKSPACE_SOURCE_DIR}/kwin/clients/aurorae/src/lib
|
2010-01-19 13:44:22 +00:00
|
|
|
)
|
|
|
|
|
2010-04-16 21:03:34 +00:00
|
|
|
set(AURORAE_SOURCE_DIR ${KDEBASE_WORKSPACE_SOURCE_DIR}/kwin/clients/aurorae/src/lib/)
|
|
|
|
|
2010-01-19 13:44:22 +00:00
|
|
|
set(kcm_kwindecoration_PART_SRCS
|
|
|
|
kwindecoration.cpp
|
|
|
|
buttons.cpp
|
|
|
|
buttonsconfigdialog.cpp
|
|
|
|
configdialog.cpp
|
|
|
|
preview.cpp
|
|
|
|
decorationmodel.cpp
|
2010-04-16 21:03:34 +00:00
|
|
|
${AURORAE_SOURCE_DIR}/auroraetheme.cpp
|
|
|
|
${AURORAE_SOURCE_DIR}/themeconfig.cpp
|
2010-01-19 13:44:22 +00:00
|
|
|
)
|
|
|
|
|
2010-04-21 18:18:45 +00:00
|
|
|
kde4_add_ui_files(kcm_kwindecoration_PART_SRCS
|
|
|
|
auroraeconfig.ui
|
|
|
|
buttons.ui
|
|
|
|
config.ui
|
|
|
|
decoration.ui
|
|
|
|
)
|
2010-01-19 13:44:22 +00:00
|
|
|
|
2007-04-29 17:35:43 +00:00
|
|
|
kde4_add_plugin(kcm_kwindecoration ${kcm_kwindecoration_PART_SRCS})
|
2012-01-12 10:40:29 +00:00
|
|
|
target_link_libraries(kcm_kwindecoration ${KDE4_KNEWSTUFF3_LIBS} kdecorations ${QT_QTDECLARATIVE_LIBRARY} ${X11_LIBRARIES})
|
2007-04-29 17:35:43 +00:00
|
|
|
install(TARGETS kcm_kwindecoration DESTINATION ${PLUGIN_INSTALL_DIR} )
|
|
|
|
|
|
|
|
########### install files ###############
|
|
|
|
|
|
|
|
install( FILES kwindecoration.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
|
2012-07-27 08:10:28 +00:00
|
|
|
install( FILES
|
|
|
|
qml/main.qml
|
|
|
|
qml/AuroraeDecoration.qml
|
|
|
|
qml/AuroraePreview.qml
|
|
|
|
qml/DecorationPreview.qml
|
|
|
|
DESTINATION ${DATA_INSTALL_DIR}/kwin/kcm_kwindecoration)
|