From 627e1c29a425af7791ae6fe8a7b4d3815e3398e0 Mon Sep 17 00:00:00 2001 From: Brian Gladman Date: Thu, 27 Sep 2018 18:34:45 +0100 Subject: Update the files for integrating YASM into Visual Studio 2017 --- Mkfiles/vc15/vsyasm.props | 6 +-- Mkfiles/vc15/vsyasm.targets | 118 ++++++++++++++++++++++---------------------- 2 files changed, 63 insertions(+), 61 deletions(-) diff --git a/Mkfiles/vc15/vsyasm.props b/Mkfiles/vc15/vsyasm.props index 80b93c7e..889097fa 100644 --- a/Mkfiles/vc15/vsyasm.props +++ b/Mkfiles/vc15/vsyasm.props @@ -10,17 +10,17 @@ Condition="'$(ConfigurationType)' != 'Makefile'">_SelectedFiles;$(YASMDependsOn) - $(VCInstallDir)bin\ + C:\Program Files\yasm\ False - $(IntDir) + $(IntDir)%(FileName).obj 0 0 "$(YasmPath)"vsyasm.exe -Xvc -f $(Platform) [AllOptions] [AdditionalOptions] [Inputs] %(ObjectFile) - Assembling %(Filename)%(Extension) + Assembling %(Filename)%(Extension) ==> $(IntDir)%(FileName).obj false diff --git a/Mkfiles/vc15/vsyasm.targets b/Mkfiles/vc15/vsyasm.targets index 3c084119..c62d6626 100644 --- a/Mkfiles/vc15/vsyasm.targets +++ b/Mkfiles/vc15/vsyasm.targets @@ -1,5 +1,6 @@  + @@ -8,40 +9,75 @@ _YASM + + + + $(ComputeLinkInputsTargets); + ComputeYASMOutput; + + + $(ComputeLibInputsTargets); + ComputeYASMOutput; + + + $(MSBuildThisFileDirectory)$(MSBuildThisFileName).xml + + + + + <_YASMReadTlog + Include="^%(YASM.FullPath);%(YASM.AdditionalDependencies)" + Condition="'%(YASM.ExcludedFromBuild)' != 'true' and '%(YASM.ObjectFile)' != ''"/> + <_YASMWriteTlog + Include="^%(YASM.FullPath);'$(MSBuildProjectDirectory)%(YASM.ObjectFile)'" + Condition="'%(YASM.ExcludedFromBuild)' != 'true' and '%(YASM.ObjectFile)' != ''"/> + + + + + + + + <_MasmReadTlog Remove="@(_MasmReadTlog)" /> + <_MasmWriteTlog Remove="@(_MasmWriteTlog)" /> + + + + - - - - - - @(YASM, '|') - + Inputs="%(YASM.Identity);%(YASM.AdditionalDependencies);$(MSBuildProjectFile)" + Outputs="%(YASM.ObjectFile)" + DependsOnTargets="PrepareForBuild;_WriteYasmTlogs;_SelectedFiles;$(YASMDependsOn);"> + + + + - + + Inputs="%(YASM.Identity)" /> - - - $(ComputeLinkInputsTargets); - ComputeYASMOutput; - - - $(ComputeLibInputsTargets); - ComputeYASMOutput; - - + - - - - - - - - - - + + - + \ No newline at end of file -- cgit v1.2.1