浏览代码

ENH: remove debug prints

Bill Hoffman 24 年之前
父节点
当前提交
d2b84627de
共有 1 个文件被更改,包括 3 次插入5 次删除
  1. 3 5
      Source/cmNMakeMakefileGenerator.cxx

+ 3 - 5
Source/cmNMakeMakefileGenerator.cxx

@@ -237,13 +237,11 @@ OutputBuildObjectFromSource(std::ostream& fout,
   std::string comment = "Build ";
   std::string objectFile = std::string(shortName) + 
     this->GetOutputExtension(source.GetSourceExtension().c_str());
-  std::cerr << "short name  objectfile " << objectFile.c_str() << " " << shortName << "\n";
   
   comment += objectFile + "  From ";
   comment += source.GetFullPath();
   std::string compileCommand;
   std::string ext = source.GetSourceExtension();
-  std::cerr << "ext " << ext.c_str() << "\n";
   if(ext == "c" )
     {
     compileCommand = "$(CMAKE_C_COMPILER) $(CMAKE_CFLAGS) ";
@@ -266,15 +264,15 @@ OutputBuildObjectFromSource(std::ostream& fout,
     }
   else if (ext == "def")
     {
-    std::cerr << "def file " << source.GetFullPath() << "\n";
+    // *** do something here??
     }
   else if (ext == "ico")
     {
-    std::cerr << "ico file " << source.GetFullPath() << "\n";
+    // do something here??
     }
   else if (ext == "rc2")
     {
-    std::cerr << "rc2 file " << source.GetFullPath() << "\n";
+    // do something here??
     }
   // assume c++ if not c rc or def
   else