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

0001 ecm_setup_version(${RELEASE_SERVICE_VERSION}
0002     VARIABLE_PREFIX KGOLDRUNNER
0003     VERSION_HEADER kgoldrunner_version.h
0004 )
0005 
0006 add_executable(kgoldrunner)
0007 
0008 target_sources(kgoldrunner PRIVATE
0009     kgoldrunner.cpp
0010     kgoldrunner.h
0011     kgrdebug.h
0012     kgrdialog.cpp
0013     kgrdialog.h
0014     kgreditor.cpp
0015     kgreditor.h
0016     kgrgame.cpp
0017     kgrgame.h
0018     kgrgameio.cpp
0019     kgrgameio.h
0020     kgrglobals.h
0021     kgrlevelgrid.cpp
0022     kgrlevelgrid.h
0023     kgrlevelplayer.cpp
0024     kgrlevelplayer.h
0025     kgrrenderer.cpp
0026     kgrrenderer.h
0027     kgrrulebook.cpp
0028     kgrrulebook.h
0029     kgrrunner.cpp
0030     kgrrunner.h
0031     kgrscene.cpp
0032     kgrscene.h
0033     kgrselector.cpp
0034     kgrselector.h
0035     kgrsounds.cpp
0036     kgrsounds.h
0037     kgrsprite.cpp
0038     kgrsprite.h
0039     kgrthemetypes.cpp
0040     kgrthemetypes.h
0041     kgrtimer.cpp
0042     kgrtimer.h
0043     kgrview.cpp
0044     kgrview.h
0045     main.cpp
0046 
0047 
0048     kgoldrunner.qrc
0049 )
0050 
0051 ecm_qt_declare_logging_category(kgoldrunner
0052     HEADER kgoldrunner_debug.h
0053     IDENTIFIER KGOLDRUNNER_LOG
0054     CATEGORY_NAME log_kgoldrunner
0055     DESCRIPTION "KGoldrunner"
0056     EXPORT KGOLDRUNNER
0057 )
0058 
0059 file(GLOB ICONS_SRCS "${CMAKE_CURRENT_SOURCE_DIR}/*-apps-kgoldrunner.png")
0060 ecm_add_app_icon(kgoldrunner ICONS ${ICONS_SRCS})
0061 
0062 target_link_libraries(kgoldrunner
0063     KDEGames6
0064     KF6::ConfigWidgets
0065     KF6::DBusAddons
0066     KF6::KIOCore
0067     KF6::Crash
0068     KF6::I18n
0069     KF6::WidgetsAddons
0070     KF6::XmlGui
0071 )
0072 
0073 install(TARGETS kgoldrunner  ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} )
0074 
0075 install(PROGRAMS org.kde.kgoldrunner.desktop  DESTINATION  ${KDE_INSTALL_APPDIR})
0076 install(FILES org.kde.kgoldrunner.appdata.xml DESTINATION ${KDE_INSTALL_METAINFODIR})
0077 
0078 ecm_install_icons(ICONS
0079     128-apps-kgoldrunner.png
0080     16-apps-kgoldrunner.png
0081     22-apps-kgoldrunner.png
0082     32-apps-kgoldrunner.png
0083     48-apps-kgoldrunner.png
0084     64-apps-kgoldrunner.png
0085     DESTINATION ${KDE_INSTALL_ICONDIR} THEME hicolor
0086 )
0087 
0088 ecm_qt_install_logging_categories(
0089     EXPORT KGOLDRUNNER
0090     FILE kgoldrunner.categories
0091     DESTINATION ${KDE_INSTALL_LOGGINGCATEGORIESDIR}
0092 )