Allow YASM path to be set by an environment variable (YASMPATH)
This commit is contained in:
parent
a74604e2e7
commit
3cd873d01d
@ -9,13 +9,16 @@
|
||||
<YASMDependsOn
|
||||
Condition="'$(ConfigurationType)' != 'Makefile'">_SelectedFiles;$(YASMDependsOn)</YASMDependsOn>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<YasmPath Condition= "'$(YASMPATH)' == ''">C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\vsyasm</YasmPath>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup>
|
||||
<YASM>
|
||||
<Debug>False</Debug>
|
||||
<ObjectFile>$(IntDir)</ObjectFile>
|
||||
<PreProc>0</PreProc>
|
||||
<Parser>0</Parser>
|
||||
<CommandLineTemplate>"C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\vsyasm" -Xvc -f $(Platform) [AllOptions] [AdditionalOptions] [Inputs]</CommandLineTemplate>
|
||||
<CommandLineTemplate>"$(YasmPath)" -Xvc -f $(Platform) [AllOptions] [AdditionalOptions] [Inputs]</CommandLineTemplate>
|
||||
<Outputs>%(ObjectFile)</Outputs>
|
||||
<ExecutionDescription>Assembling %(Filename)%(Extension)</ExecutionDescription>
|
||||
<ShowOnlyRuleProperties>false</ShowOnlyRuleProperties>
|
||||
|
Loading…
Reference in New Issue
Block a user