[QBS] dynamic library target name on mac osX
jake.petroules at petroules.com
Wed Sep 17 20:47:47 CEST 2014
On 2014-09-17, at 11:33 AM, olivier musse <olivier.musse at sfr.fr> wrote:
> On mac os X when compiling a dynamic library, the target name is
> automatically prefix with lib and postfix with version number.
> It is possible to change the prefix using cpp.dynamicLibraryPrefix (not
> documented) but we found nothing (exception modifying path-tools.js
> file) to not append the version number.
> Is there any solution to do that properly using a cpp module property or
> something else than hacking path-tools.js file?
> If not, is it possible to imagine that as a feature for a next QBS version?
> Many thanks for help.
> QBS mailing list
> QBS at qt-project.org
I cannot imagine a valid use case for doing this -- could you explain why you need it?
If you set the product's version property to undefined then there will be no version number appended, but I would not recommend you use this since the version property is multi-purpose and does more than just append it to the filename.
Jake Petroules - jake.petroules at petroules.com
Chief Technology Officer - Petroules Corporation
More information about the Qbs