Use the full path to the source file for the intermediate file location

This fixes the issues with multiple files in different directories with
the same name overwriting each other's object files.
This commit is contained in:
Thomas Goyne 2012-11-01 17:25:21 -07:00
parent 8ad1e2d4a9
commit a4e96f22f7
1 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@
</PropertyGroup> </PropertyGroup>
<ItemDefinitionGroup> <ItemDefinitionGroup>
<ClCompile> <ClCompile>
<ObjectFileName>$(IntDir)</ObjectFileName> <ObjectFileName>$(IntDir)/%(Directory)</ObjectFileName>
</ClCompile> </ClCompile>
<Link> <Link>
<OutputFile>$(AegisubBinaryDir)$(TargetName)$(TargetExt)</OutputFile> <OutputFile>$(AegisubBinaryDir)$(TargetName)$(TargetExt)</OutputFile>