blob: 433709572e01beb90fd09275777b3ace22763672 [file] [log] [blame]
Shawn McCarney623f5a82019-11-03 08:55:40 -06001phosphor_regulators_include_directories = include_directories(
2 '.',
3 'actions'
4)
Shawn McCarney494ef032019-11-07 15:56:50 -06005
Shawn McCarney4c94bc72019-12-13 17:49:31 -06006phosphor_regulators_library_source_files = [
Shawn McCarney6d597732019-11-13 17:40:07 -06007 'id_map.cpp',
8
9 'actions/if_action.cpp'
Shawn McCarney494ef032019-11-07 15:56:50 -060010]
11
12phosphor_regulators_library = static_library(
13 'phosphor-regulators',
Shawn McCarney4c94bc72019-12-13 17:49:31 -060014 phosphor_regulators_library_source_files,
Shawn McCarney494ef032019-11-07 15:56:50 -060015 implicit_include_directories: false,
16 include_directories: phosphor_regulators_include_directories
17)
Shawn McCarney4c94bc72019-12-13 17:49:31 -060018
19phosphor_regulators = executable(
20 'phosphor-regulators',
21 'main.cpp',
22 dependencies: [
23 sdbusplus,
24 sdeventplus,
25 libi2c_dep
26 ],
27 link_with: phosphor_regulators_library,
28 implicit_include_directories: false,
29 include_directories: phosphor_regulators_include_directories,
30 install: true
31)