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

Method IsSourceFilePartOfUnityBatch

Source/cmGeneratorTarget.cxx:3360–3369  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3358}
3359
3360bool cmGeneratorTarget::IsSourceFilePartOfUnityBatch(
3361 std::string const& sourceFilename) const
3362{
3363 if (!this->GetPropertyAsBool("UNITY_BUILD")) {
3364 return false;
3365 }
3366
3367 return this->UnityBatchedSourceFiles.find(sourceFilename) !=
3368 this->UnityBatchedSourceFiles.end();
3369}
3370
3371void cmGeneratorTarget::ComputeTargetManifest(std::string const& config) const
3372{

Callers 2

ComputeKindedSourcesMethod · 0.95
CreateXCodeTargetMethod · 0.80

Calls 3

GetPropertyAsBoolMethod · 0.95
findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected