William A. Kennington III | e053884 | 2021-06-11 02:01:58 -0700 | [diff] [blame] | 1 | phosphor_logging_gen += custom_target( |
| 2 | 'elog-errors.hpp'.underscorify(), |
| 3 | input: [elog_gen, template_elog_gen], |
| 4 | output: 'elog-errors.hpp', |
| 5 | command: [ |
| 6 | python_prog, '@INPUT0@', |
| 7 | '-t', '', |
| 8 | '-m', '@INPUT1@', |
| 9 | '-y', yamldir, |
| 10 | '-u', tool_dir + '/', |
| 11 | '-o', '@OUTPUT0@', |
| 12 | ], |
| 13 | install: true, |
| 14 | install_dir: get_option('includedir') / 'phosphor-logging', |
| 15 | ) |
| 16 | |
| 17 | install_headers( |
| 18 | 'elog.hpp', |
Patrick Williams | b2a3aa2 | 2021-07-27 13:30:52 -0500 | [diff] [blame] | 19 | 'lg2.hpp', |
William A. Kennington III | e053884 | 2021-06-11 02:01:58 -0700 | [diff] [blame] | 20 | 'log.hpp', |
| 21 | 'sdjournal.hpp', |
| 22 | subdir: 'phosphor-logging', |
| 23 | ) |
| 24 | |
| 25 | install_headers( |
Patrick Williams | b2a3aa2 | 2021-07-27 13:30:52 -0500 | [diff] [blame] | 26 | 'lg2/concepts.hpp', |
| 27 | 'lg2/conversion.hpp', |
| 28 | 'lg2/flags.hpp', |
Patrick Williams | cbdc283 | 2021-08-02 16:31:04 -0500 | [diff] [blame] | 29 | 'lg2/header.hpp', |
Patrick Williams | b2a3aa2 | 2021-07-27 13:30:52 -0500 | [diff] [blame] | 30 | 'lg2/level.hpp', |
| 31 | 'lg2/logger.hpp', |
Patrick Williams | a91a62b | 2021-08-28 14:17:55 -0500 | [diff] [blame] | 32 | 'lg2/source_location.hpp', |
Patrick Williams | b2a3aa2 | 2021-07-27 13:30:52 -0500 | [diff] [blame] | 33 | subdir: 'phosphor-logging/lg2', |
| 34 | ) |
| 35 | |
| 36 | install_headers( |
William A. Kennington III | e053884 | 2021-06-11 02:01:58 -0700 | [diff] [blame] | 37 | 'test/sdjournal_mock.hpp', |
| 38 | subdir: 'phosphor-logging/test', |
| 39 | ) |