Description
See attached example.
The application depends on lib2. Lib2 uses public headers from lib1 in its own public headers but doesn't require to link to lib1. When I set cpp.link to false in Depends item exported from lib2 it doesn't affect linking process, lib1 is still used during application linking.
qbs --command-echo-mode command-line ... /usr/bin/g++ -Wl,-m,elf_x86_64 -m64 -o /home/vt/projects/test/build/default/app.7d104347/app /home/vt/projects/test/build/default/app.7d104347/3a52ce780950d4d9/main.cpp.o /home/vt/projects/test/build/default/lib2.5f8ea45c/liblib2.a /home/vt/projects/test/build/default/lib1.00728e89/liblib1.a
Attachments
Issue Links
- relates to
-
QBS-1300 Dependency parameters in products should override parameters from Export items
-
- Closed
-