Skip to content

Commit c21024d

Browse files
Log versioning and library names druing cmake build step (#3254)
### Description of changes: Log versioning and library names during cmake build step. Improves insights on build fleets and other places where one cannot consume the source code but only logs. By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and the ISC license.
1 parent c025a91 commit c21024d

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

CMakeLists.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,13 @@ include(sources.cmake)
4949
include(TestBigEndian)
5050
include(CheckCCompilerFlag)
5151

52+
message(STATUS "Versioning name:${SOFTWARE_NAME} version:${SOFTWARE_VERSION} abi:${ABI_VERSION}")
53+
if(BUILD_LIBSSL)
54+
message(STATUS "Libraries crypto:${CRYPTO_LIB_NAME} ssl:${SSL_LIB_NAME}")
55+
else()
56+
message(STATUS "Libraries crypto:${CRYPTO_LIB_NAME}")
57+
endif()
58+
5259
macro(add_flag_if_supported VARIABLE FLAG)
5360
# Create a safe, unique variable name to cache the result of the check
5461
string(MAKE_C_IDENTIFIER "HAVE_C_FLAG_${FLAG}" _CHECK_VAR_NAME)

0 commit comments

Comments
 (0)