msbuild: use Build dir for Languages
This commit is contained in:
parent
0b18f8ae55
commit
bc22c74cd9
|
@ -16,10 +16,6 @@
|
|||
<Import Project="$(VSPropsDir)Base.props" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<!--Output directly to binary directory...-->
|
||||
<PropertyGroup>
|
||||
<OutDir>$(BinaryOutputDir)</OutDir>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<msgfmt Include="po\ar.po" />
|
||||
<msgfmt Include="po\ca.po" />
|
||||
|
@ -54,4 +50,10 @@
|
|||
<ImportGroup Label="ExtensionTargets">
|
||||
<Import Project="po.targets" />
|
||||
</ImportGroup>
|
||||
<ItemGroup>
|
||||
<PoFiles Include="$(OutDir)\**\*.*" />
|
||||
</ItemGroup>
|
||||
<Target Name="AfterBuild" Inputs="@(PoFiles)" Outputs="@(PoFiles -> '$(BinaryOutputDir)%(RecursiveDir)%(Filename)%(Extension)')">
|
||||
<Copy SourceFiles="@(PoFiles)" DestinationFolder="$(BinaryOutputDir)%(RecursiveDir)" />
|
||||
</Target>
|
||||
</Project>
|
Loading…
Reference in New Issue