mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-02 04:02:23 +03: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:
1 parent
aafd771529
commit
ff5d7bc301
1 file changed
+2
-3
@@ -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