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>
<ItemDefinitionGroup>
<ClCompile>
<ObjectFileName>$(IntDir)</ObjectFileName>
<ObjectFileName>$(IntDir)/%(Directory)</ObjectFileName>
</ClCompile>
<Link>
<OutputFile>$(AegisubBinaryDir)$(TargetName)$(TargetExt)</OutputFile>
@ -26,4 +26,4 @@
<OutputFile>$(AegisubLibraryDir)$(ProjectName).lib</OutputFile>
</Lib>
</ItemDefinitionGroup>
</Project>
</Project>