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

0001 add_subdirectory(pics)
0002 
0003 ecm_setup_version(${RELEASE_SERVICE_VERSION}
0004     VARIABLE_PREFIX KDIAMOND
0005     VERSION_HEADER kdiamond_version.h
0006 )
0007 
0008 add_executable(kdiamond)
0009 
0010 target_sources(kdiamond PRIVATE
0011     board.cpp
0012     board.h
0013     diamond.cpp
0014     diamond.h
0015     game.cpp
0016     game.h
0017     game-state.cpp
0018     game-state.h
0019     infobar.cpp
0020     infobar.h
0021     main.cpp
0022     mainwindow.cpp
0023     mainwindow.h
0024     view.cpp
0025     view.h
0026 
0027 
0028     kdiamond.qrc
0029 )
0030 
0031 kconfig_add_kcfg_files(kdiamond settings.kcfgc)
0032 
0033 file(GLOB ICONS_SRCS "pics/*-apps-kdiamond.png")
0034 ecm_add_app_icon(kdiamond ICONS ${ICONS_SRCS})
0035 
0036 target_link_libraries(kdiamond
0037     KF5KDEGames
0038     KF5::CoreAddons
0039     KF5::NotifyConfig
0040     KF5::I18n
0041     KF5::XmlGui
0042     KF5::Notifications
0043     KF5::DBusAddons
0044     KF5::Crash
0045 )
0046 
0047 install(TARGETS kdiamond  ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
0048 install(FILES kdiamond.knsrc  DESTINATION ${KDE_INSTALL_DATADIR}/knsrcfiles)
0049 install(PROGRAMS org.kde.kdiamond.desktop  DESTINATION ${KDE_INSTALL_APPDIR})
0050 install(FILES org.kde.kdiamond.appdata.xml  DESTINATION  ${KDE_INSTALL_METAINFODIR})
0051 install(FILES kdiamond.kcfg DESTINATION ${KDE_INSTALL_DATADIR}/kdiamond)
0052 install(FILES kdiamond.notifyrc DESTINATION ${KDE_INSTALL_KNOTIFYRCDIR})