Pārlūkot izejas kodu

Xcode: Select make program at build time

Extend the change made in commit v3.0.0-rc1~260^2~16 (Teach
GenerateBuildCommand to find its own make program, 2013-11-13) to have
the Xcode generator pick between "xcodebuild" and CMake's own copy of
"cmakexbuild" at build time based on the version of Xcode.
Brad King 10 gadi atpakaļ
vecāks
revīzija
11e2e6cadf
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      Source/cmGlobalXCodeGenerator.cxx

+ 1 - 1
Source/cmGlobalXCodeGenerator.cxx

@@ -303,7 +303,7 @@ cmGlobalXCodeGenerator::GenerateBuildCommand(
 {
 {
   // now build the test
   // now build the test
   makeCommand.push_back(
   makeCommand.push_back(
-    this->SelectMakeProgram(makeProgram, "xcodebuild")
+    this->SelectMakeProgram(makeProgram, this->GetXcodeBuildCommand())
     );
     );
 
 
   makeCommand.push_back("-project");
   makeCommand.push_back("-project");