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

Method cmNinjaNormalTargetGenerator

Source/cmNinjaNormalTargetGenerator.cxx:47–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45#include "cmValue.h"
46
47cmNinjaNormalTargetGenerator::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
63cmNinjaNormalTargetGenerator::~cmNinjaNormalTargetGenerator() = default;
64

Callers

nothing calls this directly

Calls 4

SetMacContentFoldersMethod · 0.80
GetTypeMethod · 0.45
EnsureDirectoryExistsMethod · 0.45
GetDirectoryMethod · 0.45

Tested by

no test coverage detected