aboutsummaryrefslogtreecommitdiff
path: root/lib/bookmarks/CMakeLists.txt
blob: ebbb035e7d99d2e4e7e3699f29f59b4d21bb8633 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Find includes in corresponding build directories
set(CMAKE_INCLUDE_CURRENT_DIR ON)

# Instruct CMake to run moc automatically when needed.
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTOUIC ON)
set(CMAKE_AUTORCC ON)

add_library(bookmarks
    bookmarksform.ui
    bookmarkswidget.cpp
    bookmarkswidget.h
    # xbel
    xbel.cpp
    xbel.h

    # bookmark item/model/view
    model/bookmarkitem.cpp
    model/bookmarkitem.h
    model/bookmarkmodel.cpp
    model/bookmarkmodel.h

    forms/editbookmarkdialog.cpp
    forms/editbookmarkdialog.h
    forms/editbookmarkdialog.ui
)

target_link_libraries(bookmarks Qt5::Widgets)