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

0001 add_subdirectory(pics)
0002 add_subdirectory(sounds)
0003 
0004 add_executable(knetwalk)
0005 
0006 target_sources(knetwalk PRIVATE
0007     abstractgrid.cpp
0008     abstractgrid.h
0009     gameview.cpp
0010     gameview.h
0011     globals.h
0012     main.cpp
0013     mainwindow.cpp
0014     mainwindow.h
0015 
0016     knetwalk.qrc
0017 )
0018 
0019 ecm_setup_version(${PROJECT_VERSION} VARIABLE_PREFIX KNETWALK VERSION_HEADER knetwalk_version.h)
0020 
0021 ki18n_wrap_ui(knetwalk general.ui customgame.ui)
0022 
0023 kconfig_add_kcfg_files(knetwalk settings.kcfgc)
0024 
0025 file(GLOB ICONS_SRCS "${CMAKE_CURRENT_SOURCE_DIR}/pics/*-apps-knetwalk.png")
0026 ecm_add_app_icon(knetwalk ICONS ${ICONS_SRCS})
0027 
0028 target_link_libraries(knetwalk
0029     KDEGames6
0030     KF6::CoreAddons
0031     KF6::Crash
0032     KF6::DBusAddons
0033     KF6::I18n
0034     KF6::TextWidgets
0035     KF6::XmlGui
0036     Qt6::QuickWidgets
0037 )
0038 
0039 install(TARGETS knetwalk  ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
0040 
0041 install(DIRECTORY qml DESTINATION ${KDE_INSTALL_DATADIR}/knetwalk)
0042 install(PROGRAMS org.kde.knetwalk.desktop  DESTINATION  ${KDE_INSTALL_APPDIR})
0043 install(FILES org.kde.knetwalk.appdata.xml DESTINATION ${KDE_INSTALL_METAINFODIR})