Browse Source

Correction indentation

Jean-Michel Caricand 2 years ago
parent
commit
9d02889409
1 changed files with 32 additions and 32 deletions
  1. 32 32
      generate.py

+ 32 - 32
generate.py

@@ -380,39 +380,39 @@ def generateVCXPROJ(conf, ctx, lib, type):
 
     out=open(filename, "w")
     out.write("<Project DefaultTargets=\"Build\" ToolsVersion=\"4.0\" xmlns=\"http://schemas.microsoft.com/developer/msbuild/2003\">\n");
-        out.write("<ItemGroup Label=\"ProjectConfigurations\">\n");
-        out.write(" <ProjectConfiguration Include=\"Debug|Win32\">\n");
-        out.write("   <Configuration>Debug</Configuration>\n");
-        out.write("   <Platform>Win32</Platform>\n");
-        out.write(" </ProjectConfiguration>\n");
-        out.write("<ProjectConfiguration Include=\"Release|Win32\">\n");
-        out.write("   <Configuration>Release</Configuration>\n");
-        out.write("   <Platform>Win32</Platform>\n");
-        out.write("</ProjectConfiguration>\n");
+    out.write("<ItemGroup Label=\"ProjectConfigurations\">\n");
+    out.write(" <ProjectConfiguration Include=\"Debug|Win32\">\n");
+    out.write("   <Configuration>Debug</Configuration>\n");
+    out.write("   <Platform>Win32</Platform>\n");
+    out.write(" </ProjectConfiguration>\n");
+    out.write("<ProjectConfiguration Include=\"Release|Win32\">\n");
+    out.write("   <Configuration>Release</Configuration>\n");
+    out.write("   <Platform>Win32</Platform>\n");
+    out.write("</ProjectConfiguration>\n");
     out.write("</ItemGroup>\n");
-        out.write("<PropertyGroup Label=\"Globals\">\n");
-        out.write("    <ProjectGuid>{"+str(prj_uuid)+"}</ProjectGuid>\n");
-        out.write("    <Keyword>Win32Proj</Keyword>\n");
-        out.write("    <RootNamespace>"+lib["name"]+"</RootNamespace>\n");
-        out.write("</PropertyGroup>\n");
-        out.write("<Import Project=\"$(VCTargetsPath)\Microsoft.Cpp.default.props\" />\n");
-        out.write("  <PropertyGroup Condition=\"'$(Configuration)|$(Platform)'=='Debug|Win32'\" Label=\"Configuration\">\n");
-        out.write("    <ConfigurationType>"+type+"</ConfigurationType>\n");
-        out.write("    <UseDebugLibraries>true</UseDebugLibraries>\n");
-        out.write("    <CharacterSet>Unicode</CharacterSet>\n");
-        out.write("  </PropertyGroup>\n");
-        out.write("  <PropertyGroup Condition=\"'$(Configuration)|$(Platform)'=='Release|Win32'\" Label=\"Configuration\">\n");
-        out.write("    <ConfigurationType>"+type+"</ConfigurationType>\n");
-        out.write("    <UseDebugLibraries>false</UseDebugLibraries>\n");
-        out.write("    <WholeProgramOptimization>true</WholeProgramOptimization>\n");
-        out.write("    <CharacterSet>Unicode</CharacterSet>\n");
-        out.write("  </PropertyGroup>\n");
-        out.write("<Import Project=\"$(VCTargetsPath)\Microsoft.Cpp.props\" />\n");
-        out.write("<ImportGroup Label=\"ExtensionSettings\" />\n");
-        out.write("<ImportGroup Label=\"PropertySheets\" />\n");
-        out.write("<PropertyGroup Label=\"UserMacros\" />\n");
-        out.write("<PropertyGroup />\n");
-        out.write("<ItemDefinitionGroup>\n");
+    out.write("<PropertyGroup Label=\"Globals\">\n");
+    out.write("    <ProjectGuid>{"+str(prj_uuid)+"}</ProjectGuid>\n");
+    out.write("    <Keyword>Win32Proj</Keyword>\n");
+    out.write("    <RootNamespace>"+lib["name"]+"</RootNamespace>\n");
+    out.write("</PropertyGroup>\n");
+    out.write("<Import Project=\"$(VCTargetsPath)\Microsoft.Cpp.default.props\" />\n");
+    out.write("  <PropertyGroup Condition=\"'$(Configuration)|$(Platform)'=='Debug|Win32'\" Label=\"Configuration\">\n");
+    out.write("    <ConfigurationType>"+type+"</ConfigurationType>\n");
+    out.write("    <UseDebugLibraries>true</UseDebugLibraries>\n");
+    out.write("    <CharacterSet>Unicode</CharacterSet>\n");
+    out.write("  </PropertyGroup>\n");
+    out.write("  <PropertyGroup Condition=\"'$(Configuration)|$(Platform)'=='Release|Win32'\" Label=\"Configuration\">\n");
+    out.write("    <ConfigurationType>"+type+"</ConfigurationType>\n");
+    out.write("    <UseDebugLibraries>false</UseDebugLibraries>\n");
+    out.write("    <WholeProgramOptimization>true</WholeProgramOptimization>\n");
+    out.write("    <CharacterSet>Unicode</CharacterSet>\n");
+    out.write("  </PropertyGroup>\n");
+    out.write("<Import Project=\"$(VCTargetsPath)\Microsoft.Cpp.props\" />\n");
+    out.write("<ImportGroup Label=\"ExtensionSettings\" />\n");
+    out.write("<ImportGroup Label=\"PropertySheets\" />\n");
+    out.write("<PropertyGroup Label=\"UserMacros\" />\n");
+    out.write("<PropertyGroup />\n");
+    out.write("<ItemDefinitionGroup>\n");
     out.write("<ClCompile>\n");
     dep_closure=depClosure(conf, lib["deps"], False)
     cpp_defs="WIN32;"