[QBS] Export object files instead of static library

Andrey Anpilogov anpilog at gmail.com
Mon Jan 12 04:44:51 CET 2015


One of the things I have no idea how to do is "weak" function in static
I have one static library that builds as Product. It has couple files with
"weak" functions:
- somelib.cpp
- extracool.cpp
- base.c
- weakfuncs.c

Let's say base.c and wealfuncs.c have "weak" functions.
Which means I have to link the application:
main.cpp.o path_to_lib/somelib.a path_to_lib/base.c.o

So far I have no idea how to do it.
Is there any way objects can be exported as well as static files?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qbs/attachments/20150112/44bd8c53/attachment.html>

More information about the Qbs mailing list