Harshit Aghera | a3f24f4 | 2025-04-21 20:04:56 +0530 | [diff] [blame] | 1 | gpusensor_sources = files( |
Harshit Aghera | 11b9c1a | 2025-04-29 17:34:25 +0530 | [diff] [blame^] | 2 | 'GpuDevice.cpp', |
Harshit Aghera | a3f24f4 | 2025-04-21 20:04:56 +0530 | [diff] [blame] | 3 | 'GpuMctpVdm.cpp', |
| 4 | 'GpuSensor.cpp', |
| 5 | 'GpuSensorMain.cpp', |
| 6 | 'MctpRequester.cpp', |
| 7 | 'OcpMctpVdm.cpp', |
| 8 | ) |
Harshit Aghera | 2c02468 | 2025-04-21 19:09:02 +0530 | [diff] [blame] | 9 | |
| 10 | gpusensor_include_dir = include_directories('.', is_system: true) |
| 11 | sensor_include_dir = include_directories('../..') |
| 12 | |
| 13 | executable( |
| 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 Aghera | a3f24f4 | 2025-04-21 20:04:56 +0530 | [diff] [blame] | 21 | |
| 22 | if get_option('tests').enabled() |
| 23 | subdir('tests') |
| 24 | endif |