Warning, /plasma/plasma-workspace/plasma-windowed/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 add_definitions("-DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII")
0002 add_definitions(-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT)
0003 add_definitions(-DTRANSLATION_DOMAIN=\"plasmawindowed\")
0004 
0005 set(plasmawindowed-app_SRCS
0006     plasmawindowedcorona.cpp
0007     plasmawindowedview.cpp
0008     plasmawindowedcorona.h
0009     plasmawindowedview.h
0010     main.cpp
0011 )
0012 
0013 add_executable(plasmawindowed ${plasmawindowed-app_SRCS})
0014 
0015 target_link_libraries(
0016     plasmawindowed
0017     Qt::Widgets
0018     Qt::Quick
0019     Qt::Qml
0020     KF6::I18n
0021     KF6::IconThemes
0022     KF6::XmlGui
0023     Plasma::PlasmaQuick
0024     Plasma::Plasma
0025     KF6::DBusAddons
0026     KF6::Notifications
0027     KF6::Package
0028     KF6::StatusNotifierItem
0029 )
0030 
0031 install(TARGETS plasmawindowed ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
0032 #even if hidden, the desktop file is needed anyways for kdbusservice::unique
0033 configure_file(org.kde.plasmawindowed.desktop.cmake ${CMAKE_CURRENT_BINARY_DIR}/org.kde.plasmawindowed.desktop @ONLY)
0034 install(FILES ${CMAKE_CURRENT_BINARY_DIR}/org.kde.plasmawindowed.desktop DESTINATION ${KDE_INSTALL_APPDIR})