| 20 | #include "cmValue.h" |
| 21 | |
| 22 | cmLocalCommonGenerator::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 | |
| 36 | cmLocalCommonGenerator::~cmLocalCommonGenerator() = default; |
| 37 |
nothing calls this directly
no test coverage detected