Install headers before compiling rather than after

This commit is contained in:
Thomas Goyne 2014-05-13 08:05:39 -07:00
parent 95eb603f8d
commit 843412beb0

View file

@ -2,7 +2,7 @@
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Target <Target
Name="InstallHeaders" Name="InstallHeaders"
AfterTargets="ClCompile" BeforeTargets="ClCompile"
Inputs="@(InstallHeader)" Inputs="@(InstallHeader)"
Outputs="@(InstallHeader->Replace($(HeaderRoot), $(AegisubSourceBase)include))" Outputs="@(InstallHeader->Replace($(HeaderRoot), $(AegisubSourceBase)include))"
> >
@ -14,7 +14,7 @@
</Target> </Target>
<Target <Target
Name="InstallHeadersTo" Name="InstallHeadersTo"
AfterTargets="ClCompile" BeforeTargets="ClCompile"
Inputs="@(InstallHeaderTo)" Inputs="@(InstallHeaderTo)"
Outputs="@(InstallHeaderTo -> '$(AegisubSourceBase)include\%(Destination)%(Filename)%(Extension)')" Outputs="@(InstallHeaderTo -> '$(AegisubSourceBase)include\%(Destination)%(Filename)%(Extension)')"
> >