Warning, /education/blinken/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 BLINKEN VERSION_HEADER blinken_version.h)
0005 
0006 set(blinken_SRCS 
0007     blinken.cpp
0008     blinkengame.cpp
0009     blinkengame.h
0010     blinken.h
0011     button.cpp
0012     button.h
0013     counter.cpp
0014     counter.h
0015     highscoredialog.cpp
0016     highscoredialog.h
0017     main.cpp
0018     number.cpp
0019     number.h
0020     soundsplayer.cpp
0021     soundsplayer.h )
0022 
0023 kconfig_add_kcfg_files(blinken_SRCS settings.kcfgc )
0024 
0025 file(GLOB ICON_SRCS "${CMAKE_CURRENT_SOURCE_DIR}/../icons/*-apps-blinken.png")
0026 ecm_add_app_icon(blinken_SRCS ICONS ${ICON_SRCS})
0027 add_executable(blinken ${blinken_SRCS})
0028 
0029 target_link_libraries(blinken
0030     KF6::CoreAddons
0031     KF6::I18n
0032     KF6::XmlGui
0033     KF6::GuiAddons
0034     Qt::Svg
0035     KF6::DBusAddons
0036     KF6::Crash
0037     Phonon::phonon4qt6
0038     )
0039 
0040 install(TARGETS blinken EXPORT blinken ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} )
0041 
0042 
0043 ########### install files ###############
0044 
0045 install( PROGRAMS org.kde.blinken.desktop  DESTINATION  ${KDE_INSTALL_APPDIR} )
0046 install( FILES blinken.kcfg  DESTINATION  ${KDE_INSTALL_KCFGDIR} )
0047