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

0001 ecm_setup_version(${RELEASE_SERVICE_VERSION}
0002     VARIABLE_PREFIX KBOUNCE
0003     VERSION_HEADER kbounce_version.h
0004 )
0005 
0006 add_executable(kbounce)
0007 
0008 target_sources(kbounce PRIVATE
0009     backgroundselector.cpp
0010     backgroundselector.h
0011     ball.cpp
0012     ball.h
0013     board.cpp
0014     board.h
0015     gameobject.cpp
0016     gameobject.h
0017     gamewidget.cpp
0018     gamewidget.h
0019     main.cpp
0020     mainwindow.cpp
0021     mainwindow.h
0022     renderer.cpp
0023     renderer.h
0024     wall.cpp
0025     wall.h
0026 
0027     kbounce.qrc
0028 )
0029 
0030 kconfig_add_kcfg_files(kbounce settings.kcfgc)
0031 
0032 ki18n_wrap_ui(kbounce  backgroundselector.ui )
0033 
0034 ecm_qt_declare_logging_category(kbounce
0035     HEADER debug.h
0036     IDENTIFIER KBOUNCE_LOG
0037     CATEGORY_NAME log_kbounce
0038     DESCRIPTION "KBounce game"
0039     EXPORT KBOUNCE
0040 )
0041 
0042 file(GLOB ICONS_SRCS "${CMAKE_SOURCE_DIR}/pics/*-apps-kbounce.png")
0043 ecm_add_app_icon(kbounce ICONS ${ICONS_SRCS})
0044 
0045 target_link_libraries(kbounce 
0046     KDEGames6
0047     KF6::XmlGui
0048     KF6::I18n
0049     KF6::KIOWidgets
0050     KF6::DBusAddons
0051     KF6::Crash
0052     Qt6::Svg
0053 )
0054 
0055 install(TARGETS kbounce  ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
0056 
0057 install(PROGRAMS org.kde.kbounce.desktop  DESTINATION  ${KDE_INSTALL_APPDIR})
0058 install(FILES org.kde.kbounce.appdata.xml DESTINATION ${KDE_INSTALL_METAINFODIR})
0059 
0060 ecm_qt_install_logging_categories(
0061     EXPORT KBOUNCE
0062     FILE kbounce.categories
0063     DESTINATION ${KDE_INSTALL_LOGGINGCATEGORIESDIR}
0064 )