blob: 238fb1ecb0f0b45971af20b540d619d67c314819 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#include "build_info_static.h"
#include <library/cpp/build_info/buildinfo_data.h>
extern "C" const char* GetCompilerVersion() {
#if defined(BUILD_COMPILER_VERSION)
return BUILD_COMPILER_VERSION;
#else
return "";
#endif
}
extern "C" const char* GetCompilerFlags() {
#if defined(BUILD_COMPILER_FLAGS)
return BUILD_COMPILER_FLAGS;
#else
return "";
#endif
}
extern "C" const char* GetBuildInfo() {
#if defined(BUILD_INFO)
return BUILD_INFO;
#else
return "";
#endif
}
|