kasts/src/CMakeLists.txt

34 lines
800 B
CMake
Raw Normal View History

2020-02-28 23:25:08 +01:00
set(alligator_SRCS
main.cpp
feedListModel.cpp
entryListModel.cpp
fetcher.cpp
2020-03-16 22:37:04 +01:00
database.cpp
2020-02-28 23:25:08 +01:00
resources.qrc
2020-04-21 23:27:15 +02:00
)
2020-02-28 23:25:08 +01:00
2020-03-26 14:16:19 +01:00
kconfig_add_kcfg_files(alligator_SRCS alligatorsettings.kcfgc GENERATE_MOC)
2020-02-29 00:14:25 +01:00
add_executable(alligator ${alligator_SRCS})
2020-04-21 23:27:15 +02:00
target_link_libraries(alligator PRIVATE Qt5::Core Qt5::Qml Qt5::Quick Qt5::Sql KF5::Syndication KF5::CoreAddons KF5::ConfigGui KF5::I18n)
if(ANDROID)
target_link_libraries(alligator PRIVATE
KF5::Kirigami2
Qt5::Svg
)
kirigami_package_breeze_icons(ICONS
bookmark-remove
bookmark-new
delete
settings-configure
help-about
list-add
2020-04-21 23:27:15 +02:00
)
else()
target_link_libraries(alligator PRIVATE Qt5::Widgets)
endif()
2020-02-28 23:25:08 +01:00
install(TARGETS alligator ${KF5_INSTALL_TARGETS_DEFAULT_ARGS})