2009-06-19 09:18:07 +00:00
|
|
|
########### decoration ###############
|
2012-07-27 08:03:22 +00:00
|
|
|
include_directories(
|
|
|
|
./lib
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}
|
|
|
|
)
|
2009-06-19 09:18:07 +00:00
|
|
|
|
2010-04-12 19:28:58 +00:00
|
|
|
set(kwin3_aurorae_PART_SRCS
|
|
|
|
aurorae.cpp
|
|
|
|
lib/auroraetheme.cpp
|
|
|
|
lib/themeconfig.cpp
|
|
|
|
)
|
2009-06-19 09:18:07 +00:00
|
|
|
|
|
|
|
kde4_add_plugin(kwin3_aurorae ${kwin3_aurorae_PART_SRCS})
|
|
|
|
|
2012-01-12 10:40:29 +00:00
|
|
|
target_link_libraries(kwin3_aurorae ${KDE4_KDEUI_LIBS} ${QT_QTDECLARATIVE_LIBRARY} kdecorations)
|
2009-06-19 09:18:07 +00:00
|
|
|
|
|
|
|
install(TARGETS kwin3_aurorae DESTINATION ${PLUGIN_INSTALL_DIR} )
|
|
|
|
|
2012-07-27 08:03:22 +00:00
|
|
|
set(decoration_plugin_SRCS
|
|
|
|
decorationplugin.cpp
|
|
|
|
decorationoptions.cpp
|
|
|
|
colorhelper.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
qt4_automoc(${decoration_plugin_SRCS})
|
|
|
|
|
|
|
|
add_library(decorationplugin SHARED ${decoration_plugin_SRCS})
|
|
|
|
target_link_libraries(decorationplugin ${QT_QTCORE_LIBRARY} ${QT_QTDECLARATIVE_LIBRARY} ${KDE4_KDEUI_LIBRARY} kdecorations)
|
|
|
|
install(TARGETS decorationplugin DESTINATION ${IMPORTS_INSTALL_DIR}/org/kde/kwin/decoration)
|
|
|
|
|
2009-06-19 09:18:07 +00:00
|
|
|
########### install files ###############
|
|
|
|
|
|
|
|
install( FILES aurorae.desktop DESTINATION ${DATA_INSTALL_DIR}/kwin )
|
2009-08-05 10:37:24 +00:00
|
|
|
install( FILES aurorae.knsrc DESTINATION ${CONFIG_INSTALL_DIR} )
|
2012-01-07 16:25:21 +00:00
|
|
|
install( FILES
|
|
|
|
qml/aurorae.qml
|
|
|
|
qml/AuroraeButton.qml
|
|
|
|
qml/AuroraeButtonGroup.qml
|
2012-01-10 18:26:59 +00:00
|
|
|
qml/AuroraeMaximizeButton.qml
|
2012-01-07 16:25:21 +00:00
|
|
|
qml/Decoration.qml
|
|
|
|
qml/DecorationButton.qml
|
|
|
|
qml/MenuButton.qml
|
|
|
|
DESTINATION ${DATA_INSTALL_DIR}/kwin/aurorae )
|
2012-07-27 08:03:22 +00:00
|
|
|
install( FILES
|
|
|
|
qml/Decoration.qml
|
|
|
|
qml/DecorationButton.qml
|
|
|
|
qml/MenuButton.qml
|
|
|
|
qml/ButtonGroup.qml
|
|
|
|
qml/qmldir
|
|
|
|
DESTINATION ${IMPORTS_INSTALL_DIR}/org/kde/kwin/decoration )
|
2012-07-22 15:35:18 +00:00
|
|
|
install( FILES kwindecoration.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR} )
|