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

0001 ecm_setup_version(${KREVERSI_VERSION}
0002     VARIABLE_PREFIX KREVERSI
0003     VERSION_HEADER kreversi_version.h
0004 )
0005 
0006 add_executable(kreversi)
0007 
0008 target_sources(kreversi PRIVATE
0009     colorscheme.cpp
0010     colorscheme.h
0011     commondefs.cpp
0012     commondefs.h
0013     Engine.cpp
0014     Engine.h
0015     gamestartinformation.h
0016     highscores.cpp
0017     highscores.h
0018     kexthighscore.cpp
0019     kexthighscore_gui.cpp
0020     kexthighscore_gui.h
0021     kexthighscore.h
0022     kexthighscore_internal.cpp
0023     kexthighscore_internal.h
0024     kexthighscore_item.cpp
0025     kexthighscore_item.h
0026     kexthighscore_tab.cpp
0027     kexthighscore_tab.h
0028     kreversicomputerplayer.cpp
0029     kreversicomputerplayer.h
0030     kreversigame.cpp
0031     kreversigame.h
0032     kreversihumanplayer.cpp
0033     kreversihumanplayer.h
0034     kreversiplayer.cpp
0035     kreversiplayer.h
0036     kreversiview.cpp
0037     kreversiview.h
0038     main.cpp
0039     mainwindow.cpp
0040     mainwindow.h
0041     startgamedialog.cpp
0042     startgamedialog.h
0043 
0044 
0045     kreversi.qrc
0046 )
0047 
0048 ki18n_wrap_ui(kreversi startgamedialog.ui)
0049 
0050 kconfig_add_kcfg_files(kreversi preferences.kcfgc)
0051 
0052 file(GLOB ICON_SRCS "${CMAKE_SOURCE_DIR}/icons/hicolor/*-apps-kreversi.png")
0053 ecm_add_app_icon(kreversi ICONS ${ICON_SRCS})
0054 
0055 target_link_libraries(kreversi
0056     KF5KDEGames
0057     KF5::ConfigCore
0058     KF5::ConfigGui
0059     KF5::CoreAddons
0060     KF5::Crash
0061     KF5::DBusAddons
0062     KF5::KIOCore
0063     KF5::KIOFileWidgets
0064     KF5::WidgetsAddons
0065     KF5::XmlGui
0066     Qt${QT_MAJOR_VERSION}::Svg
0067 )
0068 
0069 install(TARGETS kreversi  ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
0070 
0071 install(DIRECTORY qml DESTINATION ${KDE_INSTALL_DATADIR}/kreversi)
0072 
0073 install(PROGRAMS org.kde.kreversi.desktop  DESTINATION  ${KDE_INSTALL_APPDIR})
0074 install(FILES org.kde.kreversi.appdata.xml DESTINATION ${KDE_INSTALL_METAINFODIR})