]> granicus.if.org Git - yasm/commitdiff
Allow user to set the YASM path with or without an ending backslash in Visual Studio... master
authorBrian Gladman <brg@gladman.plus.com>
Sat, 12 Oct 2019 14:02:44 +0000 (15:02 +0100)
committerBrian Gladman <brg@gladman.plus.com>
Sat, 12 Oct 2019 14:02:44 +0000 (15:02 +0100)
Mkfiles/vs/vsyasm.props

index 8e2269b6614b4ca28c7f394c8beb636834bcf288..9d5c14fa5103e7ef5337503d809b936bf3d36bb9 100644 (file)
@@ -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>