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

Method AddEvaluationFile

Source/cmMakefile.cxx:937–949  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

935}
936
937void cmMakefile::AddEvaluationFile(
938 std::string const& inputFile, std::string const& targetName,
939 std::unique_ptr<cmCompiledGeneratorExpression> outputName,
940 std::unique_ptr<cmCompiledGeneratorExpression> condition,
941 std::string const& newLineCharacter, mode_t permissions, bool inputIsContent)
942{
943 this->EvaluationFiles.push_back(
944 cm::make_unique<cmGeneratorExpressionEvaluationFile>(
945 inputFile, targetName, std::move(outputName), std::move(condition),
946 inputIsContent, newLineCharacter, permissions,
947 this->GetPolicyStatus(cmPolicies::CMP0070),
948 this->GetPolicyStatus(cmPolicies::CMP0189)));
949}
950
951std::vector<std::unique_ptr<cmGeneratorExpressionEvaluationFile>> const&
952cmMakefile::GetEvaluationFiles() const

Callers 1

AddEvaluationFileFunction · 0.80

Calls 3

GetPolicyStatusMethod · 0.95
moveFunction · 0.85
push_backMethod · 0.80

Tested by

no test coverage detected