Kaynağa Gözat

Correction indentation

Jean-Michel Caricand 2 yıl önce
ebeveyn
işleme
08a71851b0
1 değiştirilmiş dosya ile 3 ekleme ve 3 silme
  1. 3 3
      generate.py

+ 3 - 3
generate.py

@@ -497,9 +497,9 @@ def generateVCXPROJ(conf, ctx, lib, type):
         out.write("</ItemGroup>\n");
         out.write("<ItemGroup>\n");
         for file in lib["source"]["files"]:
-        if "cpp"==file["ext"] or "c"==file["ext"] or "s"==file["ext"]:
-            out.write("  <ClCompile Include=\""+os.path.relpath(file["path"], filepath)+"\">\n");
-            out.write("  </ClCompile>\n");
+            if "cpp"==file["ext"] or "c"==file["ext"] or "s"==file["ext"]:
+                out.write("  <ClCompile Include=\""+os.path.relpath(file["path"], filepath)+"\">\n");
+                out.write("  </ClCompile>\n");
         out.write("</ItemGroup>\n");
         out.write("<ItemGroup>\n");
     for dep in dep_closure: