Skip to content
Permalink
Browse files
Merge pull request #9903 from shuffle2/msbuild-lang
msbuild: use Build dir for Languages
  • Loading branch information
Tilka committed Jul 18, 2021
2 parents 2adbd77 + bc22c74 commit e9068e1
Showing 1 changed file with 6 additions and 4 deletions.
@@ -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>

0 comments on commit e9068e1

Please sign in to comment.