Notes |
|
(0028876)
|
Brad King
|
2012-03-09 08:53
|
|
|
|
(0028877)
|
Brad King
|
2012-03-09 08:56
|
|
In short LinkLibraryDependencies messes with the difference between order-only dependencies and true link dependencies. |
|
|
(0028888)
|
Zahary Karadjov
|
2012-03-10 05:55
(edited on: 2012-03-12 08:58) |
|
If I understand correctly, you are saying that LinkLibrariesDependencies can't be enabled on a VS project-wide level, because then order-only dependencies added by add_dependency will be linked too.
Please, see the second link I posted:
http://blogs.msdn.com/b/vcblog/archive/2010/05/03/flexible-project-to-project-references.aspx [^]
It explains that now in VS10, the project file can specify LinkLibrariesDependencies on a per-dependency basis.
The build time improvements of UseLibraryDependencyInputs could be quite substantial from my experiences, so this issue is really worth investigating further.
|
|
|
(0040379)
|
Vivien Millet
|
2016-01-29 20:08
|
|
I think this issue should be updated because having options UseLibraryDependencyInputs and LinkLibraryDependencies in MSVC are not only useful for link dependencies but also allows to keep some static variable symbol alive when linking static libraries (which would be thrown away if these flags were not set). It's the case in my project, i absolutely need these flags to be true and i will be forced to change the cmake source myself if not done by the cmake team.
I don't understand why these flags becomes true only on external dependencies in cmake and stay absolutely false in any other case ? And more importantly, why not let the freedom to the user to decide if these flags are set or not, even if it creates some conflicts (a warning can be emitted in this case) |
|
|
(0042001)
|
Kitware Robot
|
2016-06-10 14:28
|
|
Resolving issue as `moved`.
This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page. |
|