From 9dfd72628a3089f37a09ef9aefc9825dd3200326 Mon Sep 17 00:00:00 2001 From: Ari Lemmetti Date: Fri, 6 Apr 2018 15:18:08 +0300 Subject: [PATCH] Workaround for compiling .asm files in Visual Studio 2017 # Conflicts: # build/kvazaar_lib/kvazaar_lib.vcxproj --- build/yasm/vsyasm.targets | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/build/yasm/vsyasm.targets b/build/yasm/vsyasm.targets index 3c084119..7bf0d2c9 100644 --- a/build/yasm/vsyasm.targets +++ b/build/yasm/vsyasm.targets @@ -20,7 +20,7 @@ AfterTargets="$(YASMAfterTargets)" Condition="'@(YASM)' != ''" DependsOnTargets="$(YASMDependsOn);ComputeYASMOutput" - Outputs="@(YASM->'%(ObjectFile)')" + Outputs="@(YASM->'$(ProjectDir)$(IntDir)%(Filename).obj')" Inputs="@(YASM);%(YASM.AdditionalDependencies);$(MSBuildProjectFile)"> @@ -32,7 +32,7 @@ - @(YASM, '|') + @(YASM->'%(FullPath)', '|') + File="$(TLogLocation)$(ProjectName).write.1.tlog" + Lines="^%(YASM_tlog.Source);@(YASM->'$(ProjectDir)$(IntDir)%(Filename).obj')" + Encoding="Unicode" />