mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-30 20:54:07 +00:00
7086bc144a
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.
32 lines
1.3 KiB
XML
32 lines
1.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<PropertyGroup
|
|
Condition="'$(YASMBeforeTargets)' == '' and '$(YASMAfterTargets)' == '' and '$(ConfigurationType)' != 'Makefile'">
|
|
<YASMBeforeTargets>Midl</YASMBeforeTargets>
|
|
<YASMAfterTargets>CustomBuild</YASMAfterTargets>
|
|
</PropertyGroup>
|
|
<PropertyGroup>
|
|
<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 $(YASMFormat) [AllOptions] [AdditionalOptions] [Inputs]</CommandLineTemplate>
|
|
<Outputs>%(ObjectFile)</Outputs>
|
|
<ExecutionDescription>Assembling %(Filename)%(Extension)</ExecutionDescription>
|
|
<ShowOnlyRuleProperties>false</ShowOnlyRuleProperties>
|
|
</YASM>
|
|
</ItemDefinitionGroup>
|
|
</Project>
|