MantisBT - CMake
View Issue Details
0015636CMakeCMakepublic2015-06-30 00:542016-06-10 14:31
tim blechmann 
Kitware Robot 
normalminorhave not tried
closedmoved 
CMake 3.2.3 
 
0015636: alias libraries and and --graphviz
when alias libraries are used, the dot files treat original and aliased library as different targets. therefore the dependencies are not visualised.

this issue is somehow related to 0013809, which is about add_dependency.
add_library(foo)
add_library(bar ALIAS foo)
add_executable(baz)
target_link_libraries(baz bar)

expected behaviour: baz should visualise a dependency to foo. instead foo it shows a dependency to bar.
No tags attached.
related to 0013809closed Kitware Robot add_dependencies and --graphviz 
related to 0015638closed Kitware Robot interface libraries and --graphviz 
Issue History
2015-06-30 00:54tim blechmannNew Issue
2015-06-30 08:56Brad KingRelationship addedrelated to 0013809
2015-07-06 08:34Brad KingRelationship addedrelated to 0015638
2015-07-22 04:13LectemNote Added: 0039162
2016-06-10 14:29Kitware RobotNote Added: 0042803
2016-06-10 14:29Kitware RobotStatusnew => resolved
2016-06-10 14:29Kitware RobotResolutionopen => moved
2016-06-10 14:29Kitware RobotAssigned To => Kitware Robot
2016-06-10 14:31Kitware RobotStatusresolved => closed

Notes
(0039162)
Lectem   
2015-07-22 04:13   
I would love to see this issue fixed, I believe using namespaces (ALIAS) is a good practice (especially on big projects/libraries), but if we have to remove the aliases to get a dependency graph it's pretty annoying.

A quick fix would be to use the same node number for both the original and the alias.
(0042803)
Kitware Robot   
2016-06-10 14:29   
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.