aboutsummaryrefslogtreecommitdiff
path: root/lib/about/meson.build
blob: 961c7efbb7ab2a498f962c5cc3ba88d5bb57e5a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
about_moc = qt5.preprocess(
    moc_headers: ['aboutdialog.h', 'aboutplugin.h'],
    ui_files: ['aboutdialog.ui', 'aboutplugin.ui'],
    dependencies: dep_qt5
)

about_inc = include_directories('.')
about_lib = static_library('about', ['aboutdialog.cpp', 'aboutplugin.cpp', about_moc],
    dependencies: [dep_qt5, dep_genheaders]
)

dep_about = declare_dependency(
    include_directories: about_inc,
    link_with: about_lib,
    sources: ['aboutdialog.cpp', about_moc]
)