2
0
Эх сурвалжийг харах

[cs] don't try to clean output directory when -D unity-std-target for now

Dan Korostelev 10 жил өмнө
parent
commit
3573c9b3ff
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      gencs.ml

+ 1 - 1
gencs.ml

@@ -2990,7 +2990,7 @@ let configure gen =
 	mkdir_recursive "" parts;
 	generate_modules gen "cs" "src" module_gen out_files;
 
-	if not (Common.defined gen.gcon Define.KeepOldOutput) then
+	if not (Common.defined gen.gcon Define.KeepOldOutput ||  Common.defined gen.gcon Define.UnityStdTarget) then
 		clean_files (gen.gcon.file ^ "/src") !out_files gen.gcon.verbose;
 
 	dump_descriptor gen ("hxcs_build.txt") path_s module_s;