Changeset View
Changeset View
Standalone View
Standalone View
kcms/keyboard/tastenbrett/CMakeLists.txt
- This file was added.
1 | set(CMAKE_AUTORCC ON) | ||||
---|---|---|---|---|---|
2 | | ||||
3 | pkg_check_modules(XKBCommon REQUIRED IMPORTED_TARGET xkbcommon) | ||||
4 | | ||||
5 | add_executable(tastenbrett | ||||
6 | application.cpp | ||||
7 | doodad.cpp | ||||
8 | geometry.cpp | ||||
9 | key.cpp | ||||
10 | main.cpp | ||||
11 | outline.cpp | ||||
12 | qml.qrc | ||||
13 | row.cpp | ||||
14 | section.cpp | ||||
15 | shape.cpp | ||||
16 | xkbobject.cpp | ||||
17 | ) | ||||
18 | | ||||
19 | target_compile_definitions(tastenbrett | ||||
20 | PRIVATE $<$<OR:$<CONFIG:Debug>,$<CONFIG:RelWithDebInfo>>:QT_QML_DEBUG>) | ||||
21 | | ||||
22 | target_link_libraries(tastenbrett | ||||
23 | PRIVATE | ||||
24 | Qt5::Core | ||||
25 | Qt5::Quick | ||||
26 | Qt5::Gui | ||||
27 | Qt5::X11Extras | ||||
28 | XCB::XCB | ||||
29 | PkgConfig::XKBCommon | ||||
30 | ${X11_Xkbfile_LIB} | ||||
31 | ${X11_LIBRARIES} | ||||
32 | ) | ||||
33 | | ||||
34 | install(TARGETS tastenbrett DESTINATION ${KDE_INSTALL_TARGETS_DEFAULT_ARGS}) |