blob: 8c477adaf9b4b8d5e43ce2af3799156c02899126 [file] [log] [blame]
phosphor_logging_gen += custom_target(
'elog-errors.hpp'.underscorify(),
input: [elog_gen, template_elog_gen],
output: 'elog-errors.hpp',
command: [
python_prog, '@INPUT0@',
'-t', '',
'-m', '@INPUT1@',
'-y', yamldir,
'-u', tool_dir + '/',
'-o', '@OUTPUT0@',
],
install: true,
install_dir: get_option('includedir') / 'phosphor-logging',
)
install_headers(
'elog.hpp',
'lg2.hpp',
'log.hpp',
'sdjournal.hpp',
subdir: 'phosphor-logging',
)
install_headers(
'lg2/concepts.hpp',
'lg2/conversion.hpp',
'lg2/flags.hpp',
'lg2/header.hpp',
'lg2/level.hpp',
'lg2/logger.hpp',
'lg2/source_location.hpp',
subdir: 'phosphor-logging/lg2',
)
install_headers(
'test/sdjournal_mock.hpp',
subdir: 'phosphor-logging/test',
)