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

0001 ecm_setup_version(${RELEASE_SERVICE_VERSION}
0002     VARIABLE_PREFIX KFOURINLINE
0003     VERSION_HEADER kfourinline_version.h
0004 )
0005 
0006 configure_file(config-src.h.in ${CMAKE_CURRENT_BINARY_DIR}/config-src.h)
0007 
0008 add_executable(kfourinline)
0009 
0010 target_sources(kfourinline PRIVATE
0011     aiboard.cpp
0012     aiboard.h
0013     buttonsprite.cpp
0014     buttonsprite.h
0015     chatdlg.cpp
0016     chatdlg.h
0017     displaygame.cpp
0018     displaygame.h
0019     displayintro.cpp
0020     displayintro.h
0021     introsprite.cpp
0022     introsprite.h
0023     kchatdialog.cpp
0024     kchatdialog.h
0025     kfontutils.cpp
0026     kfontutils.h
0027     kgameconnectdialog.cpp
0028     kgameconnectdialog.h
0029     kgamedebugdialog.cpp
0030     kgamedebugdialog.h
0031     kgamedialogconfig.cpp
0032     kgamedialogconfig.h
0033     kgamedialog.cpp
0034     kgamedialog.h
0035     kgamepropertyarray.h
0036     kwin4.cpp
0037     kwin4doc.cpp
0038     kwin4doc.h
0039     kwin4global.h
0040     kwin4.h
0041     kwin4gamesequence.cpp
0042     kwin4gamesequence.h
0043     kwin4player.cpp
0044     kwin4player.h
0045     kwin4view.cpp
0046     kwin4view.h
0047     main.cpp
0048     piecesprite.cpp
0049     piecesprite.h
0050     pixmapsprite.cpp
0051     pixmapsprite.h
0052     reflectiongraphicsscene.cpp
0053     reflectiongraphicsscene.h
0054     score.cpp
0055     score.h
0056     scoresprite.cpp
0057     scoresprite.h
0058     spritenotify.cpp
0059     spritenotify.h
0060     thememanager.cpp
0061     thememanager.h
0062 
0063 
0064     kfourinline.qrc
0065 )
0066 
0067 ki18n_wrap_ui(kfourinline settings.ui statuswidget.ui statistics.ui)
0068 
0069 kconfig_add_kcfg_files(kfourinline prefs.kcfgc)
0070 
0071 ecm_qt_declare_logging_category(kfourinline
0072     HEADER kfourinline_debug.h
0073     IDENTIFIER KFOURINLINE_LOG
0074     CATEGORY_NAME log_fourinline
0075     DESCRIPTION "KFourInLine"
0076     EXPORT KFOURINLINE
0077 )
0078 
0079 file(GLOB ICONS_SRCS "${CMAKE_SOURCE_DIR}/icons/*-apps-kfourinline.png")
0080 ecm_add_app_icon(kfourinline ICONS ${ICONS_SRCS})
0081 
0082 target_link_libraries(kfourinline
0083     KDEGames6
0084     KDEGames6Private
0085     KF6::CoreAddons
0086     KF6::Crash
0087     KF6::DNSSD
0088     KF6::I18n
0089     KF6::XmlGui
0090     KF6::WidgetsAddons
0091     Qt6::Svg
0092 )
0093 
0094 install(TARGETS kfourinline  ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} )
0095 
0096 install(PROGRAMS org.kde.kfourinline.desktop  DESTINATION  ${KDE_INSTALL_APPDIR})
0097 install(FILES org.kde.kfourinline.appdata.xml  DESTINATION  ${KDE_INSTALL_METAINFODIR})
0098 
0099 add_executable(kfourinlineproc)
0100 
0101 target_sources(kfourinlineproc PRIVATE
0102     aiboard.cpp
0103     aiboard.h
0104     kgameprocess.cpp
0105     kgameprocess.h
0106     kwin4proc.cpp
0107     kwin4proc.h
0108 )
0109 
0110 target_link_libraries(kfourinlineproc
0111     KDEGames6
0112     KDEGames6Private
0113     Qt6::Svg
0114 )
0115 
0116 install(TARGETS kfourinlineproc ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} )
0117 
0118 install( FILES kwin4.kcfg  DESTINATION  ${KDE_INSTALL_KCFGDIR} )
0119 
0120 ecm_qt_install_logging_categories(
0121     EXPORT KFOURINLINE
0122     FILE kfourinline.categories
0123     DESTINATION ${KDE_INSTALL_LOGGINGCATEGORIESDIR}
0124 )