msbuild: use Build dir for Languages
This commit is contained in:
parent
0b18f8ae55
commit
bc22c74cd9
|
@ -16,10 +16,6 @@
|
||||||
<Import Project="$(VSPropsDir)Base.props" />
|
<Import Project="$(VSPropsDir)Base.props" />
|
||||||
</ImportGroup>
|
</ImportGroup>
|
||||||
<PropertyGroup Label="UserMacros" />
|
<PropertyGroup Label="UserMacros" />
|
||||||
<!--Output directly to binary directory...-->
|
|
||||||
<PropertyGroup>
|
|
||||||
<OutDir>$(BinaryOutputDir)</OutDir>
|
|
||||||
</PropertyGroup>
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<msgfmt Include="po\ar.po" />
|
<msgfmt Include="po\ar.po" />
|
||||||
<msgfmt Include="po\ca.po" />
|
<msgfmt Include="po\ca.po" />
|
||||||
|
@ -54,4 +50,10 @@
|
||||||
<ImportGroup Label="ExtensionTargets">
|
<ImportGroup Label="ExtensionTargets">
|
||||||
<Import Project="po.targets" />
|
<Import Project="po.targets" />
|
||||||
</ImportGroup>
|
</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>
|
</Project>
|
Loading…
Reference in New Issue