summaryrefslogtreecommitdiffstats
path: root/Source/cmComputeLinkDepends.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-03-31 16:47:31 (GMT)
committerBrad King <brad.king@kitware.com>2008-03-31 16:47:31 (GMT)
commit3652a8e913eab6befcbdc74cbd985763ed27db33 (patch)
tree6d65bb6736f40617112f3d38fb78c9fa4fae11b7 /Source/cmComputeLinkDepends.h
parent8605551920bd0a904c146173d46fafbc2bba0b2b (diff)
downloadCMake-3652a8e913eab6befcbdc74cbd985763ed27db33.zip
CMake-3652a8e913eab6befcbdc74cbd985763ed27db33.tar.gz
CMake-3652a8e913eab6befcbdc74cbd985763ed27db33.tar.bz2
BUG: Fix bug 6605 more completely
- CMake 2.4 added link directories for targets linked in the optimized configuration even when building debug - Old behavior for policy CMP0003 must account for this
Diffstat (limited to 'Source/cmComputeLinkDepends.h')
-rw-r--r--Source/cmComputeLinkDepends.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/Source/cmComputeLinkDepends.h b/Source/cmComputeLinkDepends.h
index de85fa0..49e8d6b 100644
--- a/Source/cmComputeLinkDepends.h
+++ b/Source/cmComputeLinkDepends.h
@@ -54,6 +54,10 @@ public:
typedef std::vector<LinkEntry> EntryVector;
EntryVector const& Compute();
+ void SetOldLinkDirMode(bool b);
+ std::set<cmTarget*> const& GetOldWrongConfigItems() const
+ { return this->OldWrongConfigItems; }
+
private:
// Context information.
@@ -128,6 +132,11 @@ private:
void VisitComponent(cmComputeComponentGraph const& ccg, unsigned int i);
void EmitComponent(NodeList const& nl);
void DisplayFinalEntries();
+
+ // Compatibility help.
+ bool OldLinkDirMode;
+ void CheckWrongConfigItem(std::string const& item);
+ std::set<cmTarget*> OldWrongConfigItems;
};
#endif