diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2005-03-23 13:20:46 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2005-03-23 13:20:46 (GMT) |
commit | 584e0f2f641370c366ab623ca5543f66374a111d (patch) | |
tree | 07b74e6489c10beddedb3f4b30e51af2d09f6b46 /Source/cmBuildCommand.cxx | |
parent | ddfec3f72347c666c25e6259761bcfa463f21d9e (diff) | |
download | CMake-584e0f2f641370c366ab623ca5543f66374a111d.zip CMake-584e0f2f641370c366ab623ca5543f66374a111d.tar.gz CMake-584e0f2f641370c366ab623ca5543f66374a111d.tar.bz2 |
fix for xcode
Diffstat (limited to 'Source/cmBuildCommand.cxx')
-rw-r--r-- | Source/cmBuildCommand.cxx | 5 |
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 { |