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

0001 ecm_setup_version(${KOLLISION_VERSION}
0002     VARIABLE_PREFIX KOLLISION
0003     VERSION_HEADER kollision_version.h
0004 )
0005 
0006 add_executable(kollision)
0007 
0008 target_sources(kollision PRIVATE
0009     animation.cpp
0010     animation.h
0011     animator.cpp
0012     animator.h
0013     ball.cpp
0014     ball.h
0015     mainarea.cpp
0016     mainarea.h
0017     main.cpp
0018     mainwindow.cpp
0019     mainwindow.h
0020     message.cpp
0021     message.h
0022     spritefwd.h
0023     sprite.h
0024 
0025     kollision.qrc
0026 )
0027 
0028 kconfig_add_kcfg_files(kollision kollisionconfig.kcfgc)
0029 
0030 ki18n_wrap_ui(kollision preferences.ui)
0031 
0032 file(GLOB ICONS_SRCS "${CMAKE_SOURCE_DIR}/pictures/hi/*-apps-kollision.png")
0033 ecm_add_app_icon(kollision ICONS ${ICONS_SRCS})
0034 
0035 target_link_libraries(kollision
0036     KF5KDEGames
0037     KF5::CoreAddons
0038     KF5::Crash
0039     KF5::DBusAddons
0040     KF5::I18n
0041     KF5::XmlGui
0042 )
0043 
0044 install(TARGETS kollision ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
0045 
0046 install(PROGRAMS org.kde.kollision.desktop DESTINATION ${KDE_INSTALL_APPDIR})
0047 install(FILES org.kde.kollision.appdata.xml DESTINATION ${KDE_INSTALL_METAINFODIR})