[QBS] Absolute paths in Product.destination question

Smirnov Vladimir mapron at yandex.ru
Fri Mar 8 13:36:33 CET 2013


"If the app and the lib are in the same project, then qbs knows where the
lib is when linking the app, so installation of the lib is not part of
that process.
"

Is it right that even .lib file placed in temporarily build folder ,then in another product (app) build it (lib) will be passed to linker with right path ?
so i don't even need to install it to the intermediate folder ?

Furthermore question, if .lib file added to linker using #pragma comment(lib, static_A) feature of MSVC, qbs also pass the correct library path to linker (with temp folder)?
I hadn't noticed such a behavior before (qbs outputs commands it execute), so i'm not sure that we have shared point of view.




More information about the Qbs mailing list