Little improve system.build_options

This commit is contained in:
proller 2017-01-26 16:03:03 +03:00 committed by proller
parent 987e8833b5
commit a270e9a65f

View File

@ -5,18 +5,20 @@
#include <utility>
#include <array>
const std::array<std::pair<const char *, const char *>, 16> auto_config_build { {
const std::array<const std::pair<const char *, const char *>, 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@"},