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-05-26 16:32:07 +02:00
|
|
|
entry.cpp
|
|
|
|
feed.cpp
|
|
|
|
author.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-06-03 17:39:56 +02:00
|
|
|
target_link_libraries(alligator PRIVATE Qt5::Core Qt5::Qml Qt5::Quick Qt5::Sql KF5::Syndication KF5::CoreAddons KF5::ConfigGui KF5::I18n)
|
2020-04-21 23:27:15 +02:00
|
|
|
|
|
|
|
if(ANDROID)
|
|
|
|
target_link_libraries(alligator PRIVATE
|
|
|
|
KF5::Kirigami2
|
|
|
|
Qt5::Svg
|
2020-04-28 21:32:24 +02:00
|
|
|
OpenSSL::SSL
|
2020-04-21 23:27:15 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
kirigami_package_breeze_icons(ICONS
|
|
|
|
bookmark-remove
|
|
|
|
bookmark-new
|
|
|
|
delete
|
|
|
|
settings-configure
|
2020-05-10 16:22:04 +02:00
|
|
|
help-about-symbolic
|
2020-04-23 23:03:47 +02:00
|
|
|
list-add
|
2020-04-28 22:02:31 +02:00
|
|
|
view-refresh
|
2020-05-31 18:50:16 +02:00
|
|
|
alligator
|
2020-05-31 21:49:30 +02:00
|
|
|
mail-sent
|
|
|
|
globe
|
2020-04-21 23:27:15 +02:00
|
|
|
)
|
|
|
|
else()
|
2020-06-03 17:39:56 +02:00
|
|
|
target_link_libraries(alligator PRIVATE Qt5::Widgets)
|
2020-04-21 23:27:15 +02:00
|
|
|
endif()
|
2020-02-28 23:25:08 +01:00
|
|
|
|
|
|
|
install(TARGETS alligator ${KF5_INSTALL_TARGETS_DEFAULT_ARGS})
|