tunsafe-clang15/crypto/tools/nasm.props

18 lines
1.1 KiB
Text
Raw Permalink Normal View History

<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup
Condition="'$(NASMBeforeTargets)' == '' and '$(NASMAfterTargets)' == '' and '$(ConfigurationType)' != 'Makefile'">
<NASMBeforeTargets>Midl</NASMBeforeTargets>
<NASMAfterTargets>CustomBuild</NASMAfterTargets>
</PropertyGroup>
<ItemDefinitionGroup>
<NASM>
<OutputFormat>$(IntDir)%(FileName).obj</OutputFormat>
<PackAlignmentBoundary>0</PackAlignmentBoundary>
<CommandLineTemplate Condition="'$(Platform)' == 'Win32'">c:\dev\nasm\nasm.exe -f win32 [AllOptions] [AdditionalOptions] %(FullPath)</CommandLineTemplate>
<CommandLineTemplate Condition="'$(Platform)' == 'X64'">c:\dev\nasm\nasm.exe -f win64 [AllOptions] [AdditionalOptions] %(FullPath)</CommandLineTemplate>
<CommandLineTemplate Condition="'$(Platform)' != 'Win32' and '$(Platform)' != 'X64'">echo NASM not supported on this platform</CommandLineTemplate>
<ExecutionDescription>Assembling [Inputs]...</ExecutionDescription>
</NASM>
</ItemDefinitionGroup>
</Project>