From a270e9a65f72a7ceeb580ec649d18376b262e7ba Mon Sep 17 00:00:00 2001 From: proller Date: Thu, 26 Jan 2017 16:03:03 +0300 Subject: [PATCH] Little improve system.build_options --- libs/libcommon/include/common/config_build.h.in | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/libs/libcommon/include/common/config_build.h.in b/libs/libcommon/include/common/config_build.h.in index de3d2d5ed76..1ec30b149be 100644 --- a/libs/libcommon/include/common/config_build.h.in +++ b/libs/libcommon/include/common/config_build.h.in @@ -5,18 +5,20 @@ #include #include -const std::array, 16> auto_config_build { { +const std::array, 18> auto_config_build { { + {"VERSION_FULL", "@VERSION_FULL@"}, + {"VERSION_DESCRIBE", "@VERSION_DESCRIBE@"}, {"BUILD_DATE", "@BUILD_DATE@"}, - {"CMAKE_VERSION", "@CMAKE_VERSION@"}, + {"BUILD_TYPE", "@CMAKE_BUILD_TYPE@"}, {"SYSTEM_NAME", "@CMAKE_SYSTEM_NAME@"}, {"SYSTEM_VERSION", "@CMAKE_SYSTEM_VERSION@"}, - {"BUILD_TYPE", "@CMAKE_BUILD_TYPE@"}, {"SYSTEM_PROCESSOR", "@CMAKE_SYSTEM_PROCESSOR@"}, {"LIBRARY_ARCHITECTURE", "@CMAKE_LIBRARY_ARCHITECTURE@"}, + {"CMAKE_VERSION", "@CMAKE_VERSION@"}, {"C_COMPILER", "@CMAKE_C_COMPILER@"}, - {"C_COMPILE_FEATURES", "@CMAKE_C_COMPILE_FEATURES@"}, + {"C_COMPILER_VERSION", "@CMAKE_C_COMPILER_VERSION@"}, {"CXX_COMPILER", "@CMAKE_CXX_COMPILER@"}, - {"CXX_COMPILE_FEATURES", "@CMAKE_CXX_COMPILE_FEATURES@"}, + {"CXX_COMPILER_VERSION", "@CMAKE_CXX_COMPILER_VERSION@"}, {"C_FLAGS", "@FULL_C_FLAGS@"}, {"CXX_FLAGS", "@FULL_CXX_FLAGS@"}, {"LINK_FLAGS", "@CMAKE_EXE_LINKER_FLAGS@"},