blob: 1ec72c4897bb814ad12f4ee397e98ddf0741d489 [file] [log] [blame]
gpusensor_sources = files(
'GpuMctpVdm.cpp',
'GpuSensor.cpp',
'GpuSensorMain.cpp',
'MctpRequester.cpp',
'OcpMctpVdm.cpp',
)
gpusensor_include_dir = include_directories('.', is_system: true)
sensor_include_dir = include_directories('../..')
executable(
'gpusensor',
gpusensor_sources,
implicit_include_directories: false,
include_directories: [gpusensor_include_dir, sensor_include_dir],
dependencies: [thresholds_dep, utils_dep],
install: true,
)
if get_option('tests').enabled()
subdir('tests')
endif