Warning, /education/klettres/src/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 
0002 ########### next target ###############
0003 
0004 ecm_setup_version(${RELEASE_SERVICE_VERSION} VARIABLE_PREFIX KLETTRES VERSION_HEADER klettres_version.h)
0005 
0006 set(klettres_SRCS
0007     klettres.cpp
0008     klettres.h
0009     klettresview.cpp
0010     klettresview.h
0011     kltheme.cpp
0012     kltheme.h
0013     langutils.cpp
0014     langutils.h
0015     main.cpp
0016     soundfactory.cpp
0017     soundfactory.h
0018     timer.cpp
0019     timer.h
0020     )
0021 
0022 ecm_qt_declare_logging_category(klettres_SRCS HEADER klettres_debug.h IDENTIFIER KLETTRES_LOG CATEGORY_NAME log_klettres DESCRIPTION "klettres" EXPORT KLETTRES)
0023 
0024 ki18n_wrap_ui(klettres_SRCS
0025     timerui.ui
0026     fontsdlg.ui )
0027 
0028 kconfig_add_kcfg_files(klettres_SRCS prefs.kcfgc )
0029 
0030 file(GLOB ICONS_SRCS "${CMAKE_CURRENT_SOURCE_DIR}/*-apps-klettres.png")
0031 ecm_add_app_icon(klettres_SRCS ICONS ${ICONS_SRCS})
0032 
0033 add_executable(klettres ${klettres_SRCS})
0034 
0035 target_link_libraries(klettres
0036   KF5::Crash
0037   KF5::NewStuff
0038   KF5::I18n
0039   Qt::Svg
0040   ${PHONON_LIBRARY}
0041   Qt::Xml)
0042 
0043 install(TARGETS klettres  ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} )
0044 
0045 
0046 ########### install files ###############
0047 
0048 install( PROGRAMS org.kde.klettres.desktop  DESTINATION  ${KDE_INSTALL_APPDIR} )
0049 install( FILES klettresui.rc  DESTINATION  ${KDE_INSTALL_KXMLGUIDIR}/klettres )
0050 install( FILES klettres.kcfg  DESTINATION  ${KDE_INSTALL_KCFGDIR} )
0051 install( FILES klettres.knsrc  DESTINATION  ${KDE_INSTALL_KNSRCDIR} )
0052 
0053 ecm_install_icons( ICONS 128-apps-klettres.png  16-apps-klettres.png  22-apps-klettres.png  32-apps-klettres.png  48-apps-klettres.png  64-apps-klettres.png DESTINATION ${KDE_INSTALL_ICONDIR}   )