blob: 923427669597a2bad1b1b8ed21551a3520b3657c [file] [log] [blame]
William A. Kennington III15658972019-03-27 19:44:36 -07001gpioplus = library(
2 'gpioplus',
3 [
4 'gpioplus/chip.cpp',
5 'gpioplus/event.cpp',
6 'gpioplus/handle.cpp',
7 'gpioplus/internal/fd.cpp',
8 'gpioplus/internal/sys.cpp',
9 ],
10 include_directories: includes,
11 implicit_include_directories: false,
12 version: meson.project_version(),
13 install: true)
14
15import('pkgconfig').generate(
16 name: 'gpioplus',
17 description: 'C++ systemd event wrapper',
18 version: meson.project_version(),
William A. Kennington III9dd00de2019-04-01 17:23:25 -070019 libraries: gpioplus)
William A. Kennington III15658972019-03-27 19:44:36 -070020
21install_headers(
22 'gpioplus/chip.hpp',
23 'gpioplus/event.hpp',
24 'gpioplus/handle.hpp',
25 subdir: 'gpioplus')
26
27install_headers(
28 'gpioplus/internal/fd.hpp',
29 'gpioplus/internal/sys.hpp',
30 subdir: 'gpioplus/internal')
31
32install_headers(
33 'gpioplus/test/event.hpp',
34 'gpioplus/test/handle.hpp',
35 'gpioplus/test/sys.hpp',
36 subdir: 'gpioplus/test')
37
38install_headers(
39 'gpioplus/utility/aspeed.hpp',
40 subdir: 'gpioplus/utility')