summaryrefslogtreecommitdiffstats
path: root/weather/meson.build
blob: bb6e3aa55687209438a08b1feb02eef73740bb02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
qt_dep = dependency('qt6', modules: ['Qml'])

moc_files = qt.compile_moc(headers: 'weather.h',
                            dependencies: qt_dep)

src = ['weather.cpp', moc_files]
lib = shared_library('qtappfw-weather',
                     sources: src,
                     version: '1.0.0',
                     soversion: '0',
                     dependencies: qt_dep,
                     install: true)

install_headers('weather.h')

pkg_mod = import('pkgconfig')
pkg_mod.generate(libraries : lib,
                 version : '1.0',
                 name : 'libqtappfw-weather',
                 filebase : 'qtappfw-weather',
                 requires: 'Qt6Qml',
                 description : 'Library wrapping AGL weather API in Qt objects')