30# define ONIXS_ICEBOE_COMPILER_INFO ("clang " __clang_version__ ", std=" ONIXS_ICEBOE_TO_STR(__cplusplus))
31#elif defined(_MSC_VER)
32# if defined(_MSVC_LANG)
33# define ONIXS_ICEBOE_COMPILER_STD ONIXS_ICEBOE_TO_STR(_MSVC_LANG)
35# define ONIXS_ICEBOE_COMPILER_STD ONIXS_ICEBOE_TO_STR(__cplusplus)
37# define ONIXS_ICEBOE_COMPILER_INFO ("msvc _MSC_VER=" ONIXS_ICEBOE_TO_STR(_MSC_VER) ", std=" ONIXS_ICEBOE_COMPILER_STD)
38#elif defined(__GNUC__)
39# define ONIXS_ICEBOE_COMPILER_INFO ("gcc " __VERSION__ ", std=" ONIXS_ICEBOE_TO_STR(__cplusplus))
41# define ONIXS_ICEBOE_COMPILER_INFO ("Unknown")
44#if defined(ONIXS_ICEBOE_DEBUG_BUILD)
46# define ONIXS_ICEBOE_DEBUG (ONIXS_ICEBOE_DEBUG_BUILD)
49# define ONIXS_ICEBOE_DEBUG 0
51# define ONIXS_ICEBOE_DEBUG 1
83 const char*
const compilerInfo_;
89static inline BuildInfo consumerBuildInfo() noexcept
#define ONIXS_ICEBOE_NAMESPACE_BEGIN
#define ONIXS_ICEBOE_NAMESPACE_END
#define ONIXS_ICEBOE_EXPORTED
bool debug() const noexcept
std::string toString() const
BuildInfo(const char *const compilerInfo, bool debug) noexcept
static BuildInfo library() noexcept
Returns build info for the library binary itself.
const char * compilerInfo() const noexcept