1phosphor_regulators_include_directories = include_directories( 2 '.', 3 'actions' 4) 5 6phosphor_regulators_library_source_files = [ 7 'id_map.cpp', 8 9 'actions/if_action.cpp', 10 'actions/i2c_compare_bit_action.cpp', 11 'actions/i2c_compare_byte_action.cpp' 12] 13 14phosphor_regulators_library = static_library( 15 'phosphor-regulators', 16 phosphor_regulators_library_source_files, 17 implicit_include_directories: false, 18 include_directories: [ 19 phosphor_regulators_include_directories, 20 libi2c_inc 21 ] 22) 23 24phosphor_regulators = executable( 25 'phosphor-regulators', 26 'main.cpp', 27 dependencies: [ 28 sdbusplus, 29 sdeventplus, 30 libi2c_dep 31 ], 32 link_with: phosphor_regulators_library, 33 implicit_include_directories: false, 34 include_directories: phosphor_regulators_include_directories, 35 install: true 36) 37