Generate the version string in scons, so it doesn't
have to be defined several potential places
This commit is contained in:
@@ -10,6 +10,12 @@ version_info = {
|
||||
'version_patch': 0 ,
|
||||
'version_revision': revision,
|
||||
}
|
||||
version_info['version_str'] = "%d.%d.%d.%s" % (
|
||||
version_info['version_major'],
|
||||
version_info['version_minor'],
|
||||
version_info['version_patch'],
|
||||
version_info['version_revision'])
|
||||
|
||||
|
||||
AddOption('--build_type',
|
||||
dest = 'build_type',
|
||||
|
||||
Reference in New Issue
Block a user