blob: af25aaee014a1535169d4fd18289c2acade6e157 [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(
'commit.hpp',
'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',
subdir: 'phosphor-logging/lg2',
)
install_headers('test/sdjournal_mock.hpp', subdir: 'phosphor-logging/test')