Changeset View
Changeset View
Standalone View
Standalone View
kdecoration/CMakeLists.txt
Show All 31 Lines | |||||
32 | include_directories(${CMAKE_SOURCE_DIR}/libbreezecommon) | 32 | include_directories(${CMAKE_SOURCE_DIR}/libbreezecommon) | ||
33 | include_directories(${CMAKE_BINARY_DIR}/libbreezecommon) | 33 | include_directories(${CMAKE_BINARY_DIR}/libbreezecommon) | ||
34 | 34 | | |||
35 | ################# newt target ################# | 35 | ################# newt target ################# | ||
36 | ### plugin classes | 36 | ### plugin classes | ||
37 | set(breezedecoration_SRCS | 37 | set(breezedecoration_SRCS | ||
38 | breezebutton.cpp | 38 | breezebutton.cpp | ||
39 | breezedecoration.cpp | 39 | breezedecoration.cpp | ||
40 | breezedecorationshadow.cpp | ||||
40 | breezeexceptionlist.cpp | 41 | breezeexceptionlist.cpp | ||
41 | breezesettingsprovider.cpp | 42 | breezesettingsprovider.cpp | ||
42 | breezesizegrip.cpp) | 43 | breezesizegrip.cpp) | ||
43 | 44 | | |||
44 | kconfig_add_kcfg_files(breezedecoration_SRCS breezesettings.kcfgc) | 45 | kconfig_add_kcfg_files(breezedecoration_SRCS breezesettings.kcfgc) | ||
45 | 46 | | |||
46 | ### config classes | 47 | ### config classes | ||
47 | ### they are kept separately because they might move in a separate library in the future | 48 | ### they are kept separately because they might move in a separate library in the future | ||
Show All 31 Lines | 78 | PRIVATE | |||
79 | KDecoration2::KDecoration | 80 | KDecoration2::KDecoration | ||
80 | KF5::ConfigCore | 81 | KF5::ConfigCore | ||
81 | KF5::CoreAddons | 82 | KF5::CoreAddons | ||
82 | KF5::ConfigWidgets | 83 | KF5::ConfigWidgets | ||
83 | KF5::GuiAddons | 84 | KF5::GuiAddons | ||
84 | KF5::I18n | 85 | KF5::I18n | ||
85 | KF5::WindowSystem) | 86 | KF5::WindowSystem) | ||
86 | 87 | | |||
88 | | ||||
89 | set_target_properties(breezedecoration PROPERTIES CXX_STANDARD 17) | ||||
anthonyfieroni: That's too offensive. | |||||
Sorry, that was just for the initial version of this patch to allow for static inline variables to arrive at the first implementation faster. If the direction of this patch is liked I will rework so it works with C++11 davidre: Sorry, that was just for the initial version of this patch to allow for static inline variables… | |||||
87 | if(BREEZE_HAVE_X11) | 90 | if(BREEZE_HAVE_X11) | ||
88 | target_link_libraries(breezedecoration | 91 | target_link_libraries(breezedecoration | ||
89 | PUBLIC | 92 | PUBLIC | ||
90 | Qt5::X11Extras | 93 | Qt5::X11Extras | ||
91 | XCB::XCB) | 94 | XCB::XCB) | ||
92 | endif() | 95 | endif() | ||
93 | 96 | | |||
94 | 97 | | |||
95 | install(TARGETS breezedecoration DESTINATION ${PLUGIN_INSTALL_DIR}/org.kde.kdecoration2) | 98 | install(TARGETS breezedecoration DESTINATION ${PLUGIN_INSTALL_DIR}/org.kde.kdecoration2) | ||
96 | install(FILES config/breezedecorationconfig.desktop DESTINATION ${SERVICES_INSTALL_DIR}) | 99 | install(FILES config/breezedecorationconfig.desktop DESTINATION ${SERVICES_INSTALL_DIR}) |
That's too offensive.