Browse Source

Correction indentation

Jean-Michel Caricand 2 years ago
parent
commit
08a71851b0
1 changed files with 3 additions and 3 deletions
  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: