fix for xcode

This commit is contained in:
Bill Hoffman 2005-03-23 08:20:46 -05:00
parent ddfec3f723
commit 584e0f2f64

View File

@ -53,10 +53,9 @@ bool cmBuildCommand::InitialPass(std::vector<std::string> const& args)
makecommand += m_Makefile->GetProjectName(); makecommand += m_Makefile->GetProjectName();
makecommand += ".sln /build Release /project ALL_BUILD"; makecommand += ".sln /build Release /project ALL_BUILD";
} }
else if(m_Makefile->GetDefinition("BORLAND")) else if (makeprogram.find("xcodebuild") != std::string::npos)
{ {
makecommand = makeprogram; makecommand += makeprogram;
makecommand += " -i";
} }
else else
{ {