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 include_directories(${PHONON_INCLUDES})
0024 
0025 kconfig_add_kcfg_files(blinken_SRCS settings.kcfgc )
0026 
0027 file(GLOB ICON_SRCS "${CMAKE_CURRENT_SOURCE_DIR}/../icons/*-apps-blinken.png")
0028 ecm_add_app_icon(blinken_SRCS ICONS ${ICON_SRCS})
0029 add_executable(blinken ${blinken_SRCS})
0030 
0031 target_link_libraries(blinken
0032     KF${KF_MAJOR_VERSION}::CoreAddons
0033     KF${KF_MAJOR_VERSION}::I18n
0034     KF${KF_MAJOR_VERSION}::XmlGui
0035     KF${KF_MAJOR_VERSION}::GuiAddons
0036     Qt::Svg
0037     KF${KF_MAJOR_VERSION}::DBusAddons
0038     KF${KF_MAJOR_VERSION}::Crash
0039     ${PHONON_LIBRARIES}
0040     )
0041 
0042 install(TARGETS blinken EXPORT blinken ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} )
0043 
0044 
0045 ########### install files ###############
0046 
0047 install( PROGRAMS org.kde.blinken.desktop  DESTINATION  ${KDE_INSTALL_APPDIR} )
0048 install( FILES blinken.kcfg  DESTINATION  ${KDE_INSTALL_KCFGDIR} )
0049