cmGraphVizWriter: Re-arrange data layout.
Size goes from 272 to 264 bytes.
This commit is contained in:
parent
7f3e16239f
commit
92b8b1fc3d
|
@ -48,6 +48,7 @@ cmGraphVizWriter::cmGraphVizWriter(const std::vector<cmLocalGenerator*>&
|
||||||
,GraphName("GG")
|
,GraphName("GG")
|
||||||
,GraphHeader("node [\n fontsize = \"12\"\n];")
|
,GraphHeader("node [\n fontsize = \"12\"\n];")
|
||||||
,GraphNodePrefix("node")
|
,GraphNodePrefix("node")
|
||||||
|
,LocalGenerators(localGenerators)
|
||||||
,GenerateForExecutables(true)
|
,GenerateForExecutables(true)
|
||||||
,GenerateForStaticLibs(true)
|
,GenerateForStaticLibs(true)
|
||||||
,GenerateForSharedLibs(true)
|
,GenerateForSharedLibs(true)
|
||||||
|
@ -55,7 +56,6 @@ cmGraphVizWriter::cmGraphVizWriter(const std::vector<cmLocalGenerator*>&
|
||||||
,GenerateForExternals(true)
|
,GenerateForExternals(true)
|
||||||
,GeneratePerTarget(true)
|
,GeneratePerTarget(true)
|
||||||
,GenerateDependers(true)
|
,GenerateDependers(true)
|
||||||
,LocalGenerators(localGenerators)
|
|
||||||
,HaveTargetsAndLibs(false)
|
,HaveTargetsAndLibs(false)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
|
@ -69,14 +69,6 @@ protected:
|
||||||
std::string GraphHeader;
|
std::string GraphHeader;
|
||||||
std::string GraphNodePrefix;
|
std::string GraphNodePrefix;
|
||||||
|
|
||||||
bool GenerateForExecutables;
|
|
||||||
bool GenerateForStaticLibs;
|
|
||||||
bool GenerateForSharedLibs;
|
|
||||||
bool GenerateForModuleLibs;
|
|
||||||
bool GenerateForExternals;
|
|
||||||
bool GeneratePerTarget;
|
|
||||||
bool GenerateDependers;
|
|
||||||
|
|
||||||
std::vector<cmsys::RegularExpression> TargetsToIgnoreRegex;
|
std::vector<cmsys::RegularExpression> TargetsToIgnoreRegex;
|
||||||
|
|
||||||
const std::vector<cmLocalGenerator*>& LocalGenerators;
|
const std::vector<cmLocalGenerator*>& LocalGenerators;
|
||||||
|
@ -85,6 +77,13 @@ protected:
|
||||||
// maps from the actual target names to node names in dot:
|
// maps from the actual target names to node names in dot:
|
||||||
std::map<std::string, std::string> TargetNamesNodes;
|
std::map<std::string, std::string> TargetNamesNodes;
|
||||||
|
|
||||||
|
bool GenerateForExecutables;
|
||||||
|
bool GenerateForStaticLibs;
|
||||||
|
bool GenerateForSharedLibs;
|
||||||
|
bool GenerateForModuleLibs;
|
||||||
|
bool GenerateForExternals;
|
||||||
|
bool GeneratePerTarget;
|
||||||
|
bool GenerateDependers;
|
||||||
bool HaveTargetsAndLibs;
|
bool HaveTargetsAndLibs;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue