diff options
Diffstat (limited to 'lib/bookmarks')
-rw-r--r-- | lib/bookmarks/CMakeLists.txt | 6 | ||||
-rw-r--r-- | lib/bookmarks/meson.build | 16 |
2 files changed, 6 insertions, 16 deletions
diff --git a/lib/bookmarks/CMakeLists.txt b/lib/bookmarks/CMakeLists.txt new file mode 100644 index 0000000..50c2942 --- /dev/null +++ b/lib/bookmarks/CMakeLists.txt @@ -0,0 +1,6 @@ +add_library(bookmarks STATIC + bookmarkmodel.h + bookmarkformat.cpp bookmarkitem.cpp bookmarkmodel.cpp + formats/xbel.cpp formats/ffjson.cpp) +target_link_libraries(bookmarks PUBLIC Qt5::Widgets) +target_include_directories(bookmarks PUBLIC .) diff --git a/lib/bookmarks/meson.build b/lib/bookmarks/meson.build deleted file mode 100644 index 81c1ece..0000000 --- a/lib/bookmarks/meson.build +++ /dev/null @@ -1,16 +0,0 @@ -bookmarks_moc = mod_qt5.preprocess( - moc_headers: [ 'bookmarkmodel.h' ], - dependencies: dep_qt5 -) - -bookmarks_lib = static_library('bookmarks', - [ bookmarks_moc, - 'bookmarkformat.cpp', 'formats/xbel.cpp', 'formats/ffjson.cpp', - 'bookmarkitem.cpp', 'bookmarkmodel.cpp' ], - dependencies: dep_qt5 -) - -dep_bookmarks = declare_dependency( - include_directories: include_directories('.'), - link_with: bookmarks_lib -) |