Extend version handling and class #601

Merged
muellerr merged 36 commits from eive/fsfw:mueller/extend-version-class into development 2022-05-16 14:52:15 +02:00
1 changed files with 2 additions and 1 deletions
Showing only changes of commit 750369b0a6 - Show all commits

View File

@ -48,7 +48,8 @@ project(${LIB_FSFW_NAME})
add_library(${LIB_FSFW_NAME})
# Version handling
if(EXISTS .git)
if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/.git)
message(STATUS "${MSG_PREFIX} Determining version information with git")
include(helpers)
determine_version_with_git("--exclude" "docker_*")
set(FSFW_GIT_INFO ${GIT_INFO} CACHE STRING "Version information retrieved with git describe")