diff options
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.cxx')
-rw-r--r-- | Source/cmGlobalXCodeGenerator.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx index 714f441..f5ca532 100644 --- a/Source/cmGlobalXCodeGenerator.cxx +++ b/Source/cmGlobalXCodeGenerator.cxx @@ -110,12 +110,15 @@ int cmGlobalXCodeGenerator::TryCompile(const char *, makeCommand += " -project "; makeCommand += projectName; makeCommand += ".xcode"; - makeCommand += " build "; + makeCommand += " build -target "; if (targetName) { - makeCommand += "-target "; makeCommand += targetName; } + else + { + makeCommand += "ALL_BUILD"; + } makeCommand += " -buildstyle Development "; makeCommand += " SYMROOT="; makeCommand += cmSystemTools::ConvertToOutputPath(bindir); |