Changeset View
Changeset View
Standalone View
Standalone View
CMakeLists.txt
Show First 20 Lines • Show All 299 Lines • ▼ Show 20 Line(s) | |||||
300 | ecm_find_qmlmodule(org.kde.plasma.components 2.0) | 300 | ecm_find_qmlmodule(org.kde.plasma.components 2.0) | ||
301 | 301 | | |||
302 | ########### configure tests ############### | 302 | ########### configure tests ############### | ||
303 | include(CMakeDependentOption) | 303 | include(CMakeDependentOption) | ||
304 | 304 | | |||
305 | option(KWIN_BUILD_DECORATIONS "Enable building of KWin decorations." ON) | 305 | option(KWIN_BUILD_DECORATIONS "Enable building of KWin decorations." ON) | ||
306 | option(KWIN_BUILD_KCMS "Enable building of KWin configuration modules." ON) | 306 | option(KWIN_BUILD_KCMS "Enable building of KWin configuration modules." ON) | ||
307 | option(KWIN_BUILD_TABBOX "Enable building of KWin Tabbox functionality" ON) | 307 | option(KWIN_BUILD_TABBOX "Enable building of KWin Tabbox functionality" ON) | ||
308 | option(KWIN_BUILD_PERF "Build internal tools for performance analysis at runtime." ON) | ||||
zzag: Not sure whether it has to be on by default. This is kind of development thing. | |||||
If disabled is not a big penalty. I'd say it's good that it's on, in case you need to test an already existing binary. apol: If disabled is not a big penalty. I'd say it's good that it's on, in case you need to test an… | |||||
308 | option(KWIN_BUILD_XRENDER_COMPOSITING "Enable building of KWin with XRender Compositing support" ON) | 309 | option(KWIN_BUILD_XRENDER_COMPOSITING "Enable building of KWin with XRender Compositing support" ON) | ||
309 | cmake_dependent_option(KWIN_BUILD_ACTIVITIES "Enable building of KWin with kactivities support" ON "KF5Activities_FOUND" OFF) | 310 | cmake_dependent_option(KWIN_BUILD_ACTIVITIES "Enable building of KWin with kactivities support" ON "KF5Activities_FOUND" OFF) | ||
310 | 311 | | |||
311 | # Binary name of KWin | 312 | # Binary name of KWin | ||
312 | set(KWIN_NAME "kwin") | 313 | set(KWIN_NAME "kwin") | ||
313 | set(KWIN_INTERNAL_NAME_X11 "kwin_x11") | 314 | set(KWIN_INTERNAL_NAME_X11 "kwin_x11") | ||
314 | set(KWIN_INTERNAL_NAME_WAYLAND "kwin_wayland") | 315 | set(KWIN_INTERNAL_NAME_WAYLAND "kwin_wayland") | ||
315 | set(KWIN_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}) | 316 | set(KWIN_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}) | ||
▲ Show 20 Lines • Show All 179 Lines • ▼ Show 20 Line(s) | 396 | set(kwin_KDEINIT_SRCS | |||
495 | window_property_notify_x11_filter.cpp | 496 | window_property_notify_x11_filter.cpp | ||
496 | workspace.cpp | 497 | workspace.cpp | ||
497 | x11client.cpp | 498 | x11client.cpp | ||
498 | x11eventfilter.cpp | 499 | x11eventfilter.cpp | ||
499 | xcbutils.cpp | 500 | xcbutils.cpp | ||
500 | xdgshellclient.cpp | 501 | xdgshellclient.cpp | ||
501 | xkb.cpp | 502 | xkb.cpp | ||
502 | xwl/xwayland_interface.cpp | 503 | xwl/xwayland_interface.cpp | ||
504 | perf.cpp | ||||
503 | ) | 505 | ) | ||
504 | 506 | | |||
505 | include(ECMQtDeclareLoggingCategory) | 507 | include(ECMQtDeclareLoggingCategory) | ||
506 | ecm_qt_declare_logging_category(kwin_KDEINIT_SRCS | 508 | ecm_qt_declare_logging_category(kwin_KDEINIT_SRCS | ||
507 | HEADER | 509 | HEADER | ||
508 | colorcorrect_logging.h | 510 | colorcorrect_logging.h | ||
509 | IDENTIFIER | 511 | IDENTIFIER | ||
510 | KWIN_COLORCORRECTION | 512 | KWIN_COLORCORRECTION | ||
Show All 19 Lines | |||||
530 | endif() | 532 | endif() | ||
531 | 533 | | |||
532 | if (KWIN_BUILD_ACTIVITIES) | 534 | if (KWIN_BUILD_ACTIVITIES) | ||
533 | set(kwin_KDEINIT_SRCS ${kwin_KDEINIT_SRCS} | 535 | set(kwin_KDEINIT_SRCS ${kwin_KDEINIT_SRCS} | ||
534 | activities.cpp | 536 | activities.cpp | ||
535 | ) | 537 | ) | ||
536 | endif() | 538 | endif() | ||
537 | 539 | | |||
540 | if(KWIN_BUILD_PERF) | ||||
541 | set( | ||||
542 | kwin_KDEINIT_SRCS ${kwin_KDEINIT_SRCS} | ||||
543 | helpers/perf/ftrace_marker.cpp | ||||
544 | ) | ||||
545 | endif() | ||||
546 | | ||||
538 | if (HAVE_LINUX_VT_H) | 547 | if (HAVE_LINUX_VT_H) | ||
539 | set(kwin_KDEINIT_SRCS ${kwin_KDEINIT_SRCS} | 548 | set(kwin_KDEINIT_SRCS ${kwin_KDEINIT_SRCS} | ||
540 | virtual_terminal.cpp | 549 | virtual_terminal.cpp | ||
541 | ) | 550 | ) | ||
542 | endif() | 551 | endif() | ||
543 | 552 | | |||
544 | kconfig_add_kcfg_files(kwin_KDEINIT_SRCS settings.kcfgc) | 553 | kconfig_add_kcfg_files(kwin_KDEINIT_SRCS settings.kcfgc) | ||
545 | kconfig_add_kcfg_files(kwin_KDEINIT_SRCS colorcorrection/colorcorrect_settings.kcfgc) | 554 | kconfig_add_kcfg_files(kwin_KDEINIT_SRCS colorcorrection/colorcorrect_settings.kcfgc) | ||
▲ Show 20 Lines • Show All 211 Lines • Show Last 20 Lines |
Not sure whether it has to be on by default. This is kind of development thing.