Skip to content
Snippets Groups Projects
Commit bce3f7ba authored by Jan Möbius's avatar Jan Möbius
Browse files

Merge branch 'VERSION_file_removal' into 'master'

Migrate away from old version setting to project version

See merge request !3
parents 05efd852 a1db3c94
Branches
No related tags found
1 merge request!3Migrate away from old version setting to project version
Pipeline #16522 failed
......@@ -23,7 +23,11 @@ endfunction ()
# info header
function (vci_print_configure_header _id _name)
vci_format_string ("${_name}" 40 _project)
if ( ${_id}_VERSION )
vci_format_string ("${${_id}_VERSION}" 40 _version)
else()
vci_format_string ("${PROJECT_VERSION}" 40 _version)
endif()
vci_color_message ("\n${_escape}[40;37m************************************************************${_escape}[0m")
vci_color_message ("${_escape}[40;37m* ${_escape}[1;31mVCI ${_escape}[0;40;34mBuildsystem${_escape}[0m${_escape}[40;37m *${_escape}[0m")
vci_color_message ("${_escape}[40;37m* *${_escape}[0m")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment