diff --git a/scripts/query_version_info.py b/scripts/query_version_info.py index 2fafd972a0fe2ffd1a9ef2a5f16ebac409c3784f..f3dd3c1197d26d1dff5695e4ed4f5836986c601d 100644 --- a/scripts/query_version_info.py +++ b/scripts/query_version_info.py @@ -183,6 +183,7 @@ def cmake_version_info(): output += "-DGIT_BRANCH=\"{}\";".format(version_name["branch"]) output += "-DGIT_HASH=\"{}\";".format(version_name["hash"]) output += "-DGIT_TIMESTAMP=\"{}\";".format(timestamp) + return output def source_file_name(prefix: str, suffix: str): diff --git a/src/app/CMakeLists.txt b/src/app/CMakeLists.txt index 5b014848f7caec01739b5c4c2265322349a4e70f..dd96c876c0e4cc476cc8d813389fa060dbeeabc2 100644 --- a/src/app/CMakeLists.txt +++ b/src/app/CMakeLists.txt @@ -29,6 +29,7 @@ else() OUTPUT_VARIABLE VERSION_DEFINITIONS ) add_definitions(${VERSION_DEFINITIONS}) + message(STATUS "Queried version info from git: ${VERSION_DEFINITIONS}") endif() #if(NOT APPLE)