From c2d18d73b0e1a74525ec0cda36a2e2e7e5b4ff4c Mon Sep 17 00:00:00 2001 From: aqua Date: Sun, 14 Aug 2022 18:47:37 +0300 Subject: Import BookmarkModel from poi --- src/bookmarks/CMakeLists.txt | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 src/bookmarks/CMakeLists.txt (limited to 'src/bookmarks/CMakeLists.txt') diff --git a/src/bookmarks/CMakeLists.txt b/src/bookmarks/CMakeLists.txt new file mode 100644 index 00000000..517aa2f6 --- /dev/null +++ b/src/bookmarks/CMakeLists.txt @@ -0,0 +1,22 @@ +add_library(bookmarks STATIC +# bookmarkmanager.cpp bookmarkmanager.h +# bookmarkowner.cpp bookmarkowner.h +# bookmarkscontextmenu.cpp bookmarkscontextmenu.h +# bookmarksmenu.cpp bookmarksmenu.h +# bookmarkstoolbar.cpp bookmarkstoolbar.h + # Bookmarks Model + bookmarkstreeitem.cpp bookmarkstreeitem.hpp + bookmarkstreemodel.cpp bookmarkstreemodel.hpp + bookmarkstreeformats.hpp + bookmarkstreeformat_xbel_read.cpp bookmarkstreeformat_xbel_write.cpp + # Bookmark Manager + bookmarkmanager.cpp bookmarkmanager.hpp +) +target_include_directories(bookmarks PUBLIC ${CMAKE_SOURCE_DIR}/src) +target_link_libraries(bookmarks PUBLIC Qt6::Core Qt6::Widgets) + +if(TESTING) + add_executable(xbel test/xbel.cpp) + target_link_libraries(xbel GTest::gtest GTest::gtest_main bookmarks) + gtest_discover_tests(xbel) +endif() -- cgit v1.2.1