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

0001 ecm_setup_version(${RELEASE_SERVICE_VERSION}
0002     VARIABLE_PREFIX KIRIKI
0003     VERSION_HEADER kiriki_version.h
0004 )
0005 
0006 add_executable(kiriki)
0007 
0008 target_sources(kiriki PRIVATE
0009     main.cpp
0010     kiriki.cpp
0011     player.cpp
0012     scores.cpp
0013     diceswidget.cpp
0014     lateralwidget.cpp
0015     computer.cpp
0016     configwidget.cpp
0017     row.cpp
0018     itemdelegate.cpp
0019 
0020     kiriki.qrc
0021 )
0022 
0023 ki18n_wrap_ui(kiriki configPage.ui)
0024 
0025 kconfig_add_kcfg_files(kiriki settings.kcfgc)
0026 
0027 file(GLOB ICONS_SRCS "${CMAKE_CURRENT_SOURCE_DIR}/../icons/*-apps-kiriki.png")
0028 ecm_add_app_icon(kiriki ICONS ${ICONS_SRCS})
0029 
0030 target_link_libraries(kiriki
0031     KF5KDEGames
0032     KF5::CoreAddons
0033     KF5::XmlGui
0034     KF5::I18n
0035     KF5::IconThemes
0036     KF5::DBusAddons
0037     KF5::Crash
0038     Qt${QT_MAJOR_VERSION}::PrintSupport
0039 )
0040 
0041 install(TARGETS kiriki ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
0042 
0043 install(PROGRAMS org.kde.kiriki.desktop  DESTINATION  ${KDE_INSTALL_APPDIR} )
0044 install(FILES org.kde.kiriki.appdata.xml  DESTINATION  ${KDE_INSTALL_METAINFODIR} )