From 024e3d2bf63c118f4a5da3ea872892ab274c697a Mon Sep 17 00:00:00 2001 From: Brad King Date: Fri, 28 Oct 2022 10:29:46 -0400 Subject: Xcode: Put object files in a place that Xcode cleans Since commit dc5fc898f6 (Xcode: Set object file locations using TARGET_TEMP_DIR, 2022-09-29, v3.25.0-rc1~64^2~1), `xcodebuild clean` does not remove the object files in our explicit `TARGET_TEMP_DIR` because it is not under the `SYMROOT`. Put it there. Fixes: #24096 --- Source/cmGlobalXCodeGenerator.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Source/cmGlobalXCodeGenerator.h') diff --git a/Source/cmGlobalXCodeGenerator.h b/Source/cmGlobalXCodeGenerator.h index e924169404..9ae75fb1dd 100644 --- a/Source/cmGlobalXCodeGenerator.h +++ b/Source/cmGlobalXCodeGenerator.h @@ -339,6 +339,10 @@ private: std::string GetLibraryOrFrameworkPath(const std::string& path) const; + std::string GetSymrootDir() const; + std::string GetTargetTempDir(cmGeneratorTarget const* gt, + std::string const& configName) const; + static std::string GetDeploymentPlatform(const cmMakefile* mf); void ComputeArchitectures(cmMakefile* mf); -- cgit v1.2.1