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

0001 add_library(kcardgame)
0002 
0003 target_sources(kcardgame PRIVATE
0004     kabstractcarddeck.cpp
0005     kcard.cpp
0006     kcarddeck.cpp
0007     kcardpile.cpp
0008     kcardscene.cpp
0009     kcardtheme.cpp
0010     kcardthemewidget.cpp
0011 )
0012 ecm_generate_headers(libkcardgame_CamelCase_HEADERS
0013     HEADER_NAMES
0014         KAbstractCardDeck
0015         KCard
0016         KCardDeck
0017         KCardPile
0018         KCardScene
0019         KCardTheme
0020         KCardThemeWidget
0021 )
0022 ecm_qt_declare_logging_category(kcardgame
0023     HEADER libkcardgame_debug.h
0024     IDENTIFIER LIBKCARDGAME_LOG
0025     CATEGORY_NAME org.kde.games.kcardgame
0026     DESCRIPTION "LibKCardGame (KPatience)"
0027     EXPORT KPAT
0028 )
0029 
0030 generate_export_header(kcardgame BASE_NAME libkcardgame)
0031 target_link_libraries(kcardgame
0032     PUBLIC
0033         KF6::ConfigWidgets
0034         KF6::ConfigGui
0035         Qt6::Widgets
0036     PRIVATE
0037         KF6::Completion
0038         KF6::GuiAddons
0039         KF6::NewStuffWidgets
0040         KF6::I18n
0041         Qt6::Svg
0042 )
0043 
0044 install(TARGETS kcardgame ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
0045 install(FILES kcardtheme.knsrc DESTINATION ${KDE_INSTALL_KNSRCDIR})