Browse Source

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

Dan Korostelev 10 năm trước cách đây
mục cha
commit
3573c9b3ff
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;