change vsyasm.props to use the YASM_PATH environment variable if present
authorBrian Gladman <brg@gladman.plus.com>
Thu, 27 Sep 2018 23:38:32 +0000 (00:38 +0100)
committerBrian Gladman <brg@gladman.plus.com>
Thu, 27 Sep 2018 23:38:32 +0000 (00:38 +0100)
Mkfiles/vc15/vsyasm.props

index 889097fa17adbd87abd749f49193dc7a269736cb..8e2269b6614b4ca28c7f394c8beb636834bcf288 100644 (file)
@@ -10,7 +10,7 @@
       Condition="'$(ConfigurationType)' != 'Makefile'">_SelectedFiles;$(YASMDependsOn)</YASMDependsOn>
   </PropertyGroup>
   <PropertyGroup>
-    <YasmPath Condition= "'$(YASMPATH)' == ''">C:\Program Files\yasm\</YasmPath>
+    <YASM_PATH Condition= "'$(YASM_PATH)' == ''">C:\Program Files\yasm\</YASM_PATH>
   </PropertyGroup>
   <ItemDefinitionGroup>
     <YASM>
       <ObjectFile>$(IntDir)%(FileName).obj</ObjectFile>
       <PreProc>0</PreProc>
       <Parser>0</Parser>
-      <CommandLineTemplate>"$(YasmPath)"vsyasm.exe -Xvc -f $(Platform) [AllOptions] [AdditionalOptions] [Inputs]</CommandLineTemplate>
+      <CommandLineTemplate>"$(YASM_PATH)"vsyasm.exe -Xvc -f $(Platform) [AllOptions] [AdditionalOptions] [Inputs]</CommandLineTemplate>
       <Outputs>%(ObjectFile)</Outputs>
       <ExecutionDescription>Assembling %(Filename)%(Extension) ==> $(IntDir)%(FileName).obj</ExecutionDescription>
       <ShowOnlyRuleProperties>false</ShowOnlyRuleProperties>
     </YASM>
   </ItemDefinitionGroup>
-</Project>
\ No newline at end of file
+</Project>