blob: f8cfe39fe30190f2d562c2335e71047e77a149c2 [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',
6 'MctpRequester.cpp',
7 'OcpMctpVdm.cpp',
8)
Harshit Aghera2c024682025-04-21 19:09:02 +05309
10gpusensor_include_dir = include_directories('.', is_system: true)
11sensor_include_dir = include_directories('../..')
12
13executable(
14 'gpusensor',
15 gpusensor_sources,
16 implicit_include_directories: false,
17 include_directories: [gpusensor_include_dir, sensor_include_dir],
18 dependencies: [thresholds_dep, utils_dep],
19 install: true,
20)
Harshit Agheraa3f24f42025-04-21 20:04:56 +053021
22if get_option('tests').enabled()
23 subdir('tests')
24endif