MCPcopy Create free account
hub / github.com/Kitware/CMake / cmLocalCommonGenerator

Method cmLocalCommonGenerator

Source/cmLocalCommonGenerator.cxx:22–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20#include "cmValue.h"
21
22cmLocalCommonGenerator::cmLocalCommonGenerator(cmGlobalGenerator* gg,
23 cmMakefile* mf)
24 : cmLocalGenerator(gg, mf)
25{
26 // Multi-config generators define one set of configurations at the top.
27 // Single-config generators nominally define one configuration at the top,
28 // but the implementation has never been strict about that, so look up the
29 // per-directory config to preserve behavior.
30 this->ConfigNames = (gg->IsMultiConfig() && !gg->GetMakefiles().empty()
31 ? gg->GetMakefiles().front().get()
32 : this->Makefile)
33 ->GetGeneratorConfigs(cmMakefile::IncludeEmptyConfig);
34}
35
36cmLocalCommonGenerator::~cmLocalCommonGenerator() = default;
37

Callers

nothing calls this directly

Calls 5

GetGeneratorConfigsMethod · 0.80
IsMultiConfigMethod · 0.45
emptyMethod · 0.45
getMethod · 0.45
frontMethod · 0.45

Tested by

no test coverage detected