diff options
Diffstat (limited to 'Source/cmTarget.h')
-rw-r--r-- | Source/cmTarget.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Source/cmTarget.h b/Source/cmTarget.h index 124c04c..7aee9f6 100644 --- a/Source/cmTarget.h +++ b/Source/cmTarget.h @@ -121,6 +121,11 @@ private: typedef std::map< std::string, std::set< std::string > > DependencyMap; /** + * Maps a canonical library name to it's proper type + */ + typedef std::map< std::string, std::pair<std::string,LinkLibraryType> > LibTypeMap; + + /** * For each library in the link line, return a canonical name. The * orginal library names have complicated forms, such as "x", * "libx.so", "/full/path/libx.a", "-lx", and "-framework x". @@ -146,7 +151,8 @@ private: * specified, and inserts them into \param dep_map. */ void GatherDependencies( const cmMakefile& mf, const std::string& lib, - DependencyMap& dep_map ) const; + DependencyMap& dep_map, + LibTypeMap& lib_map ) const; /** * Returns true if lib1 depends on lib2 according to \param |