diff options
author | Amitha Perera <perera@cs.rpi.edu> | 2002-05-03 04:27:34 (GMT) |
---|---|---|
committer | Amitha Perera <perera@cs.rpi.edu> | 2002-05-03 04:27:34 (GMT) |
commit | 4bff9704134608bbce373e64d62441180e98b67a (patch) | |
tree | 4eddfe1c640c509a48ccf38ce28b6d9efd774159 /Source/cmTarget.h | |
parent | 0838265fdcd72c52f8d626157968b4db2b342c3e (diff) | |
download | CMake-4bff9704134608bbce373e64d62441180e98b67a.zip CMake-4bff9704134608bbce373e64d62441180e98b67a.tar.gz CMake-4bff9704134608bbce373e64d62441180e98b67a.tar.bz2 |
- bug fix where paths weren't being output when LIB_OUT_PATH *isn't* used
- test case for above mentioned bug
- more comments. Comments are good.
Diffstat (limited to 'Source/cmTarget.h')
-rw-r--r-- | Source/cmTarget.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/Source/cmTarget.h b/Source/cmTarget.h index 516d16b..0fcf353 100644 --- a/Source/cmTarget.h +++ b/Source/cmTarget.h @@ -121,7 +121,7 @@ private: typedef std::map< std::string, std::set< std::string > > DependencyMap; /** - * Maps a canonical library name to it's proper type + * Maps a library name to its internal structure */ typedef std::map< std::string, std::pair<std::string,LinkLibraryType> > LibTypeMap; @@ -141,11 +141,15 @@ private: /** * Finds the explicit dependencies for \param lib, if they have been - * specified, and inserts them into \param dep_map. + * specified, and inserts them into \param dep_map. It also adds the + * maps from the library names to internal structures for any + * libraries introduced by the analysis. \param addLibDirs is true + * if paths to newly found libraries should be added to the search + * path. */ void GatherDependencies( const cmMakefile& mf, const std::string& lib, DependencyMap& dep_map, - LibTypeMap& lib_map ) const; + LibTypeMap& lib_map, bool addLibDirs ); /** * Returns true if lib1 depends on lib2 according to \param |