Allow user to set the YASM path with or without an ending backslash in Visual Studio integration

This commit is contained in:
Brian Gladman 2019-10-12 15:02:44 +01:00
parent bcc01c59d8
commit ea8f239361

View 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>