[cmake-developers] [CMake 0015638]: interface libraries and --graphviz

Mantis Bug Tracker mantis at public.kitware.com
Sat Jul 4 08:39:44 EDT 2015


The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=15638 
====================================================================== 
Reported By:                tim blechmann
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15638
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2015-07-04 08:39 EDT
Last Modified:              2015-07-04 08:39 EDT
====================================================================== 
Summary:                    interface libraries and --graphviz
Description: 
currently interface libraries are not taken into account when visualising the
dependencies via --graphviz 

Steps to Reproduce: 
consider the following project:

-----------
project(foo)

add_library( a STATIC a.cpp )

add_library( b_interface INTERFACE )
target_link_libraries( b_interface INTERFACE a)

add_library( b STATIC b.cpp )
target_link_libraries( b PUBLIC b_interface )
-----------

expected behaviour: edge between a and b
actual behaviour: no edge between a and b
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2015-07-04 08:39 tim blechmann  New Issue                                    
======================================================================



More information about the cmake-developers mailing list