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 
0004 set(plasmawindowed-app_SRCS
0005     plasmawindowedcorona.cpp
0006     plasmawindowedview.cpp
0007     plasmawindowedcorona.h
0008     plasmawindowedview.h
0009     main.cpp
0010 )
0011 
0012 add_executable(plasmawindowed ${plasmawindowed-app_SRCS})
0013 
0014 target_link_libraries(
0015     plasmawindowed
0016     Qt::Widgets
0017     Qt::Quick
0018     Qt::Qml
0019     KF5::I18n
0020     KF5::IconThemes
0021     KF5::XmlGui
0022     KF5::PlasmaQuick
0023     KF5::Plasma
0024     KF5::DBusAddons
0025     KF5::Notifications
0026     KF5::Package
0027 )
0028 
0029 install(TARGETS plasmawindowed ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
0030 #even if hidden, the desktop file is needed anyways for kdbusservice::unique
0031 configure_file(org.kde.plasmawindowed.desktop.cmake ${CMAKE_CURRENT_BINARY_DIR}/org.kde.plasmawindowed.desktop @ONLY)
0032 install(FILES ${CMAKE_CURRENT_BINARY_DIR}/org.kde.plasmawindowed.desktop DESTINATION ${KDE_INSTALL_APPDIR})