summaryrefslogtreecommitdiffstats
path: root/Source/cmBuildCommand.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmBuildCommand.cxx')
-rw-r--r--Source/cmBuildCommand.cxx10
1 files changed, 10 insertions, 0 deletions
diff --git a/Source/cmBuildCommand.cxx b/Source/cmBuildCommand.cxx
index e07335e..a8e753e 100644
--- a/Source/cmBuildCommand.cxx
+++ b/Source/cmBuildCommand.cxx
@@ -44,6 +44,16 @@ bool cmBuildCommand::InitialPass(std::vector<std::string> const& args)
makecommand += m_Makefile->GetProjectName();
makecommand += ".dsw /MAKE \"ALL_BUILD - Release\" ";
}
+ else if (makeprogram.find("devenv") != std::string::npos ||
+ makeprogram.find("DEVENV") != std::string::npos )
+ {
+ makecommand = "\"";
+ makecommand += makeprogram;
+ makecommand += "\"";
+ makecommand += " ";
+ makecommand += m_Makefile->GetProjectName();
+ makecommand += ".sln /build Release /project ALL_BUILD";
+ }
else if(m_Makefile->GetDefinition("BORLAND"))
{
makecommand = makeprogram;