diff options
author | Brad King <brad.king@kitware.com> | 2008-03-13 16:23:18 -0400 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2008-03-13 16:23:18 -0400 |
commit | d46ff28ac9465969f9fda862d06a048fa40d72f6 (patch) | |
tree | bb5b3d71a485922116b9164197e129c3d280e5ae /Source/cmComputeLinkInformation.h | |
parent | af55f854d4f8fa8bc336dcb492c0dbe5ca9a1c92 (diff) | |
download | cmake-d46ff28ac9465969f9fda862d06a048fa40d72f6.tar.gz |
ENH: Convert CMAKE_LINK_OLD_PATHS to policy CMP0003.
- Policy is WARN by default so projects will build
as they did in 2.4 without user intervention
- Remove CMAKE_LINK_OLD_PATHS variable since it was
never in a release and the policy supercedes it
- Report target creation backtrace in warning message
since policy should be set by that point
Diffstat (limited to 'Source/cmComputeLinkInformation.h')
-rw-r--r-- | Source/cmComputeLinkInformation.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/cmComputeLinkInformation.h b/Source/cmComputeLinkInformation.h index df22d53a3c..31d0e33594 100644 --- a/Source/cmComputeLinkInformation.h +++ b/Source/cmComputeLinkInformation.h @@ -153,13 +153,15 @@ private: // Linker search path computation. cmOrderDirectories* OrderLinkerSearchPath; - void FinishLinkerSearchDirectories(); + bool FinishLinkerSearchDirectories(); + void PrintLinkPolicyDiagnosis(std::ostream&); std::set<cmStdString> ImplicitLinkDirs; // Linker search path compatibility mode. + std::set<cmStdString> OldLinkDirMask; std::vector<std::string> OldLinkDirItems; + std::vector<std::string> OldUserFlagItems; bool OldLinkDirMode; - bool HaveUserFlagItem; // Runtime path computation. cmOrderDirectories* OrderRuntimeSearchPath; |