Warning, /utilities/rsibreak/src/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 include_directories( ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ${QT_INCLUDE_DIR} ) 0002 0003 ############ rsibreak ######################################################## 0004 0005 # source files needed 0006 set(rsibreak_sources 0007 slideshoweffect.cpp 0008 popupeffect.cpp 0009 grayeffect.cpp 0010 passivepopup.cpp 0011 rsidock.cpp 0012 setup.cpp 0013 setupgeneral.cpp 0014 setuptiming.cpp 0015 setupnotifications.cpp 0016 rsiwidget.cpp 0017 rsirelaxpopup.cpp 0018 setupmaximized.cpp 0019 rsistatwidget.cpp 0020 rsistats.cpp 0021 rsitimer.cpp 0022 rsitimercounter.cpp 0023 rsiglobals.cpp 0024 rsistatitem.cpp 0025 breakbase.cpp 0026 plasmaeffect.cpp 0027 breakcontrol.cpp 0028 rsiidletime.cpp 0029 notificator.cpp 0030 ) 0031 0032 QT5_ADD_DBUS_ADAPTOR( rsibreak_sources 0033 org.rsibreak.rsiwidget.xml 0034 rsiwidget.h RSIObject 0035 ) 0036 0037 # compilation 0038 add_library(rsibreak_lib STATIC ${rsibreak_sources}) 0039 add_executable(rsibreak main.cpp) 0040 0041 # linking 0042 target_link_libraries(rsibreak_lib 0043 KF5::ConfigCore 0044 KF5::ConfigWidgets 0045 KF5::Crash 0046 KF5::DBusAddons 0047 KF5::I18n 0048 KF5::IdleTime 0049 KF5::Notifications 0050 KF5::NotifyConfig 0051 KF5::TextWidgets 0052 KF5::XmlGui 0053 KF5::WindowSystem 0054 Qt5::DBus 0055 ) 0056 target_link_libraries(rsibreak rsibreak_lib) 0057 0058 # install 0059 install( TARGETS rsibreak ${KDE_INSTALL_TARGETS_DEFAULT_ARGS}) 0060 install( PROGRAMS org.kde.rsibreak.desktop DESTINATION ${KDE_INSTALL_APPDIR} ) 0061 install( FILES rsibreak.notifyrc DESTINATION ${KDE_INSTALL_KNOTIFY5RCDIR} ) 0062 install( FILES org.rsibreak.rsiwidget.xml DESTINATION ${KDE_INSTALL_DBUSINTERFACEDIR} ) 0063 install( FILES rsibreak_autostart.desktop DESTINATION ${KDE_INSTALL_AUTOSTARTDIR} ) 0064 install( FILES org.kde.rsibreak.appdata.xml DESTINATION ${KDE_INSTALL_METAINFODIR} )