BUG: Do not build human-reference files in Xcode
- The Info.plist file in app bundles should not be built. - User-specified files such as foo.txt should not be built. - Only files with a recognized language should be built, just as in the Makefiles generators. - See bug #7277.
This commit is contained in:
parent
e225a377b9
commit
9a3c0bf073
|
@ -704,7 +704,14 @@ cmGlobalXCodeGenerator::CreateXCodeTargets(cmLocalGenerator* gen,
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
sourceFiles.push_back(xsf);
|
// Include this file in the build if it has a known language
|
||||||
|
// and has not been listed as an ignored extension for this
|
||||||
|
// generator.
|
||||||
|
if(this->CurrentLocalGenerator->GetSourceFileLanguage(**i) &&
|
||||||
|
!this->IgnoreFile((*i)->GetExtension().c_str()))
|
||||||
|
{
|
||||||
|
sourceFiles.push_back(xsf);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue