blob: da9a4b9c15e8260fde0c80f93f6d91297865be13 [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 Aghera09f6f2c2025-05-07 16:20:16 +05307 'GpuThresholds.cpp',
Harshit Agheraa3f24f42025-04-21 20:04:56 +05308 'MctpRequester.cpp',
9 'OcpMctpVdm.cpp',
10)
Harshit Aghera2c024682025-04-21 19:09:02 +053011
12gpusensor_include_dir = include_directories('.', is_system: true)
13sensor_include_dir = include_directories('../..')
14
15executable(
16 'gpusensor',
17 gpusensor_sources,
18 implicit_include_directories: false,
19 include_directories: [gpusensor_include_dir, sensor_include_dir],
20 dependencies: [thresholds_dep, utils_dep],
21 install: true,
22)
Harshit Agheraa3f24f42025-04-21 20:04:56 +053023
24if get_option('tests').enabled()
25 subdir('tests')
26endif