mirror of
https://github.com/reactos/CMake.git
synced 2024-12-01 07:20:22 +00:00
cmComputeLinkDepends: Re-arrange data layout.
Size goes from 648 to 632 bytes.
This commit is contained in:
parent
b661d6c631
commit
54cb76f299
@ -61,14 +61,7 @@ private:
|
|||||||
cmMakefile* Makefile;
|
cmMakefile* Makefile;
|
||||||
cmGlobalGenerator const* GlobalGenerator;
|
cmGlobalGenerator const* GlobalGenerator;
|
||||||
cmake* CMakeInstance;
|
cmake* CMakeInstance;
|
||||||
bool DebugMode;
|
|
||||||
|
|
||||||
// Configuration information.
|
|
||||||
bool HasConfig;
|
|
||||||
std::string Config;
|
std::string Config;
|
||||||
cmTarget::LinkLibraryType LinkType;
|
|
||||||
|
|
||||||
// Output information.
|
|
||||||
EntryVector FinalLinkEntries;
|
EntryVector FinalLinkEntries;
|
||||||
|
|
||||||
typedef cmTarget::LinkLibraryVectorType LinkLibraryVectorType;
|
typedef cmTarget::LinkLibraryVectorType LinkLibraryVectorType;
|
||||||
@ -131,7 +124,7 @@ private:
|
|||||||
void OrderLinkEntires();
|
void OrderLinkEntires();
|
||||||
std::vector<char> ComponentVisited;
|
std::vector<char> ComponentVisited;
|
||||||
std::vector<int> ComponentOrder;
|
std::vector<int> ComponentOrder;
|
||||||
int ComponentOrderId;
|
|
||||||
struct PendingComponent
|
struct PendingComponent
|
||||||
{
|
{
|
||||||
// The real component id. Needed because the map is indexed by
|
// The real component id. Needed because the map is indexed by
|
||||||
@ -158,11 +151,14 @@ private:
|
|||||||
|
|
||||||
// Record of the original link line.
|
// Record of the original link line.
|
||||||
std::vector<int> OriginalEntries;
|
std::vector<int> OriginalEntries;
|
||||||
|
|
||||||
// Compatibility help.
|
|
||||||
bool OldLinkDirMode;
|
|
||||||
void CheckWrongConfigItem(cmLinkItem const& item);
|
|
||||||
std::set<cmTarget const*> OldWrongConfigItems;
|
std::set<cmTarget const*> OldWrongConfigItems;
|
||||||
|
void CheckWrongConfigItem(cmLinkItem const& item);
|
||||||
|
|
||||||
|
int ComponentOrderId;
|
||||||
|
cmTarget::LinkLibraryType LinkType;
|
||||||
|
bool HasConfig;
|
||||||
|
bool DebugMode;
|
||||||
|
bool OldLinkDirMode;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user