summaryrefslogtreecommitdiffstats
path: root/Source/cmBuildCommand.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2005-03-23 13:20:46 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2005-03-23 13:20:46 (GMT)
commit584e0f2f641370c366ab623ca5543f66374a111d (patch)
tree07b74e6489c10beddedb3f4b30e51af2d09f6b46 /Source/cmBuildCommand.cxx
parentddfec3f72347c666c25e6259761bcfa463f21d9e (diff)
downloadCMake-584e0f2f641370c366ab623ca5543f66374a111d.zip
CMake-584e0f2f641370c366ab623ca5543f66374a111d.tar.gz
CMake-584e0f2f641370c366ab623ca5543f66374a111d.tar.bz2
fix for xcode
Diffstat (limited to 'Source/cmBuildCommand.cxx')
-rw-r--r--Source/cmBuildCommand.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/cmBuildCommand.cxx b/Source/cmBuildCommand.cxx
index 1e82bb3..5785c00 100644
--- a/Source/cmBuildCommand.cxx
+++ b/Source/cmBuildCommand.cxx
@@ -53,10 +53,9 @@ bool cmBuildCommand::InitialPass(std::vector<std::string> const& args)
makecommand += m_Makefile->GetProjectName();
makecommand += ".sln /build Release /project ALL_BUILD";
}
- else if(m_Makefile->GetDefinition("BORLAND"))
+ else if (makeprogram.find("xcodebuild") != std::string::npos)
{
- makecommand = makeprogram;
- makecommand += " -i";
+ makecommand += makeprogram;
}
else
{