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")
|
||||
,GraphHeader("node [\n fontsize = \"12\"\n];")
|
||||
,GraphNodePrefix("node")
|
||||
,LocalGenerators(localGenerators)
|
||||
,GenerateForExecutables(true)
|
||||
,GenerateForStaticLibs(true)
|
||||
,GenerateForSharedLibs(true)
|
||||
|
@ -55,7 +56,6 @@ cmGraphVizWriter::cmGraphVizWriter(const std::vector<cmLocalGenerator*>&
|
|||
,GenerateForExternals(true)
|
||||
,GeneratePerTarget(true)
|
||||
,GenerateDependers(true)
|
||||
,LocalGenerators(localGenerators)
|
||||
,HaveTargetsAndLibs(false)
|
||||
{
|
||||
}
|
||||
|
|
|
@ -69,14 +69,6 @@ protected:
|
|||
std::string GraphHeader;
|
||||
std::string GraphNodePrefix;
|
||||
|
||||
bool GenerateForExecutables;
|
||||
bool GenerateForStaticLibs;
|
||||
bool GenerateForSharedLibs;
|
||||
bool GenerateForModuleLibs;
|
||||
bool GenerateForExternals;
|
||||
bool GeneratePerTarget;
|
||||
bool GenerateDependers;
|
||||
|
||||
std::vector<cmsys::RegularExpression> TargetsToIgnoreRegex;
|
||||
|
||||
const std::vector<cmLocalGenerator*>& LocalGenerators;
|
||||
|
@ -85,6 +77,13 @@ protected:
|
|||
// maps from the actual target names to node names in dot:
|
||||
std::map<std::string, std::string> TargetNamesNodes;
|
||||
|
||||
bool GenerateForExecutables;
|
||||
bool GenerateForStaticLibs;
|
||||
bool GenerateForSharedLibs;
|
||||
bool GenerateForModuleLibs;
|
||||
bool GenerateForExternals;
|
||||
bool GeneratePerTarget;
|
||||
bool GenerateDependers;
|
||||
bool HaveTargetsAndLibs;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue