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: