Zane Shelley | e46e425 | 2022-12-05 17:12:44 -0600 | [diff] [blame] | 1 | #pragma once |
2 | |||||
3 | #include <buildinfo.hpp> | ||||
4 | |||||
5 | // TODO: It would be preferred that this function exist in buildinfo.hpp. | ||||
6 | // However, due to meson limitations, we were not able to figure out how | ||||
7 | // to install that auto-generated header so it could be available to | ||||
8 | // the user applications. | ||||
9 | |||||
10 | namespace libhei | ||||
11 | { | ||||
12 | |||||
13 | inline const char* getBuildInfo() | ||||
14 | { | ||||
15 | return BUILDINFO; | ||||
16 | } | ||||
17 | |||||
18 | } // end namespace libhei |