Sandboxie/Sandboxie/msgs/Parse.vcxproj

71 lines
2.9 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="SbieRelease|Win32">
<Configuration>SbieRelease</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<Keyword>Win32Proj</Keyword>
<ProjectGuid>{7BA01954-12F1-4CEE-BA97-FAD3250D9776}</ProjectGuid>
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='SbieRelease|Win32'">
<PlatformToolset>v142</PlatformToolset>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='SbieRelease|Win32'">
<Import Project="..\Sandbox32.props" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='SbieRelease|Win32'">
<CustomBuildAfterTargets>Link</CustomBuildAfterTargets>
<OutDir>$(Configuration)\</OutDir>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='SbieRelease|Win32'">
<ClCompile>
<ShowIncludes>false</ShowIncludes>
<UndefinePreprocessorDefinitions>WIN32_LEAN_AND_MEAN</UndefinePreprocessorDefinitions>
<PreprocessorDefinitions>_CRT_NON_CONFORMING_SWPRINTFS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<EntryPointSymbol>
</EntryPointSymbol>
</Link>
<PostBuildEvent>
<Command>
</Command>
<Message>
</Message>
</PostBuildEvent>
<CustomBuildStep>
<Command>@echo off
setlocal enabledelayedexpansion enableextensions
Set PARSE_ARGS=
copy Sbie-English-1033.txt Text-English-1033.txt
for %%f in (Text-*.txt) do (Set PARSE_ARGS=%%f !PARSE_ARGS!)
$(Configuration)\parse %PARSE_ARGS% 2&gt; ParseOutput.log
if not errorlevel 1 goto end
echo *** PARSE FAILURE! ***
exit 1
:end
mc /h $(MSBuildProjectDirectory)\$(Configuration) /r $(MSBuildProjectDirectory)\$(Configuration) -u $(MSBuildProjectDirectory)\msgs.mc
</Command>
</CustomBuildStep>
<CustomBuildStep>
<Outputs>$(MSBuildProjectDirectory)\$(Configuration)\msgs.rc;$(MSBuildProjectDirectory)\$(Configuration)\msgs.h</Outputs>
<Message>***** Parsing messages file. Output in ParseOutput.log</Message>
</CustomBuildStep>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="parse.c" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>