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