kasts/src/CMakeLists.txt

52 lines
1.2 KiB
CMake
Raw Normal View History

2020-10-22 14:41:30 +02:00
add_executable(alligator
2020-02-28 23:25:08 +01:00
main.cpp
2020-10-09 13:47:35 +02:00
feedsmodel.cpp
entriesmodel.cpp
2020-02-28 23:25:08 +01:00
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
2021-02-21 19:54:10 +01:00
enclosure.cpp
enclosuredownloadjob.cpp
2021-03-26 16:26:19 +01:00
queuemodel.cpp
2021-04-02 17:06:27 +02:00
datamanager.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-10-22 14:41:30 +02:00
kconfig_add_kcfg_files(alligator alligatorsettings.kcfgc GENERATE_MOC)
2020-03-26 14:16:19 +01:00
2020-10-22 14:41:30 +02:00
target_include_directories(alligator PRIVATE ${CMAKE_BINARY_DIR})
2021-02-21 19:54:10 +01:00
target_link_libraries(alligator PRIVATE Qt5::Core Qt5::Qml Qt5::Quick Qt5::QuickControls2 Qt5::Sql Qt5::Multimedia 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
help-about-symbolic
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
data-error
2020-07-29 22:10:39 +02:00
rss
2020-09-19 16:57:29 +02:00
document-import
document-export
2021-02-21 19:54:10 +01:00
edit-delete-remove
download
2020-04-21 23:27:15 +02:00
)
else()
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})