Generate the version string in scons, so it doesn't
have to be defined several potential places
This commit is contained in:
+1
-1
@@ -5,6 +5,6 @@ const int ucore_version_major = @version_major@;
|
||||
const int ucore_version_minor = @version_minor@;
|
||||
const int ucore_version_patch = @version_patch@;
|
||||
|
||||
const char ucore_version_str[] = "@version_major@.@version_minor@.@version_patch@.@version_revision@";
|
||||
const char ucore_version_str[] = "@version_str@";
|
||||
const char ucore_build_host[] = "@build_host@";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user