Răsfoiți Sursa

BUG: remove command causing issues with mid build reruns of cmake on vs70

Ken Martin 19 ani în urmă
părinte
comite
16a15f3e5e

+ 0 - 3
Tests/LoadCommand/CMakeCommands/cmTestCommand.c

@@ -118,9 +118,6 @@ static int CCONV InitialPass(void *inf, void *mf, int argc, char *argv[])
 
   info->CAPI->DestroySourceFile(source_file);
 
-  /* remove an old file if it is there */
-  info->CAPI->RemoveFile(argv[2]);
-
   srcs =  argv[2];
   info->CAPI->AddExecutable(mf,"LoadedCommand",1, &srcs, 0);
 

+ 0 - 3
Tests/LoadCommandOneConfig/CMakeCommands/cmTestCommand.c

@@ -118,9 +118,6 @@ static int CCONV InitialPass(void *inf, void *mf, int argc, char *argv[])
 
   info->CAPI->DestroySourceFile(source_file);
 
-  /* remove an old file if it is there */
-  info->CAPI->RemoveFile(argv[2]);
-
   srcs =  argv[2];
   info->CAPI->AddExecutable(mf,"LoadedCommand",1, &srcs, 0);