<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup
    Condition="'$(MASMBeforeTargets)' == '' and '$(MASMAfterTargets)' == '' and '$(ConfigurationType)' != 'Makefile'">
    <MASMBeforeTargets>Midl</MASMBeforeTargets>
    <MASMAfterTargets>CustomBuild</MASMAfterTargets>
  </PropertyGroup>
  <ItemDefinitionGroup>
    <MASM>
      <NoLogo>true</NoLogo>
      <GenerateDebugInformation>true</GenerateDebugInformation>
      <ObjectFileName>$(IntDir)%(FileName).obj</ObjectFileName>
      <PPFileName>$(IntDir)%(FileName).i</PPFileName>
      <PreserveIdentifierCase>0</PreserveIdentifierCase>
      <WarningLevel>3</WarningLevel>
      <PackAlignmentBoundary>0</PackAlignmentBoundary>
      <CallingConvention>0</CallingConvention>
      <ErrorReporting>0</ErrorReporting>
      <CommandLineTemplate Condition="'$(Platform)' == 'Win32'">ml.exe /c [AllOptions] [AdditionalOptions] /Ta[Inputs]</CommandLineTemplate>
      <CommandLineTemplate Condition="'$(Platform)' == 'X64'">$(ML64) /c [AllOptions] [AdditionalOptions] /Ta[Inputs]</CommandLineTemplate>
      <CommandLineTemplate Condition="'$(Platform)' == 'arm64'">"$(Arm64MasmTool)" -o %(MASM.ObjectFileName) %(MASM.PPFileName) [AdditionalOptions]</CommandLineTemplate>
      <CommandLineTemplate Condition="'$(Platform)' != 'Win32' and '$(Platform)' != 'X64' and '$(Platform)' !='arm64'">echo MASM not supported on this platform</CommandLineTemplate>
      <ExecutionDescription>Assembling [Inputs]...</ExecutionDescription>
    </MASM>
  </ItemDefinitionGroup>
</Project>
