summaryrefslogtreecommitdiffstats
path: root/Source/cmCTest.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmCTest.cxx')
-rw-r--r--Source/cmCTest.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx
index 1e25ba1..8e1e88d 100644
--- a/Source/cmCTest.cxx
+++ b/Source/cmCTest.cxx
@@ -1884,15 +1884,14 @@ int cmCTest::RunCMakeAndTest(std::string* outstring)
makeCommand += " -project ";
makeCommand += m_BuildProject;
makeCommand += ".xcode";
- makeCommand += " build ";
+ makeCommand += " build -target ";
if (m_BuildTarget.size())
{
- makeCommand += "-target ";
makeCommand += m_BuildTarget;
}
else
{
- makeCommand += "-alltargets ";
+ makeCommand += "ALL_BUILD ";
}
makeCommand += " -buildstyle Development ";
}