blob: c38d2543ed2d679bd60f17b268acddc1e383c8cd [file] [log] [blame]
Harshit Agheraa3f24f42025-04-21 20:04:56 +05301gpusensor_sources = files(
Harshit Aghera11b9c1a2025-04-29 17:34:25 +05302 'GpuDevice.cpp',
Harshit Agheraa3f24f42025-04-21 20:04:56 +05303 'GpuMctpVdm.cpp',
4 'GpuSensor.cpp',
5 'GpuSensorMain.cpp',
Harshit Aghera32e3b2b2025-05-05 12:26:35 +05306 'GpuTLimitSensor.cpp',
Harshit Agheraa3f24f42025-04-21 20:04:56 +05307 'MctpRequester.cpp',
8 'OcpMctpVdm.cpp',
9)
Harshit Aghera2c024682025-04-21 19:09:02 +053010
11gpusensor_include_dir = include_directories('.', is_system: true)
12sensor_include_dir = include_directories('../..')
13
14executable(
15 'gpusensor',
16 gpusensor_sources,
17 implicit_include_directories: false,
18 include_directories: [gpusensor_include_dir, sensor_include_dir],
19 dependencies: [thresholds_dep, utils_dep],
20 install: true,
21)
Harshit Agheraa3f24f42025-04-21 20:04:56 +053022
23if get_option('tests').enabled()
24 subdir('tests')
25endif