Change standard-outdirs.props to space indents

This commit is contained in:
Niels Martin Hansen 2015-01-19 04:14:25 +01:00
parent 5e446264a2
commit e692759ea1
1 changed files with 63 additions and 63 deletions

View File

@ -1,68 +1,68 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup> <PropertyGroup>
<_PropertySheetDisplayName>Output directories</_PropertySheetDisplayName> <_PropertySheetDisplayName>Output directories</_PropertySheetDisplayName>
</PropertyGroup> </PropertyGroup>
<PropertyGroup> <PropertyGroup>
<OutDir Condition="'$(ConfigurationType)'=='DynamicLibrary'">$(AegisubBinaryDir)</OutDir> <OutDir Condition="'$(ConfigurationType)'=='DynamicLibrary'">$(AegisubBinaryDir)</OutDir>
<OutDir Condition="'$(ConfigurationType)'=='Application'">$(AegisubBinaryDir)</OutDir> <OutDir Condition="'$(ConfigurationType)'=='Application'">$(AegisubBinaryDir)</OutDir>
<OutDir Condition="'$(ConfigurationType)'=='StaticLibrary'">$(AegisubLibraryDir)</OutDir> <OutDir Condition="'$(ConfigurationType)'=='StaticLibrary'">$(AegisubLibraryDir)</OutDir>
<IntDir>$(AegisubObjectDir)</IntDir> <IntDir>$(AegisubObjectDir)</IntDir>
<TargetName Condition="'$(ConfigurationType)'=='DynamicLibrary'">$(ProjectName)_$(AegisubPlatformSuffix)</TargetName> <TargetName Condition="'$(ConfigurationType)'=='DynamicLibrary'">$(ProjectName)_$(AegisubPlatformSuffix)</TargetName>
<TargetName Condition="'$(ConfigurationType)'=='Application'">$(ProjectName)$(AegisubPlatformSuffix)</TargetName> <TargetName Condition="'$(ConfigurationType)'=='Application'">$(ProjectName)$(AegisubPlatformSuffix)</TargetName>
<TargetName Condition="'$(ConfigurationType)'=='StaticLibrary'">$(ProjectName)</TargetName> <TargetName Condition="'$(ConfigurationType)'=='StaticLibrary'">$(ProjectName)</TargetName>
</PropertyGroup> </PropertyGroup>
<ItemDefinitionGroup> <ItemDefinitionGroup>
<ClCompile> <ClCompile>
<InputRelativeSourceDir></InputRelativeSourceDir> <InputRelativeSourceDir></InputRelativeSourceDir>
</ClCompile> </ClCompile>
<Link> <Link>
<OutputFile>$(AegisubBinaryDir)$(TargetName)$(TargetExt)</OutputFile> <OutputFile>$(AegisubBinaryDir)$(TargetName)$(TargetExt)</OutputFile>
<ProgramDatabaseFile>$(AegisubBinaryDir)$(TargetName).pdb</ProgramDatabaseFile> <ProgramDatabaseFile>$(AegisubBinaryDir)$(TargetName).pdb</ProgramDatabaseFile>
<ImportLibrary>$(AegisubLibraryDir)$(ProjectName).lib</ImportLibrary> <ImportLibrary>$(AegisubLibraryDir)$(ProjectName).lib</ImportLibrary>
</Link> </Link>
<Lib> <Lib>
<OutputFile>$(AegisubLibraryDir)$(ProjectName).lib</OutputFile> <OutputFile>$(AegisubLibraryDir)$(ProjectName).lib</OutputFile>
</Lib> </Lib>
</ItemDefinitionGroup> </ItemDefinitionGroup>
<!-- Add ObjectFileName for ClCompile items that need to be placed in subdirs <!-- Add ObjectFileName for ClCompile items that need to be placed in subdirs
for linking to work, for projects with same-named files in separate dirs. for linking to work, for projects with same-named files in separate dirs.
To use this feature, add a InputRelativeSourceDir metadata to ClCompile for To use this feature, add a InputRelativeSourceDir metadata to ClCompile for
a project. a project.
--> -->
<PropertyGroup> <PropertyGroup>
<ComputeCompileInputsTargets> <ComputeCompileInputsTargets>
ComputeClRelativeObjectFileName; ComputeClRelativeObjectFileName;
$(ComputeCompileInputsTargets) $(ComputeCompileInputsTargets)
</ComputeCompileInputsTargets> </ComputeCompileInputsTargets>
</PropertyGroup> </PropertyGroup>
<Target <Target
Name="ComputeClRelativeObjectFileName" Name="ComputeClRelativeObjectFileName"
Inputs="@(ClCompile)" Inputs="@(ClCompile)"
Outputs="%(InputRelativeSourceDir)|%(RelativeDir)" Outputs="%(InputRelativeSourceDir)|%(RelativeDir)"
> >
<!-- Transform paths on items --> <!-- Transform paths on items -->
<CalculateOutputDir <CalculateOutputDir
Items="@(ClCompile)" Items="@(ClCompile)"
SourceDir="%(InputRelativeSourceDir)" SourceDir="%(InputRelativeSourceDir)"
DestinationDir="." DestinationDir="."
Condition="'%(ClCompile.InputRelativeSourceDir)' != ''" Condition="'%(ClCompile.InputRelativeSourceDir)' != ''"
> >
<Output ItemName="_RelativeClCompile" TaskParameter="Outputs" /> <Output ItemName="_RelativeClCompile" TaskParameter="Outputs" />
</CalculateOutputDir> </CalculateOutputDir>
<ItemGroup> <ItemGroup>
<!-- Add the ObjectFileName --> <!-- Add the ObjectFileName -->
<_RelativeClCompile Condition="'%(_RelativeClCompile.OutputDir)' != ''"> <_RelativeClCompile Condition="'%(_RelativeClCompile.OutputDir)' != ''">
<ObjectFileName>$(IntDir)%(_RelativeClCompile.OutputDir)</ObjectFileName> <ObjectFileName>$(IntDir)%(_RelativeClCompile.OutputDir)</ObjectFileName>
</_RelativeClCompile> </_RelativeClCompile>
<!-- Remove old items and replace them with new --> <!-- Remove old items and replace them with new -->
<ClCompile Remove="@(_RelativeClCompile->'%(Identity)')" /> <ClCompile Remove="@(_RelativeClCompile->'%(Identity)')" />
<ClCompile Include="@(_RelativeClCompile)" /> <ClCompile Include="@(_RelativeClCompile)" />
<!-- Forget about the temporary ones --> <!-- Forget about the temporary ones -->
<_RelativeClCompile Remove="@(_RelativeClCompile)" /> <_RelativeClCompile Remove="@(_RelativeClCompile)" />
</ItemGroup> </ItemGroup>
</Target> </Target>
</Project> </Project>