浏览代码

Correction indentation

Jean-Michel Caricand 2 年之前
父节点
当前提交
08a71851b0
共有 1 个文件被更改,包括 3 次插入3 次删除
  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: