mdbx-build: minor fix build-info & options.

Change-Id: I72020c99a081845a155d7fda2ff30b7907124760
This commit is contained in:
Leonid Yuriev 2019-09-27 11:32:39 +03:00
parent 20447c877d
commit e41369fbc6
3 changed files with 3 additions and 6 deletions

View File

@ -128,7 +128,7 @@ else()
list(APPEND MDBX_BUILD_FLAGS ${CMAKE_C_DEFINES_${CMAKE_BUILD_TYPE_UPPERCASE}})
endif()
list(REMOVE_DUPLICATES MDBX_BUILD_FLAGS)
string(REPLACE ";" "" MDBX_BUILD_FLAGS "${MDBX_BUILD_FLAGS}")
string(REPLACE ";" " " MDBX_BUILD_FLAGS "${MDBX_BUILD_FLAGS}")
add_definitions(-DMDBX_BUILD_FLAGS="${MDBX_BUILD_FLAGS}")
# shared library

View File

@ -153,7 +153,7 @@ if(options_list)
endif()
list(REMOVE_DUPLICATES MDBX_BUILD_FLAGS)
string(REPLACE ";" "" MDBX_BUILD_FLAGS "${MDBX_BUILD_FLAGS}")
string(REPLACE ";" " " MDBX_BUILD_FLAGS "${MDBX_BUILD_FLAGS}")
if(CMAKE_CONFIGURATION_TYPES)
# add dynamic part via per-configuration define
message(STATUS "MDBX Compile Flags: ${MDBX_BUILD_FLAGS} <AND CONFIGURATION DEPENDENT>")
@ -189,7 +189,7 @@ endif()
if(CMAKE_CONFIGURATION_TYPES)
add_definitions(-DMDBX_BUILD_CONFIG="$<CONFIG>")
else()
add_definitions(-DMDBX_BUILD_CONFIG="${CMAKE_BUILD_TYPE}")
set(MDBX_BUILD_CONFIG ${CMAKE_BUILD_TYPE})
endif()
# options

View File

@ -15287,9 +15287,6 @@ __dll_export
#endif /* MDBX_BUILD_CONFIG */
,
"MDBX_DEBUG=" STRINGIFY(MDBX_DEBUG)
#ifdef MDBX_CONFIG_H
" MDBX_CONFIG_H=" STRINGIFY(MDBX_CONFIG_H)
#endif /* MDBX_CONFIG_H */
" MDBX_WORDBITS=" STRINGIFY(MDBX_WORDBITS)
" BYTE_ORDER="
#if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__