浏览代码

BUG: remove c++comments

Ken Martin 19 年之前
父节点
当前提交
814c7e12ab

+ 2 - 2
Tests/LoadCommand/CMakeCommands/cmTestCommand.c

@@ -121,8 +121,8 @@ static int CCONV InitialPass(void *inf, void *mf, int argc, char *argv[])
   srcs =  argv[2];
   info->CAPI->AddExecutable(mf,"LoadedCommand",1, &srcs, 0);
 
-  // remove an old file if it is there
-  //info->CAPI->RemoveFile(argv[2]);
+  /* remove an old file if it is there */
+  info->CAPI->RemoveFile(argv[2]);
 
   /* add customs commands to generate the source file */
   ccArgs[0] = "-E";

+ 2 - 2
Tests/LoadCommandOneConfig/CMakeCommands/cmTestCommand.c

@@ -121,8 +121,8 @@ static int CCONV InitialPass(void *inf, void *mf, int argc, char *argv[])
   srcs =  argv[2];
   info->CAPI->AddExecutable(mf,"LoadedCommand",1, &srcs, 0);
 
-  // remove an old file if it is there
-  //info->CAPI->RemoveFile(argv[2]);
+  /* remove an old file if it is there */
+  info->CAPI->RemoveFile(argv[2]);
 
   /* add customs commands to generate the source file */
   ccArgs[0] = "-E";