diff options
Diffstat (limited to 'lib/downloads')
-rw-r--r-- | lib/downloads/CMakeLists.txt | 6 | ||||
-rw-r--r-- | lib/downloads/meson.build | 19 |
2 files changed, 6 insertions, 19 deletions
diff --git a/lib/downloads/CMakeLists.txt b/lib/downloads/CMakeLists.txt new file mode 100644 index 0000000..984d332 --- /dev/null +++ b/lib/downloads/CMakeLists.txt @@ -0,0 +1,6 @@ +add_library(downloads + downloadswidget.h downloadswidget.cpp downloadsform.ui + widgets/downloaditemwidget.h widgets/downloaditemwidget.cpp widgets/downloaditemform.ui + widgets/elidedlabel.h widgets/elidedlabel.cpp) +target_link_libraries(downloads PUBLIC Qt5::WebEngineWidgets) +target_include_directories(downloads PUBLIC .) diff --git a/lib/downloads/meson.build b/lib/downloads/meson.build deleted file mode 100644 index 9b86391..0000000 --- a/lib/downloads/meson.build +++ /dev/null @@ -1,19 +0,0 @@ -downloads_inc = include_directories('.') -downloads_moc = mod_qt5.preprocess( - moc_headers: ['downloadswidget.h', 'widgets/downloaditemwidget.h', 'widgets/elidedlabel.h'], - ui_files: ['downloadsform.ui', 'widgets/downloaditemform.ui'], - dependencies: dep_qt5 -) - -downloads_lib = static_library('downloads', - ['downloadswidget.cpp', downloads_moc, - 'widgets/downloaditemwidget.cpp', 'widgets/elidedlabel.cpp'], - dependencies: dep_qt5 -) - -dep_downloads = declare_dependency( - include_directories: downloads_inc, - link_with: downloads_lib, - sources: ['downloadswidget.cpp', downloads_moc, - 'widgets/downloaditemwidget.cpp', 'widgets/elidedlabel.cpp'] -) |