mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-23 18:14:06 +00:00
Fix build on Win32
On Windows, the platform name (Win32 or x64) is used as the object format parameter for vsyasm. However, vsyasm 1.3.0 expects the format name to be in lower case. This commit changes vsyasm.props so that the object format is converted to lower case. Fixes #168.
This commit is contained in:
parent
5f8e17d4ba
commit
7086bc144a
|
@ -9,16 +9,23 @@
|
|||
<YASMDependsOn
|
||||
Condition="'$(ConfigurationType)' != 'Makefile'">_SelectedFiles;$(YASMDependsOn)</YASMDependsOn>
|
||||
</PropertyGroup>
|
||||
<!-- Object format name for vsyasm must be in lower case. -->
|
||||
<PropertyGroup Condition="'$(Platform)' == 'Win32'">
|
||||
<YASMFormat>win32</YASMFormat>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Platform)' == 'x64'">
|
||||
<YASMFormat>win64</YASMFormat>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup>
|
||||
<YASM>
|
||||
<Debug>False</Debug>
|
||||
<ObjectFile>$(IntDir)</ObjectFile>
|
||||
<PreProc>0</PreProc>
|
||||
<Parser>0</Parser>
|
||||
<CommandLineTemplate>vsyasm.exe -Xvc -f $(Platform) [AllOptions] [AdditionalOptions] [Inputs]</CommandLineTemplate>
|
||||
<CommandLineTemplate>vsyasm.exe -Xvc -f $(YASMFormat) [AllOptions] [AdditionalOptions] [Inputs]</CommandLineTemplate>
|
||||
<Outputs>%(ObjectFile)</Outputs>
|
||||
<ExecutionDescription>Assembling %(Filename)%(Extension)</ExecutionDescription>
|
||||
<ShowOnlyRuleProperties>false</ShowOnlyRuleProperties>
|
||||
</YASM>
|
||||
</ItemDefinitionGroup>
|
||||
</Project>
|
||||
</Project>
|
||||
|
|
Loading…
Reference in a new issue