diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-03-03 19:24:31 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-03-03 19:24:31 (GMT) |
commit | bc4e5581ee62d0826625bf1344c3bad7f8711dbc (patch) | |
tree | dfd717c95e59bbac822e81cbadece640123069a2 /Source/cmTarget.cxx | |
parent | 93c95f1cc5207d043b4bfaa617a611d1dffc7016 (diff) | |
download | CMake-bc4e5581ee62d0826625bf1344c3bad7f8711dbc.zip CMake-bc4e5581ee62d0826625bf1344c3bad7f8711dbc.tar.gz CMake-bc4e5581ee62d0826625bf1344c3bad7f8711dbc.tar.bz2 |
ENH: Add support for exporting graphviz of the project dependencies
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r-- | Source/cmTarget.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index 3fd75a5..a562f25 100644 --- a/Source/cmTarget.cxx +++ b/Source/cmTarget.cxx @@ -606,6 +606,11 @@ cmTarget::AnalyzeLibDependencies( const cmMakefile& mf ) // The dependency map. DependencyMap dep_map; + if ( m_OriginalLinkLibraries.size() == 0 ) + { + m_OriginalLinkLibraries = m_LinkLibraries; + } + // 1. Build the dependency graph // for(LinkLibraries::reverse_iterator lib = m_LinkLibraries.rbegin(); |