summaryrefslogtreecommitdiffstats
path: root/Source/cmComputeLinkDepends.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-04-23 04:40:19 (GMT)
committerBrad King <brad.king@kitware.com>2008-04-23 04:40:19 (GMT)
commit85c983885b6c926e826e826c76c309cc738e1749 (patch)
tree02ca3ba724d1726da773437edcfb7e28fd9b81d7 /Source/cmComputeLinkDepends.h
parentbd09f6eabc90f03283509b26a2b57bdc42f8eeba (diff)
downloadCMake-85c983885b6c926e826e826c76c309cc738e1749.zip
CMake-85c983885b6c926e826e826c76c309cc738e1749.tar.gz
CMake-85c983885b6c926e826e826c76c309cc738e1749.tar.bz2
BUG: Fix preservation of static libraries on original link lines.
Diffstat (limited to 'Source/cmComputeLinkDepends.h')
-rw-r--r--Source/cmComputeLinkDepends.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmComputeLinkDepends.h b/Source/cmComputeLinkDepends.h
index 49e8d6b..3e42580 100644
--- a/Source/cmComputeLinkDepends.h
+++ b/Source/cmComputeLinkDepends.h
@@ -128,11 +128,16 @@ private:
// Ordering algorithm.
void OrderLinkEntires();
std::vector<char> ComponentVisited;
+ std::vector<int> FinalLinkOrder;
void DisplayComponents(cmComputeComponentGraph const& ccg);
void VisitComponent(cmComputeComponentGraph const& ccg, unsigned int i);
void EmitComponent(NodeList const& nl);
void DisplayFinalEntries();
+ // Preservation of original link line.
+ std::vector<int> OriginalEntries;
+ void PreserveOriginalEntries();
+
// Compatibility help.
bool OldLinkDirMode;
void CheckWrongConfigItem(std::string const& item);