mirror of
https://github.com/SOCI/soci.git
synced 2026-02-13 17:18:35 -06:00
Output SOCI version and build type information at the end
Version is probably not very useful, but it is important to see at a glance if SOCI is to be built as static or shared library. Also move the status message about enabled backends to the end as well to make it easier to find and appear even when re-configuring in the same directory without any changes.
This commit is contained in:
@@ -130,3 +130,7 @@ install(
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/soci-config-version.cmake"
|
||||
DESTINATION "${SOCI_INSTALL_CMAKEDIR}"
|
||||
)
|
||||
|
||||
# Final status
|
||||
message(STATUS "SOCI ${SOCI_VERSION} will be built as ${SOCI_LIB_TYPE} library.")
|
||||
message(STATUS "Enabled SOCI backends are: ${SOCI_ENABLED_BACKENDS}")
|
||||
|
||||
@@ -87,5 +87,3 @@ foreach(CURRENT_BACKEND IN LISTS SOCI_EXISTING_BACKENDS)
|
||||
endforeach()
|
||||
|
||||
set(SOCI_ENABLED_BACKENDS "${ENABLED_BACKENDS}" CACHE INTERNAL "" FORCE)
|
||||
message(STATUS "Enabled SOCI backends are: ${ENABLED_BACKENDS}")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user