mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-28 11:48:36 -06:00
cmLocalXCodeGenerator: use a per-target directory
With all code starting to go towards using per-target directories, Xcode needs to use one as well.
This commit is contained in:
@@ -28,10 +28,9 @@ cmLocalXCodeGenerator::cmLocalXCodeGenerator(cmGlobalGenerator* gg,
|
||||
cmLocalXCodeGenerator::~cmLocalXCodeGenerator() = default;
|
||||
|
||||
std::string cmLocalXCodeGenerator::GetTargetDirectory(
|
||||
cmGeneratorTarget const*) const
|
||||
cmGeneratorTarget const* target) const
|
||||
{
|
||||
// No per-target directory for this generator (yet).
|
||||
return std::string{};
|
||||
return cmStrCat(target->GetName(), ".dir");
|
||||
}
|
||||
|
||||
void cmLocalXCodeGenerator::AppendFlagEscape(std::string& flags,
|
||||
|
||||
Reference in New Issue
Block a user