[DEV] add the version number in the current package build

This commit is contained in:
Edouard DUPIN 2015-12-30 22:27:07 +01:00
parent 8a72df67c6
commit 6c431ad300

View File

@ -387,22 +387,23 @@ class Module:
# ---------------------------------------------------- # ----------------------------------------------------
# -- Generic library help -- # -- Generic library help --
# ---------------------------------------------------- # ----------------------------------------------------
package_version_string = tools.version_to_string(self.package_prop["VERSION"]);
if self.type == 'PREBUILD': if self.type == 'PREBUILD':
debug.print_element("Prebuild", self.name, "", "") debug.print_element("Prebuild", self.name, "-", package_version_string)
if self.type == 'LIBRARY': elif self.type == 'LIBRARY':
debug.print_element("Library", self.name, "", "") debug.print_element("Library", self.name, "-", package_version_string)
if self.type == 'LIBRARY_DYNAMIC': elif self.type == 'LIBRARY_DYNAMIC':
debug.print_element("Library(dynamic)", self.name, "", "") debug.print_element("Library(dynamic)", self.name, "-", package_version_string)
if self.type == 'LIBRARY_STATIC': elif self.type == 'LIBRARY_STATIC':
debug.print_element("Library(static)", self.name, "", "") debug.print_element("Library(static)", self.name, "-", package_version_string)
if self.type == 'BINARY': elif self.type == 'BINARY':
debug.print_element("Binary(auto)", self.name, "", "") debug.print_element("Binary(auto)", self.name, "-", package_version_string)
if self.type == 'BINARY_SHARED': elif self.type == 'BINARY_SHARED':
debug.print_element("Binary (shared)", self.name, "", "") debug.print_element("Binary (shared)", self.name, "-", package_version_string)
if self.type == 'BINARY_STAND_ALONE': elif self.type == 'BINARY_STAND_ALONE':
debug.print_element("Binary (stand alone)", self.name, "", "") debug.print_element("Binary (stand alone)", self.name, "-", package_version_string)
if self.type == 'PACKAGE': elif self.type == 'PACKAGE':
debug.print_element("Package", self.name, "", "") debug.print_element("Package", self.name, "-", package_version_string)
# ---------------------------------------------------- # ----------------------------------------------------
# -- Sources compilation -- # -- Sources compilation --
# ---------------------------------------------------- # ----------------------------------------------------