summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Gladman <brg@gladman.plus.com>2019-10-12 15:02:44 +0100
committerBrian Gladman <brg@gladman.plus.com>2019-10-12 15:02:44 +0100
commitea8f2393611025c5d32ddfe022dddff5a1a5c989 (patch)
tree95aa4342073986c759b6f18d29e3e1c63fcf28fb
parentbcc01c59d8196f857989e6ae718458c296ca20e3 (diff)
downloadyasm-ea8f2393611025c5d32ddfe022dddff5a1a5c989.tar.gz
Allow user to set the YASM path with or without an ending backslash in Visual Studio integration
-rw-r--r--Mkfiles/vs/vsyasm.props2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mkfiles/vs/vsyasm.props b/Mkfiles/vs/vsyasm.props
index 8e2269b6..9d5c14fa 100644
--- a/Mkfiles/vs/vsyasm.props
+++ b/Mkfiles/vs/vsyasm.props
@@ -18,7 +18,7 @@
<ObjectFile>$(IntDir)%(FileName).obj</ObjectFile>
<PreProc>0</PreProc>
<Parser>0</Parser>
- <CommandLineTemplate>"$(YASM_PATH)"vsyasm.exe -Xvc -f $(Platform) [AllOptions] [AdditionalOptions] [Inputs]</CommandLineTemplate>
+ <CommandLineTemplate>"$(YASM_PATH.TrimEnd('\'))"\vsyasm.exe -Xvc -f $(Platform) [AllOptions] [AdditionalOptions] [Inputs]</CommandLineTemplate>
<Outputs>%(ObjectFile)</Outputs>
<ExecutionDescription>Assembling %(Filename)%(Extension) ==> $(IntDir)%(FileName).obj</ExecutionDescription>
<ShowOnlyRuleProperties>false</ShowOnlyRuleProperties>