| 45 | #include "cmValue.h" |
| 46 | |
| 47 | cmNinjaNormalTargetGenerator::cmNinjaNormalTargetGenerator( |
| 48 | cmGeneratorTarget* target) |
| 49 | : cmNinjaTargetGenerator(target) |
| 50 | { |
| 51 | if (target->GetType() != cmStateEnums::OBJECT_LIBRARY) { |
| 52 | // on Windows the output dir is already needed at compile time |
| 53 | // ensure the directory exists (OutDir test) |
| 54 | for (auto const& config : this->GetConfigNames()) { |
| 55 | this->EnsureDirectoryExists(target->GetDirectory(config)); |
| 56 | } |
| 57 | } |
| 58 | |
| 59 | this->OSXBundleGenerator = cm::make_unique<cmOSXBundleGenerator>(target); |
| 60 | this->OSXBundleGenerator->SetMacContentFolders(&this->MacContentFolders); |
| 61 | } |
| 62 | |
| 63 | cmNinjaNormalTargetGenerator::~cmNinjaNormalTargetGenerator() = default; |
| 64 |
nothing calls this directly
no test coverage detected