[cmake-developers] [CMake 0015636]: alias libraries and and --graphviz

Mantis Bug Tracker mantis at public.kitware.com
Tue Jun 30 00:54:53 EDT 2015


The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=15636 
====================================================================== 
Reported By:                tim blechmann
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15636
Category:                   CMake
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2015-06-30 00:54 EDT
Last Modified:              2015-06-30 00:54 EDT
====================================================================== 
Summary:                    alias libraries and and --graphviz
Description: 
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 http://www.cmake.org/Bug/view.php?id=13809,
which is about add_dependency.

Steps to Reproduce: 
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.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2015-06-30 00:54 tim blechmann  New Issue                                    
======================================================================



More information about the cmake-developers mailing list