blob: b652f081651719ec7e39de7b2101a9a1770af140 [file] [log] [blame]
phosphor_regulators_include_directories = include_directories(
'.',
'actions'
)
phosphor_regulators_library_source_files = [
'id_map.cpp',
'pmbus_utils.cpp',
'actions/if_action.cpp',
'actions/i2c_compare_bit_action.cpp',
'actions/i2c_compare_byte_action.cpp',
'actions/i2c_compare_bytes_action.cpp',
'actions/i2c_write_bit_action.cpp',
'actions/i2c_write_byte_action.cpp',
'actions/i2c_write_bytes_action.cpp',
'actions/pmbus_write_vout_command_action.cpp'
]
phosphor_regulators_library = static_library(
'phosphor-regulators',
phosphor_regulators_library_source_files,
implicit_include_directories: false,
include_directories: [
phosphor_regulators_include_directories,
libi2c_inc
]
)
phosphor_regulators = executable(
'phosphor-regulators',
'main.cpp',
dependencies: [
sdbusplus,
sdeventplus,
libi2c_dep
],
link_with: phosphor_regulators_library,
implicit_include_directories: false,
include_directories: phosphor_regulators_include_directories,
install: true
)