William A. Kennington III | 1565897 | 2019-03-27 19:44:36 -0700 | [diff] [blame] | 1 | gpioplus = 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 | |
| 15 | import('pkgconfig').generate( |
| 16 | name: 'gpioplus', |
| 17 | description: 'C++ systemd event wrapper', |
| 18 | version: meson.project_version(), |
William A. Kennington III | 9dd00de | 2019-04-01 17:23:25 -0700 | [diff] [blame^] | 19 | libraries: gpioplus) |
William A. Kennington III | 1565897 | 2019-03-27 19:44:36 -0700 | [diff] [blame] | 20 | |
| 21 | install_headers( |
| 22 | 'gpioplus/chip.hpp', |
| 23 | 'gpioplus/event.hpp', |
| 24 | 'gpioplus/handle.hpp', |
| 25 | subdir: 'gpioplus') |
| 26 | |
| 27 | install_headers( |
| 28 | 'gpioplus/internal/fd.hpp', |
| 29 | 'gpioplus/internal/sys.hpp', |
| 30 | subdir: 'gpioplus/internal') |
| 31 | |
| 32 | install_headers( |
| 33 | 'gpioplus/test/event.hpp', |
| 34 | 'gpioplus/test/handle.hpp', |
| 35 | 'gpioplus/test/sys.hpp', |
| 36 | subdir: 'gpioplus/test') |
| 37 | |
| 38 | install_headers( |
| 39 | 'gpioplus/utility/aspeed.hpp', |
| 40 | subdir: 'gpioplus/utility') |