1 <?xml version="1.0" encoding="utf-8"?>
2 <Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3 <ItemGroup Label="ProjectConfigurations">
4 <ProjectConfiguration Include="UnicodeDebug|Win32">
5 <Configuration>UnicodeDebug</Configuration>
6 <Platform>Win32</Platform>
7 </ProjectConfiguration>
8 <ProjectConfiguration Include="UnicodeDebug|x64">
9 <Configuration>UnicodeDebug</Configuration>
10 <Platform>x64</Platform>
11 </ProjectConfiguration>
12 <ProjectConfiguration Include="UnicodeRelease|Win32">
13 <Configuration>UnicodeRelease</Configuration>
14 <Platform>Win32</Platform>
15 </ProjectConfiguration>
16 <ProjectConfiguration Include="UnicodeRelease|x64">
17 <Configuration>UnicodeRelease</Configuration>
18 <Platform>x64</Platform>
19 </ProjectConfiguration>
21 <PropertyGroup Label="Globals">
22 <ProjectName>MergeLang</ProjectName>
23 <ProjectGuid>{4B011DDA-2279-437D-903C-8028913AF31B}</ProjectGuid>
24 <RootNamespace>MergeLang</RootNamespace>
25 <Keyword>Win32Proj</Keyword>
26 <WindowsTargetPlatformVersion>10.0.14393.0</WindowsTargetPlatformVersion>
28 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
29 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='UnicodeRelease|Win32'" Label="Configuration">
30 <ConfigurationType>Utility</ConfigurationType>
31 <CharacterSet>Unicode</CharacterSet>
32 <PlatformToolset>v140_xp</PlatformToolset>
34 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='UnicodeDebug|Win32'" Label="Configuration">
35 <ConfigurationType>Utility</ConfigurationType>
36 <CharacterSet>Unicode</CharacterSet>
37 <PlatformToolset>v140_xp</PlatformToolset>
39 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='UnicodeRelease|x64'" Label="Configuration">
40 <ConfigurationType>Utility</ConfigurationType>
41 <CharacterSet>Unicode</CharacterSet>
42 <PlatformToolset>v140_xp</PlatformToolset>
44 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='UnicodeDebug|x64'" Label="Configuration">
45 <ConfigurationType>Utility</ConfigurationType>
46 <CharacterSet>Unicode</CharacterSet>
47 <PlatformToolset>v140_xp</PlatformToolset>
49 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
50 <ImportGroup Label="ExtensionSettings">
52 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='UnicodeRelease|Win32'" Label="PropertySheets">
53 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
55 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='UnicodeDebug|Win32'" Label="PropertySheets">
56 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
58 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='UnicodeRelease|x64'" Label="PropertySheets">
59 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
61 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='UnicodeDebug|x64'" Label="PropertySheets">
62 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
64 <PropertyGroup Label="UserMacros" />
66 <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
67 <OutDir Condition="'$(Configuration)|$(Platform)'=='UnicodeDebug|Win32'">.\..\Build\MergeUnicodeDebug\</OutDir>
68 <IntDir Condition="'$(Configuration)|$(Platform)'=='UnicodeDebug|Win32'">.\..\BuildTmp\MergeLang\$(Configuration)\</IntDir>
69 <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='UnicodeDebug|Win32'">true</LinkIncremental>
70 <OutDir Condition="'$(Configuration)|$(Platform)'=='UnicodeDebug|x64'">.\..\Build\$(Platform)\Merge$(Configuration)\</OutDir>
71 <IntDir Condition="'$(Configuration)|$(Platform)'=='UnicodeDebug|x64'">.\..\BuildTmp\MergeLang\$(Platform)\$(Configuration)\</IntDir>
72 <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='UnicodeDebug|x64'">true</LinkIncremental>
73 <OutDir Condition="'$(Configuration)|$(Platform)'=='UnicodeRelease|Win32'">.\..\Build\MergeUnicodeRelease\</OutDir>
74 <IntDir Condition="'$(Configuration)|$(Platform)'=='UnicodeRelease|Win32'">.\..\BuildTmp\MergeLang\$(Configuration)\</IntDir>
75 <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='UnicodeRelease|Win32'">false</LinkIncremental>
76 <OutDir Condition="'$(Configuration)|$(Platform)'=='UnicodeRelease|x64'">.\..\Build\$(Platform)\Merge$(Configuration)\</OutDir>
77 <IntDir Condition="'$(Configuration)|$(Platform)'=='UnicodeRelease|x64'">.\..\BuildTmp\MergeLang\$(Platform)\$(Configuration)\</IntDir>
78 <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='UnicodeRelease|x64'">false</LinkIncremental>
80 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='UnicodeDebug|Win32'">
86 <Command>mkdir $(OutDir)\Languages\ 2> NUL
87 copy /Y "$(ProjectDir)..\Translations\WinMerge\*.po" "$(OutDir)\Languages\"</Command>
89 </ItemDefinitionGroup>
90 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='UnicodeDebug|x64'">
96 <TargetEnvironment>X64</TargetEnvironment>
99 <Command>pushd $(ProjectDir)..\Translations\WinMerge
100 cscript UpdatePoFilesFromPotFile.vbs
102 mkdir $(OutDir)\Languages\ 2> NUL
103 copy /Y "$(ProjectDir)..\Translations\WinMerge\*.po" "$(OutDir)\Languages\"</Command>
105 </ItemDefinitionGroup>
106 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='UnicodeRelease|Win32'">
112 <Command>pushd $(ProjectDir)..\Translations\WinMerge
113 cscript UpdatePoFilesFromPotFile.vbs
115 mkdir $(OutDir)\Languages\ 2> NUL
116 copy /Y "$(ProjectDir)..\Translations\WinMerge\*.po" "$(OutDir)\Languages\"
119 </ItemDefinitionGroup>
120 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='UnicodeRelease|x64'">
126 <TargetEnvironment>X64</TargetEnvironment>
129 <Command>pushd $(ProjectDir)..\Translations\WinMerge
130 cscript UpdatePoFilesFromPotFile.vbs
132 mkdir $(OutDir)\Languages\ 2> NUL
133 copy /Y "$(ProjectDir)..\Translations\WinMerge\*.po" "$(OutDir)\Languages\"</Command>
135 </ItemDefinitionGroup>
137 <CustomBuild Include="Merge.rc">
138 <Command>pushd ..\Translations\WinMerge
140 cscript CreateMasterPotFile.vbs
141 cscript UpdatePoFilesFromPotFile.vbs
144 <Command>pushd ..\Translations\WinMerge
145 date /t > MergeLang.lastbuild
146 attrib -a English.pot
147 del English.pot.prev English.pot.flt English.pot.prev.flt 2> NUL
148 move English.pot English.pot.prev 2> NUL
149 cscript CreateMasterPotFile.vbs
150 attrib -a English.pot
151 findstr /v POT-Creation-Date English.pot > English.pot.flt
152 findstr /v POT-Creation-Date English.pot.prev > English.pot.prev.flt
153 fc English.pot.flt English.pot.prev.flt
154 if not errorlevel 1 copy /y English.pot.prev English.pot
155 del English.pot.prev English.pot.flt English.pot.prev.flt
156 cscript UpdatePoFilesFromPotFile.vbs
159 <Outputs>$(ProjectDir)..\Translations\WinMerge\MergeLang.lastbuild</Outputs>
163 <None Include="..\Translations\WinMerge\CreateMasterPotFile.vbs" />
164 <None Include="..\Translations\WinMerge\UpdatePoFilesFromPotFile.vbs" />
166 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
167 <ImportGroup Label="ExtensionTargets">