From 41c239bd0b81e48522bf26fd6c74e666bf9eff2d Mon Sep 17 00:00:00 2001 From: Ganesh Murthy Date: Mon, 30 Oct 2023 15:41:06 -0400 Subject: [PATCH] Adding some status messages in CMakeLists.txt --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index b74953b19..bf0708b18 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -151,11 +151,14 @@ if(NOT DEFINED VERSION) # You might sometimes get a fatal error when running the above command (when this is not a git repo). # GIT_RESULT will contain the result of last child process. It will be zero if successful. if (GIT_RESULT EQUAL 0) + message(STATUS "DEFAULT_VERSION is ${DEFAULT_VERSION}") # Git succeeded, we will use the DEFAULT_VERSION as the QPID_DISPATCH_VERSION if (${DEFAULT_VERSION} MATCHES "^[0-9]+\.[0-9]+\.[0-9]+.*") + message(STATUS "Setting VERSION as ${DEFAULT_VERSION}") set(QPID_DISPATCH_VERSION ${DEFAULT_VERSION}) else() set(QPID_DISPATCH_VERSION "0.0.0") + message(STATUS "Setting VERSION as ${QPID_DISPATCH_VERSION}") endif() else() # The git command failed, set QPID_DISPATCH_VERSION to "0.0.0"