aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/build_info/build_info_static.cpp
blob: 4f99f7ed3c3f5ca81545dca4600a558223787025 (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 
}