Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
1.14.0
-
None
Description
When building on Linux, the cpp module uses product.version to determine whether it should create symlinks for shared objects or not and enforces the format x.y.z and throws an error otherwise.
This is too restrictive. At least SemVer should be allowed.
From GenericGcc.qbs:
if (!Gcc.isNumericProductVersion(product.version)) { // Dynamic library version numbers like "A" or "B" are common on Apple platforms, so // don't restrict the product version to a componentized version number here. if (cpp.imageFormat === "macho") return product.version; throw("product.version must be a string in the format x[.y[.z[.w]] " + "where each component is an integer"); }