mirror of
https://github.com/dolphin-emu/dolphin
synced 2024-12-03 15:41:02 +00:00
33 lines
1.7 KiB
XML
33 lines
1.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project>
|
|
<Import Project="..\Source\VSProps\Base.Macros.props" />
|
|
<Import Project="$(VSPropsDir)Base.Targets.props" />
|
|
<PropertyGroup Label="Globals">
|
|
<ProjectGuid>{0E033BE3-2E08-428E-9AE9-BC673EFA12B5}</ProjectGuid>
|
|
</PropertyGroup>
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
|
<Import Project="$(VSPropsDir)Configuration.Utility.props" />
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
|
<ImportGroup Label="ExtensionSettings" />
|
|
<ImportGroup Label="PropertySheets">
|
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
<Import Project="$(VSPropsDir)Base.props" />
|
|
</ImportGroup>
|
|
<PropertyGroup Label="UserMacros" />
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
|
<ImportGroup Label="ExtensionTargets" />
|
|
<PropertyGroup>
|
|
<msgfmt>..\Externals\gettext\msgfmt</msgfmt>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<PoFiles Include="po\*.po" />
|
|
<MoFiles Include="@(PoFiles -> '$(OutDir)%(Filename).mo')" />
|
|
<MoFilesDst Include="@(MoFiles -> '$(BinaryOutputDir)Languages\%(Filename)%(Extension)')" />
|
|
</ItemGroup>
|
|
<Target Name="MsgFmtCompile" BeforeTargets="BuildGenerateSources" Inputs="@(PoFiles)" Outputs="@(MoFiles)">
|
|
<Exec Command='$(msgfmt) -o "$(OutDir)%(PoFiles.Filename).mo" "@(PoFiles)"' />
|
|
</Target>
|
|
<Target Name="MsgFmtCopy" AfterTargets="MsgFmtCompile" Inputs="@(MoFiles)" Outputs="@(MoFilesDst)">
|
|
<Copy SourceFiles="@(MoFiles)" DestinationFiles="@(MoFilesDst)" SkipUnchangedFiles="true" />
|
|
</Target>
|
|
</Project> |