diff options
author | Brad King <brad.king@kitware.com> | 2008-07-29 18:57:00 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2008-07-29 18:57:00 (GMT) |
commit | f8f5dde2eec468f8c2ccebabb9771b5f8d21f864 (patch) | |
tree | d7f1526bbe862f327944423cb1f3b1ebe72e3dd9 /Source/cmOrderDirectories.h | |
parent | 01d143c77b7d50424950e59ef2912de31f836de5 (diff) | |
download | CMake-f8f5dde2eec468f8c2ccebabb9771b5f8d21f864.zip CMake-f8f5dde2eec468f8c2ccebabb9771b5f8d21f864.tar.gz CMake-f8f5dde2eec468f8c2ccebabb9771b5f8d21f864.tar.bz2 |
ENH: Warn when system libraries may be hidden.
We never explicitly specify system library directories in linker or
runtime search paths. Furthermore, libraries in these directories are
always linked by asking the linker to search for them. We need to
generate a warning when explicitly specified search directories contain
files that may hide the system libraries during the search.
Diffstat (limited to 'Source/cmOrderDirectories.h')
-rw-r--r-- | Source/cmOrderDirectories.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmOrderDirectories.h b/Source/cmOrderDirectories.h index aa09a4e..5407733 100644 --- a/Source/cmOrderDirectories.h +++ b/Source/cmOrderDirectories.h @@ -54,6 +54,7 @@ private: bool OrderedDirectoriesComputed; std::vector<cmOrderDirectoriesConstraint*> ConstraintEntries; + std::vector<cmOrderDirectoriesConstraint*> ImplicitDirEntries; std::vector<std::string> UserDirectories; cmsys::RegularExpression RemoveLibraryExtension; std::vector<std::string> LinkExtensions; @@ -66,6 +67,7 @@ private: void CollectOriginalDirectories(); int AddOriginalDirectory(std::string const& dir); void FindConflicts(); + void FindImplicitConflicts(); void OrderDirectories(); void VisitDirectory(unsigned int i); void DiagnoseCycle(); |