summaryrefslogtreecommitdiffstats
path: root/Source/cmBuildCommand.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-05-10 14:10:51 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-05-10 14:10:51 (GMT)
commitb2f5af917b8345cceda21c63a75ad2ee23c35a6b (patch)
tree2808dd01233e34984255807c922e0df277ad749b /Source/cmBuildCommand.cxx
parentaf5bc4f430a406329829aa152baee7a181a4f287 (diff)
downloadCMake-b2f5af917b8345cceda21c63a75ad2ee23c35a6b.zip
CMake-b2f5af917b8345cceda21c63a75ad2ee23c35a6b.tar.gz
CMake-b2f5af917b8345cceda21c63a75ad2ee23c35a6b.tar.bz2
ENH: Remove the old code
Diffstat (limited to 'Source/cmBuildCommand.cxx')
-rw-r--r--Source/cmBuildCommand.cxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/Source/cmBuildCommand.cxx b/Source/cmBuildCommand.cxx
index e459b45..6c7d7bd 100644
--- a/Source/cmBuildCommand.cxx
+++ b/Source/cmBuildCommand.cxx
@@ -30,10 +30,12 @@ bool cmBuildCommand::InitialPass(std::vector<std::string> const& args)
const char* define = args[0].c_str();
const char* cacheValue
= m_Makefile->GetDefinition(define);
- std::string makecommand;
std::string makeprogram = args[1];
- std::string makecmd = m_Makefile->GetLocalGenerator()->GetGlobalGenerator()->GenerateBuildCommand(
+ std::string makecommand
+ = m_Makefile->GetLocalGenerator()->GetGlobalGenerator()->GenerateBuildCommand(
makeprogram.c_str(), m_Makefile->GetProjectName(), 0, "Release", true);
+#if 0
+ std::string makecommand;
if(makeprogram.find("msdev") != std::string::npos ||
makeprogram.find("MSDEV") != std::string::npos )
{
@@ -64,6 +66,7 @@ bool cmBuildCommand::InitialPass(std::vector<std::string> const& args)
makecommand += " -i";
}
std::cerr << "-- Compare: " << makecommand.c_str() << " and " << makecmd.c_str() << ": " << (makecmd == makecommand) << std::endl;
+#endif
if(cacheValue)
{
return true;