Export referenced library from static library [message #986947] |
Thu, 22 November 2012 13:38 |
Remko Tronçon Messages: 4 Registered: July 2010 |
Junior Member |
|
|
I have a project with the following setup: An executable 'Executable', which references a static library 'LibraryA', which in turn references another library, 'LibraryB'.
In the 'LibraryA' project, i have 'LibraryB' listed in the "References" tab (under "Paths & Symbols"). In the 'Executable' project, i have 'LibraryA' listed in the "References" tab. This setup makes everything compile, but Executable obviously doesn't link, since it needs LibraryB, and since this library is not exported from LibraryA.
The problem is: since LibraryA is a static library project, I don't have a "Libraries" tab where I can export the referenced LibraryB from (since a static library has no linker, therefore not a libraries input, and therefore no Libraries tab).
It sounds to me that CDT trying to mix the exports with the inputs of a project is not really correct. Or am I missing something?
|
|
|
Powered by
FUDForum. Page generated in 0.02146 seconds