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

Migrate away from old version setting to project version

parent 05efd852
No related branches found
No related tags found
1 merge request!3Migrate away from old version setting to project version
Pipeline #16521 failed
...@@ -23,7 +23,11 @@ endfunction () ...@@ -23,7 +23,11 @@ endfunction ()
# info header # info header
function (vci_print_configure_header _id _name) function (vci_print_configure_header _id _name)
vci_format_string ("${_name}" 40 _project) vci_format_string ("${_name}" 40 _project)
if ( ${_id}_VERSION )
vci_format_string ("${${_id}_VERSION}" 40 _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 ("\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}[1;31mVCI ${_escape}[0;40;34mBuildsystem${_escape}[0m${_escape}[40;37m *${_escape}[0m")
vci_color_message ("${_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