• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3  <PropertyGroup
4    Condition="'$(NASMBeforeTargets)' == '' and '$(NASMAfterTargets)' == '' and '$(ConfigurationType)' != 'Makefile'">
5    <NASMBeforeTargets>Midl</NASMBeforeTargets>
6    <NASMAfterTargets>CustomBuild</NASMAfterTargets>
7  </PropertyGroup>
8  <PropertyGroup>
9    <NASMDependsOn
10      Condition="'$(ConfigurationType)' != 'Makefile'">_SelectedFiles;$(NASMDependsOn)</NASMDependsOn>
11  </PropertyGroup>
12  <ItemDefinitionGroup>
13    <NASM>
14      <OutFile>$(IntDir)%(Filename).obj</OutFile>
15      <BinFormat>win32</BinFormat>
16      <IncludeDir>%(RootDir)%(Directory)</IncludeDir>
17      <Defines>WIN32</Defines>
18      <CommandLineTemplate>nasm [BinFormat] [IncludeDir] [Defines] -o [OutFile] %(FullPath)</CommandLineTemplate>
19      <Outputs>[OutFile]</Outputs>
20      <ExecutionDescription>Assembling %(Filename)...</ExecutionDescription>
21      <ShowOnlyRuleProperties>false</ShowOnlyRuleProperties>
22    </NASM>
23  </ItemDefinitionGroup>
24</Project>