Explorar el Código

ENH: convert to windows paths

Bill Hoffman hace 24 años
padre
commit
5a488fc850
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4 0
      Source/cmaketest.cxx

+ 4 - 0
Source/cmaketest.cxx

@@ -164,6 +164,10 @@ int main (int argc, char *argv[])
     cmSystemTools::ChangeDirectory(cwd.c_str());
     return 1;
     }
+  fullPath = cmSystemTools::EscapeSpaces(fullPath.c_str());
+#if defined(_WIN32) && !defined(__CYGWIN__)      
+  cmSystemTools::ConvertToWindowsSlashes(fullPath);
+#endif
   if (!cmSystemTools::RunCommand(fullPath.c_str(), output))
     {
     std::cerr << "Error: " << fullPath.c_str() << "  execution failed\n";