aboutsummaryrefslogtreecommitdiff
path: root/lib/bookmarks/meson.build
blob: faaa154d077253a361ca121cad74693f93eef2af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
bookmarks_inc = include_directories('.')
bookmarks_moc = qt5.preprocess(
    moc_headers: ['bookmarkswidget.h', 'model/bookmarkitem.h', 'model/bookmarkmodel.h', 'forms/editbookmarkdialog.h'],
    ui_files: ['bookmarksform.ui', 'forms/editbookmarkdialog.ui'],
    dependencies: dep_qt5
)

bookmarks_lib = static_library('bookmarks', 
    ['bookmarkswidget.cpp', bookmarks_moc,
    'xbel.cpp', 'xbel.h',
    'model/bookmarkitem.cpp', 'model/bookmarkmodel.cpp',
    'forms/editbookmarkdialog.cpp'],
    dependencies: dep_qt5
)

dep_bookmarks = declare_dependency(
    include_directories: bookmarks_inc,
    link_with: bookmarks_lib,
    sources: ['bookmarkswidget.cpp', bookmarks_moc,
    'xbel.cpp', 'xbel.h',
    'model/bookmarkitem.cpp', 'model/bookmarkmodel.cpp',
    'forms/editbookmarkdialog.cpp']
)