2014-06-25 03:57:43 +02:00
|
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2022-04-27 20:37:50 +02:00
|
|
|
|
<Project>
|
2020-08-21 05:27:07 +02:00
|
|
|
|
<Import Project="..\Source\VSProps\Base.Macros.props" />
|
2020-08-19 02:34:06 +02:00
|
|
|
|
<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" />
|
2022-04-03 00:22:02 +02:00
|
|
|
|
<ImportGroup Label="ExtensionSettings" />
|
2020-08-19 02:34:06 +02:00
|
|
|
|
<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" />
|
2011-02-01 06:30:27 +01:00
|
|
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
2022-04-03 00:22:02 +02:00
|
|
|
|
<ImportGroup Label="ExtensionTargets" />
|
|
|
|
|
<PropertyGroup>
|
|
|
|
|
<msgfmt>..\Externals\gettext\msgfmt</msgfmt>
|
|
|
|
|
</PropertyGroup>
|
2021-07-17 23:54:52 +02:00
|
|
|
|
<ItemGroup>
|
2022-04-03 00:22:02 +02:00
|
|
|
|
<PoFiles Include="po\*.po" />
|
|
|
|
|
<MoFiles Include="@(PoFiles -> '$(OutDir)%(Filename).mo')" />
|
|
|
|
|
<MoFilesDst Include="@(MoFiles -> '$(BinaryOutputDir)Languages\%(Filename)%(Extension)')" />
|
2021-07-17 23:54:52 +02:00
|
|
|
|
</ItemGroup>
|
2022-04-27 20:37:50 +02:00
|
|
|
|
<Target Name="MsgFmtCompile" BeforeTargets="BuildGenerateSources" Inputs="@(PoFiles)" Outputs="@(MoFiles)">
|
2022-04-03 00:22:02 +02:00
|
|
|
|
<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" />
|
2021-07-17 23:54:52 +02:00
|
|
|
|
</Target>
|
2013-10-19 11:27:57 +02:00
|
|
|
|
</Project>
|