-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[export files] *_PACKAGE_LIST, *_LIBRARIES too long #32
Comments
Nico, My worry is that this will break some client projects that use these variables. I don't so I can't say but that is my guess. Is there a problem other than these are large set() statements? I mean, is this a performance problem? |
Whoever is using those is doing it wrong. All applications should only link against the libraries they are actually using; the rest is handled by CMake. |
As for |
@nschloe, now that I am starting to work with these I definitely see what you are talking about. It looks like a These |
Note that PR #60 tries to fix this. It's two and a half years old now, so it might need a little update. |
As part of the work I am doing right now I will need to add some stronger tests for the generated |
The export files are way to verbose on the
*_LIBRARIES
and*_PACKAGE_LIST
. In Trilinos's NOX, for example we findand
These are literally all dependent libraries and packages, respectively.
The linking information, however, is handled much more elegantly by CMake itself, through the target export files.
We need to prune the exported libraries and packages list.
The text was updated successfully, but these errors were encountered: