Changeset View
Changeset View
Standalone View
Standalone View
plugins/kdecorations/aurorae/src/CMakeLists.txt
Show All 28 Lines | |||||
29 | 29 | | |||
30 | set(decoration_plugin_SRCS | 30 | set(decoration_plugin_SRCS | ||
31 | decorationplugin.cpp | 31 | decorationplugin.cpp | ||
32 | decorationoptions.cpp | 32 | decorationoptions.cpp | ||
33 | colorhelper.cpp | 33 | colorhelper.cpp | ||
34 | ) | 34 | ) | ||
35 | 35 | | |||
36 | add_library(decorationplugin SHARED ${decoration_plugin_SRCS}) | 36 | add_library(decorationplugin SHARED ${decoration_plugin_SRCS}) | ||
37 | set_target_properties(decorationplugin PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin/org/kde/kwin/decoration/") | ||||
37 | target_link_libraries(decorationplugin | 38 | target_link_libraries(decorationplugin | ||
38 | Qt5::Quick | 39 | Qt5::Quick | ||
39 | KDecoration2::KDecoration | 40 | KDecoration2::KDecoration | ||
40 | KF5::ConfigWidgets | 41 | KF5::ConfigWidgets | ||
41 | ) | 42 | ) | ||
42 | install(TARGETS decorationplugin DESTINATION ${QML_INSTALL_DIR}/org/kde/kwin/decoration) | 43 | install(TARGETS decorationplugin DESTINATION ${QML_INSTALL_DIR}/org/kde/kwin/decoration) | ||
43 | 44 | | |||
44 | ########### install files ############### | 45 | ########### install files ############### | ||
45 | 46 | | |||
46 | install( FILES aurorae.knsrc DESTINATION ${CONFIG_INSTALL_DIR} ) | 47 | install( FILES aurorae.knsrc DESTINATION ${CONFIG_INSTALL_DIR} ) | ||
47 | install( FILES | 48 | install( FILES | ||
48 | qml/aurorae.qml | 49 | qml/aurorae.qml | ||
49 | qml/AuroraeButton.qml | 50 | qml/AuroraeButton.qml | ||
50 | qml/AuroraeButtonGroup.qml | 51 | qml/AuroraeButtonGroup.qml | ||
51 | qml/AuroraeMaximizeButton.qml | 52 | qml/AuroraeMaximizeButton.qml | ||
52 | qml/Decoration.qml | 53 | qml/Decoration.qml | ||
53 | qml/DecorationButton.qml | 54 | qml/DecorationButton.qml | ||
54 | qml/MenuButton.qml | 55 | qml/MenuButton.qml | ||
55 | qml/AppMenuButton.qml | 56 | qml/AppMenuButton.qml | ||
56 | DESTINATION ${DATA_INSTALL_DIR}/kwin/aurorae ) | 57 | DESTINATION ${DATA_INSTALL_DIR}/kwin/aurorae ) | ||
57 | install( FILES | 58 | set(QMLFILES | ||
58 | qml/Decoration.qml | 59 | qml/Decoration.qml | ||
59 | qml/DecorationButton.qml | 60 | qml/DecorationButton.qml | ||
60 | qml/MenuButton.qml | 61 | qml/MenuButton.qml | ||
61 | qml/AppMenuButton.qml | 62 | qml/AppMenuButton.qml | ||
62 | qml/ButtonGroup.qml | 63 | qml/ButtonGroup.qml | ||
63 | qml/qmldir | 64 | qml/qmldir | ||
64 | DESTINATION ${QML_INSTALL_DIR}/org/kde/kwin/decoration ) | 65 | ) | ||
66 | install( FILES ${QMLFILES} DESTINATION ${QML_INSTALL_DIR}/org/kde/kwin/decoration ) | ||||
67 | file(COPY ${QMLFILES} DESTINATION ${CMAKE_BINARY_DIR}/bin/org/kde/kwin/decoration/) | ||||
65 | install( FILES kwindecoration.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR} ) | 68 | install( FILES kwindecoration.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR} ) |