[mod_av] Use pre-compiled FFmpeg 7.1.5 binary on Windows

This commit is contained in:
Andrey Volk
2026-07-03 21:57:07 +03:00
committed by GitHub
parent 225a5e197e
commit 2096190199
19 changed files with 63 additions and 9913 deletions
+3 -4
View File
@@ -16,13 +16,12 @@ jobs:
- name: Download yasm.exe
run: |
curl -o libs\win32\ffmpeg\yasm.exe https://files.freeswitch.org/downloads/win64/yasm-1.3.0.87.g121a.exe
copy libs\win32\ffmpeg\yasm.exe libs\win32\libvpx\yasm.exe
curl -o libs\win32\libvpx\yasm.exe https://files.freeswitch.org/downloads/win64/yasm-1.3.0.87.g121a.exe
- name: Verify and Run yasm.exe
run: |
if exist libs\win32\ffmpeg\yasm.exe (
libs\win32\ffmpeg\yasm.exe --version
if exist libs\win32\libvpx\yasm.exe (
libs\win32\libvpx\yasm.exe --version
) else (
echo ERROR: yasm.exe not found!
exit 1
-35
View File
@@ -460,12 +460,8 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "freetype.2017", "libs\win32
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mod_png", "src\mod\formats\mod_png\mod_png.2017.vcxproj", "{FBC7E2A4-B989-4289-BA7F-68F440E9EF8B}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libav", "libs\win32\libav\libav.2017.vcxproj", "{841C345F-FCC7-4F64-8F54-0281CEABEB01}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mod_av", "src\mod\applications\mod_av\mod_av.2017.vcxproj", "{7AEE504B-23B6-4B05-829E-7CD34855F146}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libx264", "libs\win32\libx264\libx264.2017.vcxproj", "{20179127-853B-4FE9-B7C0-9E817E6A3A72}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mod_http_cache", "src\mod\applications\mod_http_cache\mod_http_cache.2017.vcxproj", "{87933C2D-0159-46F7-B326-E1B6E982C21E}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mod_codec2", "src\mod\codecs\mod_codec2\mod_codec2.2017.vcxproj", "{CB4E68A1-8D19-4B5E-87B9-97A895E1BA17}"
@@ -510,8 +506,6 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "48khz music", "libs\win32\S
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mod_signalwire", "src\mod\applications\mod_signalwire\mod_signalwire.2017.vcxproj", "{B19AE6FC-BFFF-428D-B483-3BBEAECCC618}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ffmpeg", "libs\win32\ffmpeg\ffmpeg.2017.vcxproj", "{BC1FD72E-1CD5-4525-A7F5-17C5740BFDED}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Setup.CA.DownloadOpenH264", "w32\Setup\CustomActions\Setup.CA.DownloadOpenH264\Setup.CA.DownloadOpenH264.csproj", "{EBFDCFCA-8095-4ECC-98BE-B494BCB4E042}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Databases", "Databases", "{31C2761D-20E0-4BF8-98B9-E32F0D8DD6E1}"
@@ -2006,14 +2000,6 @@ Global
{FBC7E2A4-B989-4289-BA7F-68F440E9EF8B}.Release|Win32.Build.0 = Release|Win32
{FBC7E2A4-B989-4289-BA7F-68F440E9EF8B}.Release|x64.ActiveCfg = Release|x64
{FBC7E2A4-B989-4289-BA7F-68F440E9EF8B}.Release|x64.Build.0 = Release|x64
{841C345F-FCC7-4F64-8F54-0281CEABEB01}.All|Win32.ActiveCfg = Release|Win32
{841C345F-FCC7-4F64-8F54-0281CEABEB01}.All|Win32.Build.0 = Release|Win32
{841C345F-FCC7-4F64-8F54-0281CEABEB01}.All|x64.ActiveCfg = Release|x64
{841C345F-FCC7-4F64-8F54-0281CEABEB01}.All|x64.Build.0 = Release|x64
{841C345F-FCC7-4F64-8F54-0281CEABEB01}.Debug|Win32.ActiveCfg = Debug|Win32
{841C345F-FCC7-4F64-8F54-0281CEABEB01}.Debug|x64.ActiveCfg = Debug|x64
{841C345F-FCC7-4F64-8F54-0281CEABEB01}.Release|Win32.ActiveCfg = Release|Win32
{841C345F-FCC7-4F64-8F54-0281CEABEB01}.Release|x64.ActiveCfg = Release|x64
{7AEE504B-23B6-4B05-829E-7CD34855F146}.All|Win32.ActiveCfg = Release-x264|Win32
{7AEE504B-23B6-4B05-829E-7CD34855F146}.All|Win32.Build.0 = Release-x264|Win32
{7AEE504B-23B6-4B05-829E-7CD34855F146}.All|x64.ActiveCfg = Release-x264|x64
@@ -2024,14 +2010,6 @@ Global
{7AEE504B-23B6-4B05-829E-7CD34855F146}.Release|Win32.ActiveCfg = Release-x264|Win32
{7AEE504B-23B6-4B05-829E-7CD34855F146}.Release|x64.ActiveCfg = Release-openh264|x64
{7AEE504B-23B6-4B05-829E-7CD34855F146}.Release|x64.Build.0 = Release-openh264|x64
{20179127-853B-4FE9-B7C0-9E817E6A3A72}.All|Win32.ActiveCfg = Release|Win32
{20179127-853B-4FE9-B7C0-9E817E6A3A72}.All|Win32.Build.0 = Release|Win32
{20179127-853B-4FE9-B7C0-9E817E6A3A72}.All|x64.ActiveCfg = Release|x64
{20179127-853B-4FE9-B7C0-9E817E6A3A72}.All|x64.Build.0 = Release|x64
{20179127-853B-4FE9-B7C0-9E817E6A3A72}.Debug|Win32.ActiveCfg = Debug|Win32
{20179127-853B-4FE9-B7C0-9E817E6A3A72}.Debug|x64.ActiveCfg = Debug|x64
{20179127-853B-4FE9-B7C0-9E817E6A3A72}.Release|Win32.ActiveCfg = Release|Win32
{20179127-853B-4FE9-B7C0-9E817E6A3A72}.Release|x64.ActiveCfg = Release|x64
{87933C2D-0159-46F7-B326-E1B6E982C21E}.All|Win32.ActiveCfg = Release|Win32
{87933C2D-0159-46F7-B326-E1B6E982C21E}.All|Win32.Build.0 = Release|Win32
{87933C2D-0159-46F7-B326-E1B6E982C21E}.All|x64.ActiveCfg = Release|x64
@@ -2272,16 +2250,6 @@ Global
{B19AE6FC-BFFF-428D-B483-3BBEAECCC618}.Release|Win32.Build.0 = Release|Win32
{B19AE6FC-BFFF-428D-B483-3BBEAECCC618}.Release|x64.ActiveCfg = Release|x64
{B19AE6FC-BFFF-428D-B483-3BBEAECCC618}.Release|x64.Build.0 = Release|x64
{BC1FD72E-1CD5-4525-A7F5-17C5740BFDED}.All|Win32.ActiveCfg = Debug-openh264|x64
{BC1FD72E-1CD5-4525-A7F5-17C5740BFDED}.All|Win32.Build.0 = Debug-openh264|x64
{BC1FD72E-1CD5-4525-A7F5-17C5740BFDED}.All|x64.ActiveCfg = Debug-openh264|x64
{BC1FD72E-1CD5-4525-A7F5-17C5740BFDED}.All|x64.Build.0 = Debug-openh264|x64
{BC1FD72E-1CD5-4525-A7F5-17C5740BFDED}.Debug|Win32.ActiveCfg = Debug-openh264|x64
{BC1FD72E-1CD5-4525-A7F5-17C5740BFDED}.Debug|x64.ActiveCfg = Debug-openh264|x64
{BC1FD72E-1CD5-4525-A7F5-17C5740BFDED}.Debug|x64.Build.0 = Debug-openh264|x64
{BC1FD72E-1CD5-4525-A7F5-17C5740BFDED}.Release|Win32.ActiveCfg = Debug-openh264|x64
{BC1FD72E-1CD5-4525-A7F5-17C5740BFDED}.Release|x64.ActiveCfg = Release-openh264|x64
{BC1FD72E-1CD5-4525-A7F5-17C5740BFDED}.Release|x64.Build.0 = Release-openh264|x64
{EBFDCFCA-8095-4ECC-98BE-B494BCB4E042}.All|Win32.ActiveCfg = Release|x86
{EBFDCFCA-8095-4ECC-98BE-B494BCB4E042}.All|Win32.Build.0 = Release|x86
{EBFDCFCA-8095-4ECC-98BE-B494BCB4E042}.All|x64.ActiveCfg = Release|x86
@@ -2545,9 +2513,7 @@ Global
{D6973076-9317-4EF2-A0B8-B7A18AC0713E} = {EB910B0D-F27D-4B62-B67B-DE834C99AC5B}
{78B079BD-9FC7-4B9E-B4A6-96DA0F00248B} = {EB910B0D-F27D-4B62-B67B-DE834C99AC5B}
{FBC7E2A4-B989-4289-BA7F-68F440E9EF8B} = {A5A27244-AD24-46E5-B01B-840CD296C91D}
{841C345F-FCC7-4F64-8F54-0281CEABEB01} = {EB910B0D-F27D-4B62-B67B-DE834C99AC5B}
{7AEE504B-23B6-4B05-829E-7CD34855F146} = {E72B5BCB-6462-4D23-B419-3AF1A4AC3D78}
{20179127-853B-4FE9-B7C0-9E817E6A3A72} = {EB910B0D-F27D-4B62-B67B-DE834C99AC5B}
{87933C2D-0159-46F7-B326-E1B6E982C21E} = {E72B5BCB-6462-4D23-B419-3AF1A4AC3D78}
{CB4E68A1-8D19-4B5E-87B9-97A895E1BA17} = {F881ADA2-2F1A-4046-9FEB-191D9422D781}
{7AC7AB4F-5EF3-40A0-AD2B-CF4D9720FAC3} = {9ADF1E48-2F5C-4ED7-A893-596259FABFE0}
@@ -2569,7 +2535,6 @@ Global
{8154C82D-58EE-4145-9DEC-A445A5AA3D6B} = {4F227C26-768F-46A3-8684-1D08A46FB374}
{EBD0B6B4-C5CA-46B0-BBC7-DBA71DF05D31} = {4F227C26-768F-46A3-8684-1D08A46FB374}
{B19AE6FC-BFFF-428D-B483-3BBEAECCC618} = {E72B5BCB-6462-4D23-B419-3AF1A4AC3D78}
{BC1FD72E-1CD5-4525-A7F5-17C5740BFDED} = {EB910B0D-F27D-4B62-B67B-DE834C99AC5B}
{1BA65811-5453-46F6-8190-9ECEEFEB7DF2} = {31C2761D-20E0-4BF8-98B9-E32F0D8DD6E1}
{0B612F84-7533-4DEC-AEDD-5C9CBCF15EAC} = {31C2761D-20E0-4BF8-98B9-E32F0D8DD6E1}
{580675D7-C1C9-4197-AAC5-00F64FAFDE78} = {9388C266-C3FC-468A-92EF-0CBC35941412}
+1
View File
@@ -576,3 +576,4 @@ mariadb-connector-c-*
win32/spandsp/spandsp.h
win32/spandsp/win32
libcodec2-*
ffmpeg-*
File diff suppressed because it is too large Load Diff
-1
View File
@@ -1 +0,0 @@
1
File diff suppressed because it is too large Load Diff
-492
View File
@@ -1,492 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectName>libx264</ProjectName>
<ProjectGuid>{20179127-853B-4FE9-B7C0-9E817E6A3A72}</ProjectGuid>
<RootNamespace>libx264</RootNamespace>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<Import Project="$(SolutionDir)\w32\vsyasm.props" Condition=" '$(vsyasmPropsImported)' == '' " />
<Import Project="$(SolutionDir)\w32\download_libx264.props" Condition=" '$(libx264PropsImported)' == '' " />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>$(DefaultPlatformToolset)</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>$(DefaultPlatformToolset)</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>$(DefaultPlatformToolset)</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>$(DefaultPlatformToolset)</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
<Import Project="$(SolutionDir)libs\win32\libx264\vsyasm.props" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\..\..\w32\extdll.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\..\..\w32\extdll.props" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\..\..\w32\extdll.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\..\..\w32\extdll.props" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<TargetName>libx264</TargetName>
<CustomBuildAfterTargets>Clean</CustomBuildAfterTargets>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<TargetName>libx264</TargetName>
<CustomBuildAfterTargets>Clean</CustomBuildAfterTargets>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<TargetName>libx264</TargetName>
<CustomBuildAfterTargets>Clean</CustomBuildAfterTargets>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<TargetName>libx264</TargetName>
<CustomBuildAfterTargets>Clean</CustomBuildAfterTargets>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<Optimization>Disabled</Optimization>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<PreprocessorDefinitions>__ICL;WIN32;_WIN32_WINNT=0x0502;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>..\..\libx264\;..\..\libx264\SMP\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<C99Support>true</C99Support>
<ExceptionHandling>false</ExceptionHandling>
<WarningLevel>Level3</WarningLevel>
<DisableSpecificWarnings>4996;4244;4267;4003;4018;4305;%(DisableSpecificWarnings)</DisableSpecificWarnings>
<BasicRuntimeChecks>StackFrameRuntimeCheck</BasicRuntimeChecks>
</ClCompile>
<Link>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
<Lib>
<TargetMachine>MachineX86</TargetMachine>
<SubSystem>Windows</SubSystem>
</Lib>
<YASM>
<IncludePaths>$(SolutionDir)libs\libx264\common\x86;%(IncludePaths)</IncludePaths>
<Defines>PREFIX;STACK_ALIGNMENT=4;HIGH_BIT_DEPTH=0;BIT_DEPTH=8;WIN32=1;ARCH_X86_64=0;%(Defines)</Defines>
<ErrorFile>
</ErrorFile>
</YASM>
<PreBuildEvent>
<Command>if exist ..\..\libx264\config.h (
del ..\..\libx264\config.h
)
if exist ..\..\libx264\x264_config.h (
del ..\..\libx264\x264_config.h
)
if exist ..\..\libx264\common\oclobj.h (
del ..\..\libx264\common\oclobj.h
)
if not exist ..\..\libx264\SMP\common\oclobj.h (
echo "Error: Missing oclobj.h, can not regenerate!"
exit /b 1
)
</Command>
</PreBuildEvent>
<PostBuildEvent>
<Command>copy ..\..\libx264\COPYING $(OutDir)\x264.txt</Command>
</PostBuildEvent>
<CustomBuildStep>
<Message>Custom Clean Step</Message>
</CustomBuildStep>
<CustomBuildStep>
<Outputs>force_clean</Outputs>
<Command>if exist $(OutDir)\x264.txt (
del /f /q $(OutDir)\x264.txt
)</Command>
</CustomBuildStep>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<Optimization>Disabled</Optimization>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<PreprocessorDefinitions>__ICL;WIN32;_WIN32_WINNT=0x0600;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>..\..\libx264\;..\..\libx264\SMP\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<C99Support>true</C99Support>
<ExceptionHandling>false</ExceptionHandling>
<WarningLevel>Level3</WarningLevel>
<DisableSpecificWarnings>4996;4244;4267;4003;4018;4305;%(DisableSpecificWarnings)</DisableSpecificWarnings>
<BasicRuntimeChecks>StackFrameRuntimeCheck</BasicRuntimeChecks>
</ClCompile>
<Link>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
<Lib>
<TargetMachine>MachineX64</TargetMachine>
<SubSystem>Windows</SubSystem>
</Lib>
<YASM>
<IncludePaths>$(SolutionDir)libs\libx264\common\x86;%(IncludePaths)</IncludePaths>
<Defines>STACK_ALIGNMENT=16;HIGH_BIT_DEPTH=0;BIT_DEPTH=8;WIN32=1;ARCH_X86_64=1;%(Defines)</Defines>
</YASM>
<PreBuildEvent>
<Command>if exist ..\..\libx264\config.h (
del ..\..\libx264\config.h
)
if exist ..\..\libx264\x264_config.h (
del ..\..\libx264\x264_config.h
)
if exist ..\..\libx264\common\oclobj.h (
del ..\..\libx264\common\oclobj.h
)
if not exist ..\..\libx264\SMP\common\oclobj.h (
echo "Error: Missing oclobj.h, can not regenerate!"
exit /b 1
)
</Command>
</PreBuildEvent>
<PostBuildEvent>
<Command>copy ..\..\libx264\COPYING $(OutDir)\x264.txt</Command>
</PostBuildEvent>
<CustomBuildStep>
<Message>Custom Clean Step</Message>
</CustomBuildStep>
<CustomBuildStep>
<Outputs>force_clean</Outputs>
<Command>if exist $(OutDir)\x264.txt (
del /f /q $(OutDir)\x264.txt
)</Command>
</CustomBuildStep>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<EnableFiberSafeOptimizations>true</EnableFiberSafeOptimizations>
<OmitFramePointers>true</OmitFramePointers>
<StringPooling>true</StringPooling>
<BufferSecurityCheck>false</BufferSecurityCheck>
<FloatingPointModel>Fast</FloatingPointModel>
<FloatingPointExceptions>false</FloatingPointExceptions>
<PreprocessorDefinitions>__ICL;WIN32;_WIN32_WINNT=0x0502;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>..\..\libx264\;..\..\libx264\SMP\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<UseProcessorExtensions>SSE3</UseProcessorExtensions>
<C99Support>true</C99Support>
<ExceptionHandling>false</ExceptionHandling>
<InterproceduralOptimization>SingleFile</InterproceduralOptimization>
<WarningLevel>Level3</WarningLevel>
<DisableSpecificWarnings>4996;4244;4267;4003;4018;4305;%(DisableSpecificWarnings)</DisableSpecificWarnings>
</ClCompile>
<Link>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
<Lib>
<TargetMachine>MachineX86</TargetMachine>
<SubSystem>Windows</SubSystem>
</Lib>
<YASM>
<IncludePaths>$(SolutionDir)libs\libx264\common\x86;%(IncludePaths)</IncludePaths>
<Defines>PREFIX;STACK_ALIGNMENT=4;HIGH_BIT_DEPTH=0;BIT_DEPTH=8;WIN32=1;ARCH_X86_64=0;%(Defines)</Defines>
</YASM>
<PreBuildEvent>
<Command>if exist ..\..\libx264\config.h (
del ..\..\libx264\config.h
)
if exist ..\..\libx264\x264_config.h (
del ..\..\libx264\x264_config.h
)
if exist ..\..\libx264\common\oclobj.h (
del ..\..\libx264\common\oclobj.h
)
if not exist ..\..\libx264\SMP\common\oclobj.h (
echo "Error: Missing oclobj.h, can not regenerate!"
exit /b 1
)
</Command>
</PreBuildEvent>
<PostBuildEvent>
<Command>copy ..\..\libx264\COPYING $(OutDir)\x264.txt</Command>
</PostBuildEvent>
<CustomBuildStep>
<Message>Custom Clean Step</Message>
</CustomBuildStep>
<CustomBuildStep>
<Outputs>force_clean</Outputs>
<Command>if exist $(OutDir)\x264.txt (
del /f /q $(OutDir)\x264.txt
)</Command>
</CustomBuildStep>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<EnableFiberSafeOptimizations>true</EnableFiberSafeOptimizations>
<OmitFramePointers>true</OmitFramePointers>
<StringPooling>true</StringPooling>
<BufferSecurityCheck>false</BufferSecurityCheck>
<FloatingPointModel>Fast</FloatingPointModel>
<FloatingPointExceptions>false</FloatingPointExceptions>
<PreprocessorDefinitions>__ICL;WIN32;_WIN32_WINNT=0x0600;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>..\..\libx264\;..\..\libx264\SMP\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<UseProcessorExtensions>SSE3</UseProcessorExtensions>
<C99Support>true</C99Support>
<ExceptionHandling>false</ExceptionHandling>
<InterproceduralOptimization>SingleFile</InterproceduralOptimization>
<WarningLevel>Level3</WarningLevel>
<DisableSpecificWarnings>4996;4244;4267;4003;4018;4305;%(DisableSpecificWarnings)</DisableSpecificWarnings>
</ClCompile>
<Link>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
<Lib>
<TargetMachine>MachineX64</TargetMachine>
<SubSystem>Windows</SubSystem>
</Lib>
<YASM>
<IncludePaths>$(SolutionDir)libs\libx264\common\x86;%(IncludePaths)</IncludePaths>
<Defines>STACK_ALIGNMENT=16;HIGH_BIT_DEPTH=0;BIT_DEPTH=8;WIN32=1;ARCH_X86_64=1;%(Defines)</Defines>
</YASM>
<PreBuildEvent>
<Command>if exist ..\..\libx264\config.h (
del ..\..\libx264\config.h
)
if exist ..\..\libx264\x264_config.h (
del ..\..\libx264\x264_config.h
)
if exist ..\..\libx264\common\oclobj.h (
del ..\..\libx264\common\oclobj.h
)
if not exist ..\..\libx264\SMP\common\oclobj.h (
echo "Error: Missing oclobj.h, can not regenerate!"
exit /b 1
)
</Command>
</PreBuildEvent>
<PostBuildEvent>
<Command>copy ..\..\libx264\COPYING $(OutDir)\x264.txt</Command>
</PostBuildEvent>
<CustomBuildStep>
<Message>Custom Clean Step</Message>
</CustomBuildStep>
<CustomBuildStep>
<Outputs>force_clean</Outputs>
<Command>if exist $(OutDir)\x264.txt (
del /f /q $(OutDir)\x264.txt
)</Command>
</CustomBuildStep>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="..\..\libx264\common\bitstream.c" />
<ClCompile Include="..\..\libx264\common\cabac.c" />
<ClCompile Include="..\..\libx264\common\common.c" />
<ClCompile Include="..\..\libx264\common\cpu.c" />
<ClCompile Include="..\..\libx264\common\dct.c" />
<ClCompile Include="..\..\libx264\common\deblock.c" />
<ClCompile Include="..\..\libx264\common\frame.c" />
<ClCompile Include="..\..\libx264\common\macroblock.c" />
<ClCompile Include="..\..\libx264\common\mc.c" />
<ClCompile Include="..\..\libx264\common\mvpred.c" />
<ClCompile Include="..\..\libx264\common\opencl.c" />
<ClCompile Include="..\..\libx264\common\osdep.c" />
<ClCompile Include="..\..\libx264\common\pixel.c" />
<ClCompile Include="..\..\libx264\common\predict.c" />
<ClCompile Include="..\..\libx264\common\quant.c" />
<ClCompile Include="..\..\libx264\common\rectangle.c" />
<ClCompile Include="..\..\libx264\common\set.c" />
<ClCompile Include="..\..\libx264\common\threadpool.c" />
<ClCompile Include="..\..\libx264\common\vlc.c" />
<ClCompile Include="..\..\libx264\common\win32thread.c" />
<ClCompile Include="..\..\libx264\common\x86\mc-c.c" />
<ClCompile Include="..\..\libx264\common\x86\predict-c.c" />
<ClCompile Include="..\..\libx264\encoder\analyse.c" />
<ClCompile Include="..\..\libx264\encoder\cabac.c">
<ObjectFileName>$(IntDir)\cabacEnc.obj</ObjectFileName>
</ClCompile>
<ClCompile Include="..\..\libx264\encoder\cavlc.c" />
<ClCompile Include="..\..\libx264\encoder\encoder.c" />
<ClCompile Include="..\..\libx264\encoder\lookahead.c" />
<ClCompile Include="..\..\libx264\encoder\macroblock.c">
<ObjectFileName>$(IntDir)\macroblockEnc.obj</ObjectFileName>
</ClCompile>
<ClCompile Include="..\..\libx264\encoder\me.c" />
<ClCompile Include="..\..\libx264\encoder\ratecontrol.c" />
<ClCompile Include="..\..\libx264\encoder\set.c">
<ObjectFileName>$(IntDir)\setEnc.obj</ObjectFileName>
</ClCompile>
<ClCompile Include="..\..\libx264\encoder\slicetype-cl.c" />
<ClCompile Include="..\..\libx264\x264dll.c">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='ReleaseLTO|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='ReleaseLTO|x64'">true</ExcludedFromBuild>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\libx264\common\bitstream.h" />
<ClInclude Include="..\..\libx264\common\cabac.h" />
<ClInclude Include="..\..\libx264\common\common.h" />
<ClInclude Include="..\..\libx264\common\cpu.h" />
<ClInclude Include="..\..\libx264\common\dct.h" />
<ClInclude Include="..\..\libx264\common\frame.h" />
<ClInclude Include="..\..\libx264\common\macroblock.h" />
<ClInclude Include="..\..\libx264\common\mc.h" />
<ClInclude Include="..\..\libx264\common\opencl.h" />
<ClInclude Include="..\..\libx264\common\opencl\x264-cl.h" />
<ClInclude Include="..\..\libx264\common\osdep.h" />
<ClInclude Include="..\..\libx264\common\pixel.h" />
<ClInclude Include="..\..\libx264\common\predict.h" />
<ClInclude Include="..\..\libx264\common\quant.h" />
<ClInclude Include="..\..\libx264\common\rectangle.h" />
<ClInclude Include="..\..\libx264\common\set.h" />
<ClInclude Include="..\..\libx264\common\threadpool.h" />
<ClInclude Include="..\..\libx264\common\win32thread.h" />
<ClInclude Include="..\..\libx264\common\x86\dct.h" />
<ClInclude Include="..\..\libx264\common\x86\mc.h" />
<ClInclude Include="..\..\libx264\common\x86\pixel.h" />
<ClInclude Include="..\..\libx264\common\x86\predict.h" />
<ClInclude Include="..\..\libx264\common\x86\quant.h" />
<ClInclude Include="..\..\libx264\common\x86\util.h" />
<ClInclude Include="..\..\libx264\encoder\analyse.h" />
<ClInclude Include="..\..\libx264\encoder\macroblock.h" />
<ClInclude Include="..\..\libx264\encoder\me.h" />
<ClInclude Include="..\..\libx264\encoder\ratecontrol.h" />
<ClInclude Include="..\..\libx264\encoder\set.h" />
<ClInclude Include="..\..\libx264\x264.h" />
<ClInclude Include="common\oclobj.h" />
<ClInclude Include="config.h" />
<ClInclude Include="x264_config.h" />
</ItemGroup>
<ItemGroup>
<None Include="..\..\libx264\common\opencl\bidir.cl" />
<None Include="..\..\libx264\common\opencl\downscale.cl" />
<None Include="..\..\libx264\common\opencl\intra.cl" />
<None Include="..\..\libx264\common\opencl\motionsearch.cl" />
<None Include="..\..\libx264\common\opencl\subpel.cl" />
<None Include="..\..\libx264\common\opencl\weightp.cl" />
<None Include="libx264.def" />
<YASM Include="..\..\libx264\common\x86\bitstream-a.asm">
<FileType>Document</FileType>
</YASM>
<YASM Include="..\..\libx264\common\x86\cabac-a.asm">
<FileType>Document</FileType>
</YASM>
<YASM Include="..\..\libx264\common\x86\const-a.asm">
<FileType>Document</FileType>
</YASM>
<YASM Include="..\..\libx264\common\x86\cpu-a.asm">
<FileType>Document</FileType>
</YASM>
<YASM Include="..\..\libx264\common\x86\dct-32.asm">
<ExcludedFromBuild Condition="'$(Platform)'=='x64'">true</ExcludedFromBuild>
<FileType>Document</FileType>
</YASM>
<YASM Include="..\..\libx264\common\x86\dct-64.asm">
<ExcludedFromBuild Condition="'$(Platform)'=='Win32'">true</ExcludedFromBuild>
<FileType>Document</FileType>
</YASM>
<YASM Include="..\..\libx264\common\x86\dct-a.asm">
<FileType>Document</FileType>
</YASM>
<YASM Include="..\..\libx264\common\x86\deblock-a.asm">
<FileType>Document</FileType>
</YASM>
<YASM Include="..\..\libx264\common\x86\mc-a.asm">
<FileType>Document</FileType>
</YASM>
<YASM Include="..\..\libx264\common\x86\mc-a2.asm">
<FileType>Document</FileType>
</YASM>
<YASM Include="..\..\libx264\common\x86\pixel-32.asm">
<ExcludedFromBuild Condition="'$(Platform)'=='x64'">true</ExcludedFromBuild>
<FileType>Document</FileType>
</YASM>
<YASM Include="..\..\libx264\common\x86\pixel-a.asm">
<FileType>Document</FileType>
</YASM>
<YASM Include="..\..\libx264\common\x86\predict-a.asm">
<FileType>Document</FileType>
</YASM>
<YASM Include="..\..\libx264\common\x86\quant-a.asm">
<FileType>Document</FileType>
</YASM>
<YASM Include="..\..\libx264\common\x86\sad-a.asm">
<FileType>Document</FileType>
</YASM>
<YASM Include="..\..\libx264\common\x86\trellis-64.asm">
<ExcludedFromBuild Condition="'$(Platform)'=='Win32'">true</ExcludedFromBuild>
<FileType>Document</FileType>
</YASM>
<YASM Include="..\..\libx264\common\x86\x86inc.asm">
<FileType>Document</FileType>
<ExcludedFromBuild>true</ExcludedFromBuild>
</YASM>
<YASM Include="..\..\libx264\common\x86\x86util.asm">
<FileType>Document</FileType>
<ExcludedFromBuild>true</ExcludedFromBuild>
</YASM>
</ItemGroup>
<ItemGroup>
<Text Include="readme.txt" />
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="..\..\libx264\x264res.rc">
<ExcludedFromBuild Condition="'$(Configuration)'=='Debug'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)'=='Release'">true</ExcludedFromBuild>
<PreprocessorDefinitions>DLL;_MSC_VER=1800;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<IgnoreStandardIncludePath>true</IgnoreStandardIncludePath>
<AdditionalIncludeDirectories>$(VC_IncludePath)\;$(WindowsSDK_IncludePath)\;$(VCInstallDir)\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ResourceCompile>
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
<Import Project="$(SolutionDir)libs\win32\libx264\vsyasm.targets" />
</ImportGroup>
</Project>
@@ -1,154 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Header Files">
<UniqueIdentifier>{bc7cc560-067b-45b5-93cf-951746813aac}</UniqueIdentifier>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{137db408-0f1d-432e-a147-da6e92e61e68}</UniqueIdentifier>
</Filter>
<Filter Include="Source Files">
<UniqueIdentifier>{18bebc71-8cbf-41c4-bc1a-21f68793ff17}</UniqueIdentifier>
</Filter>
<Filter Include="Source Files\common">
<UniqueIdentifier>{a6276c57-fa13-4946-89df-8f9d82e94024}</UniqueIdentifier>
</Filter>
<Filter Include="Source Files\encoder">
<UniqueIdentifier>{8e13f554-52a8-4e7d-a1fe-d208a84e7ea8}</UniqueIdentifier>
</Filter>
<Filter Include="Source Files\common\x86">
<UniqueIdentifier>{7e3927b1-018f-4cb1-9bfc-6b66b16a30b1}</UniqueIdentifier>
</Filter>
<Filter Include="Source Files\common\opencl">
<UniqueIdentifier>{a6ce58a1-9122-46af-96c2-b72f36749479}</UniqueIdentifier>
</Filter>
<Filter Include="Header Files\x264">
<UniqueIdentifier>{b6d71a01-1aa0-4011-884a-a32258e46159}</UniqueIdentifier>
</Filter>
<Filter Include="Header Files\x264\encoder">
<UniqueIdentifier>{bd0dc0c9-1336-4cec-90e6-8275ab412aae}</UniqueIdentifier>
</Filter>
<Filter Include="Header Files\x264\common">
<UniqueIdentifier>{4ca40a58-f38f-46cf-9cf0-14a17adbbf71}</UniqueIdentifier>
</Filter>
<Filter Include="Header Files\x264\common\x86">
<UniqueIdentifier>{5a1ab630-e4ce-41c9-98c1-b09ffdfba9d2}</UniqueIdentifier>
</Filter>
<Filter Include="Header Files\x264\common\opencl">
<UniqueIdentifier>{e5117c26-5cc2-4054-9723-a8e365fadb02}</UniqueIdentifier>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\libx264\common\bitstream.c" />
<ClCompile Include="..\..\libx264\common\cabac.c" />
<ClCompile Include="..\..\libx264\common\common.c" />
<ClCompile Include="..\..\libx264\common\cpu.c" />
<ClCompile Include="..\..\libx264\common\dct.c" />
<ClCompile Include="..\..\libx264\common\deblock.c" />
<ClCompile Include="..\..\libx264\common\frame.c" />
<ClCompile Include="..\..\libx264\common\macroblock.c" />
<ClCompile Include="..\..\libx264\common\mc.c" />
<ClCompile Include="..\..\libx264\common\mvpred.c" />
<ClCompile Include="..\..\libx264\common\opencl.c" />
<ClCompile Include="..\..\libx264\common\osdep.c" />
<ClCompile Include="..\..\libx264\common\pixel.c" />
<ClCompile Include="..\..\libx264\common\predict.c" />
<ClCompile Include="..\..\libx264\common\quant.c" />
<ClCompile Include="..\..\libx264\common\rectangle.c" />
<ClCompile Include="..\..\libx264\common\set.c" />
<ClCompile Include="..\..\libx264\common\threadpool.c" />
<ClCompile Include="..\..\libx264\common\vlc.c" />
<ClCompile Include="..\..\libx264\common\win32thread.c" />
<ClCompile Include="..\..\libx264\common\x86\mc-c.c" />
<ClCompile Include="..\..\libx264\common\x86\predict-c.c" />
<ClCompile Include="..\..\libx264\encoder\analyse.c" />
<ClCompile Include="..\..\libx264\encoder\cabac.c" />
<ClCompile Include="..\..\libx264\encoder\cavlc.c" />
<ClCompile Include="..\..\libx264\encoder\encoder.c" />
<ClCompile Include="..\..\libx264\encoder\lookahead.c" />
<ClCompile Include="..\..\libx264\encoder\macroblock.c" />
<ClCompile Include="..\..\libx264\encoder\me.c" />
<ClCompile Include="..\..\libx264\encoder\ratecontrol.c" />
<ClCompile Include="..\..\libx264\encoder\set.c" />
<ClCompile Include="..\..\libx264\encoder\slicetype-cl.c" />
<ClCompile Include="..\..\libx264\x264dll.c" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="x264_config.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="config.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="common\oclobj.h">
<Filter>Header Files\x264\common</Filter>
</ClInclude>
<ClInclude Include="..\..\libx264\common\bitstream.h" />
<ClInclude Include="..\..\libx264\common\cabac.h" />
<ClInclude Include="..\..\libx264\common\common.h" />
<ClInclude Include="..\..\libx264\common\cpu.h" />
<ClInclude Include="..\..\libx264\common\dct.h" />
<ClInclude Include="..\..\libx264\common\frame.h" />
<ClInclude Include="..\..\libx264\common\macroblock.h" />
<ClInclude Include="..\..\libx264\common\mc.h" />
<ClInclude Include="..\..\libx264\common\opencl.h" />
<ClInclude Include="..\..\libx264\common\opencl\x264-cl.h" />
<ClInclude Include="..\..\libx264\common\osdep.h" />
<ClInclude Include="..\..\libx264\common\pixel.h" />
<ClInclude Include="..\..\libx264\common\predict.h" />
<ClInclude Include="..\..\libx264\common\quant.h" />
<ClInclude Include="..\..\libx264\common\rectangle.h" />
<ClInclude Include="..\..\libx264\common\set.h" />
<ClInclude Include="..\..\libx264\common\threadpool.h" />
<ClInclude Include="..\..\libx264\common\win32thread.h" />
<ClInclude Include="..\..\libx264\common\x86\dct.h" />
<ClInclude Include="..\..\libx264\common\x86\mc.h" />
<ClInclude Include="..\..\libx264\common\x86\pixel.h" />
<ClInclude Include="..\..\libx264\common\x86\predict.h" />
<ClInclude Include="..\..\libx264\common\x86\quant.h" />
<ClInclude Include="..\..\libx264\common\x86\util.h" />
<ClInclude Include="..\..\libx264\encoder\analyse.h" />
<ClInclude Include="..\..\libx264\encoder\macroblock.h" />
<ClInclude Include="..\..\libx264\encoder\me.h" />
<ClInclude Include="..\..\libx264\encoder\ratecontrol.h" />
<ClInclude Include="..\..\libx264\encoder\set.h" />
<ClInclude Include="..\..\libx264\x264.h" />
</ItemGroup>
<ItemGroup>
<None Include="libx264.def">
<Filter>Resource Files</Filter>
</None>
<None Include="..\..\libx264\common\opencl\bidir.cl" />
<None Include="..\..\libx264\common\opencl\downscale.cl" />
<None Include="..\..\libx264\common\opencl\intra.cl" />
<None Include="..\..\libx264\common\opencl\motionsearch.cl" />
<None Include="..\..\libx264\common\opencl\subpel.cl" />
<None Include="..\..\libx264\common\opencl\weightp.cl" />
</ItemGroup>
<ItemGroup>
<YASM Include="..\..\libx264\common\x86\bitstream-a.asm" />
<YASM Include="..\..\libx264\common\x86\cabac-a.asm" />
<YASM Include="..\..\libx264\common\x86\const-a.asm" />
<YASM Include="..\..\libx264\common\x86\cpu-a.asm" />
<YASM Include="..\..\libx264\common\x86\dct-32.asm" />
<YASM Include="..\..\libx264\common\x86\dct-64.asm" />
<YASM Include="..\..\libx264\common\x86\dct-a.asm" />
<YASM Include="..\..\libx264\common\x86\deblock-a.asm" />
<YASM Include="..\..\libx264\common\x86\mc-a.asm" />
<YASM Include="..\..\libx264\common\x86\mc-a2.asm" />
<YASM Include="..\..\libx264\common\x86\pixel-32.asm" />
<YASM Include="..\..\libx264\common\x86\pixel-a.asm" />
<YASM Include="..\..\libx264\common\x86\predict-a.asm" />
<YASM Include="..\..\libx264\common\x86\quant-a.asm" />
<YASM Include="..\..\libx264\common\x86\sad-a.asm" />
<YASM Include="..\..\libx264\common\x86\trellis-64.asm" />
<YASM Include="..\..\libx264\common\x86\x86inc.asm" />
<YASM Include="..\..\libx264\common\x86\x86util.asm" />
</ItemGroup>
<ItemGroup>
<Text Include="readme.txt" />
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="..\..\libx264\x264res.rc" />
</ItemGroup>
</Project>
-28
View File
@@ -1,28 +0,0 @@
<?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>
<PropertyGroup>
<YasmPath Condition= "'$(YASMPATH)' == ''">$(SolutionDir)</YasmPath>
</PropertyGroup>
<ItemDefinitionGroup>
<YASM>
<Debug>False</Debug>
<ObjectFile>$(IntDir)</ObjectFile>
<ObjectFileName>$(IntDir)\$(Filename).asm.obj</ObjectFileName>
<PreProc>0</PreProc>
<Parser>0</Parser>
<CommandLineTemplate>$(YasmPath)libs\vsyasm.exe -Xvc -f $(Platform) [AllOptions] [AdditionalOptions] [Inputs]</CommandLineTemplate>
<Outputs>%(ObjectFile)</Outputs>
<ExecutionDescription>Assembling %(Filename)%(Extension)</ExecutionDescription>
<ShowOnlyRuleProperties>false</ShowOnlyRuleProperties>
</YASM>
</ItemDefinitionGroup>
</Project>
-108
View File
@@ -1,108 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<PropertyPageSchema
Include="$(MSBuildThisFileDirectory)$(MSBuildThisFileName).xml" />
<AvailableItemName
Include="YASM">
<Targets>_YASM</Targets>
</AvailableItemName>
</ItemGroup>
<UsingTask
TaskName="YASM"
TaskFactory="XamlTaskFactory"
AssemblyName="Microsoft.Build.Tasks.v4.0">
<Task>$(MSBuildThisFileDirectory)$(MSBuildThisFileName).xml</Task>
</UsingTask>
<Target
Name="_YASM"
BeforeTargets="$(YASMBeforeTargets)"
AfterTargets="$(YASMAfterTargets)"
Condition="'@(YASM)' != ''"
DependsOnTargets="$(YASMDependsOn);ComputeYASMOutput"
Outputs="@(YASM->'%(ObjectFileName)')"
Inputs="@(YASM);%(YASM.AdditionalDependencies);$(MSBuildProjectFile)">
<ItemGroup
Condition="'@(SelectedFiles)' != ''">
<YASM
Remove="@(YASM)"
Condition="'%(Identity)' != '@(SelectedFiles)'" />
</ItemGroup>
<ItemGroup>
<YASM_tlog
Include="%(YASM.ObjectFileName)"
Condition="'%(YASM.ObjectFileName)' != '' and '%(YASM.ExcludedFromBuild)' != 'true'">
<Source>@(YASM, '|')</Source>
</YASM_tlog>
</ItemGroup>
<Message
Importance="High"
Text="%(YASM.ExecutionDescription)" />
<WriteLinesToFile
Condition="'@(YASM_tlog)' != '' and '%(YASM_tlog.ExcludedFromBuild)' != 'true'"
File="$(IntDir)$(ProjectName).write.1.tlog"
Lines="^%(YASM_tlog.Source);@(YASM_tlog->'%(Fullpath)')" />
<YASM
Condition="'@(YASM)' != '' and '%(YASM.ExcludedFromBuild)' != 'true'"
CommandLineTemplate="%(YASM.CommandLineTemplate)"
Debug="%(YASM.Debug)"
PreIncludeFile="%(YASM.PreIncludeFile)"
IncludePaths="%(YASM.IncludePaths)"
Defines="%(YASM.Defines)"
UnDefines="%(YASM.UnDefines)"
ObjectFile="%(YASM.ObjectFileName)"
ListFile="%(YASM.ListFile)"
MapFile="%(YASM.MapFile)"
ErrorFile="%(YASM.ErrorFile)"
SymbolPrefix="%(YASM.SymbolPrefix)"
SymbolSuffix="%(YASM.SymbolSuffix)"
PreProc="%(YASM.PreProc)"
Parser="%(YASM.Parser)"
AdditionalOptions="%(YASM.AdditionalOptions)"
Inputs="@(YASM)" />
</Target>
<PropertyGroup>
<ComputeLinkInputsTargets>
$(ComputeLinkInputsTargets);
ComputeYASMOutput;
</ComputeLinkInputsTargets>
<ComputeLibInputsTargets>
$(ComputeLibInputsTargets);
ComputeYASMOutput;
</ComputeLibInputsTargets>
</PropertyGroup>
<Target
Name="ComputeYASMOutput"
Condition="'@(YASM)' != ''">
<ItemGroup>
<YASMDirsToMake
Condition="'@(YASM)' != '' and '%(YASM.ExcludedFromBuild)' != 'true' and !HasTrailingSlash('%(YASM.ObjectFile)')"
Include="%(YASM.ObjectFile)" />
<Link
Include="%(YASMDirsToMake.Identity)"
Condition="'%(Extension)'=='.obj' or '%(Extension)'=='.res' or '%(Extension)'=='.rsc' or '%(Extension)'=='.lib'" />
<Lib
Include="%(YASMDirsToMake.Identity)"
Condition="'%(Extension)'=='.obj' or '%(Extension)'=='.res' or '%(Extension)'=='.rsc' or '%(Extension)'=='.lib'" />
<ImpLib
Include="%(YASMDirsToMake.Identity)"
Condition="'%(Extension)'=='.obj' or '%(Extension)'=='.res' or '%(Extension)'=='.rsc' or '%(Extension)'=='.lib'" />
</ItemGroup>
<ItemGroup>
<YASMDirsToMake
Condition="'@(YASM)' != '' and '%(YASM.ExcludedFromBuild)' != 'true' and HasTrailingSlash('%(YASM.ObjectFile)')"
Include="@(YASM->'%(ObjectFile)%(Filename).obj')" />
<Link
Include="%(YASMDirsToMake.Identity)"
Condition="'%(Extension)'=='.obj' or '%(Extension)'=='.res' or '%(Extension)'=='.rsc' or '%(Extension)'=='.lib'" />
<Lib
Include="%(YASMDirsToMake.Identity)"
Condition="'%(Extension)'=='.obj' or '%(Extension)'=='.res' or '%(Extension)'=='.rsc' or '%(Extension)'=='.lib'" />
<ImpLib
Include="%(YASMDirsToMake.Identity)"
Condition="'%(Extension)'=='.obj' or '%(Extension)'=='.res' or '%(Extension)'=='.rsc' or '%(Extension)'=='.lib'" />
</ItemGroup>
<MakeDir
Directories="@(YASMDirsToMake->'%(RootDir)%(Directory)')" />
</Target>
</Project>
-283
View File
@@ -1,283 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<ProjectSchemaDefinitions xmlns="clr-namespace:Microsoft.Build.Framework.XamlTypes;assembly=Microsoft.Build.Framework" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:sys="clr-namespace:System;assembly=mscorlib" xmlns:transformCallback="Microsoft.Cpp.Dev10.ConvertPropertyCallback">
<Rule
Name="YASM"
PageTemplate="tool"
DisplayName="Yasm Assembler"
Order="200">
<Rule.DataSource>
<DataSource
Persistence="ProjectFile"
ItemType="YASM" />
</Rule.DataSource>
<Rule.Categories>
<Category
Name="General">
<Category.DisplayName>
<sys:String>General</sys:String>
</Category.DisplayName>
</Category>
<Category
Name="Symbols">
<Category.DisplayName>
<sys:String>Symbols</sys:String>
</Category.DisplayName>
</Category>
<Category
Name="Files">
<Category.DisplayName>
<sys:String>Files</sys:String>
</Category.DisplayName>
</Category>
<Category
Name="Command Line"
Subtype="CommandLine">
<Category.DisplayName>
<sys:String>Command Line</sys:String>
</Category.DisplayName>
</Category>
</Rule.Categories>
<StringListProperty
Name="Inputs"
Category="Command Line"
IsRequired="true"
Switch=" ">
<StringListProperty.DataSource>
<DataSource
Persistence="ProjectFile"
ItemType="YASM"
SourceType="Item" />
</StringListProperty.DataSource>
</StringListProperty>
<BoolProperty
Name="Debug"
Subcategory="Configuration"
HelpContext="0"
DisplayName="Debug Information"
Description="Generate debugging information"
Switch="-g cv8" />
<StringListProperty
Name="IncludePaths"
Subcategory="Configuration"
HelpContext="0"
DisplayName="Include Paths"
Description="Set the paths for any additional include files"
Switch="-i &quot;[value]&quot;" />
<StringListProperty
Name="Defines"
Category="Symbols"
Subcategory="Pre-Defined Symbols"
HelpContext="0"
DisplayName="Defined Symbols"
Description="Specify pre-defined symbols ('symbol' or 'symbol = value') "
Switch="-d &quot;[value]&quot;" />
<StringListProperty
Name="UnDefines"
Category="Symbols"
Subcategory="Pre-Defined Symbols"
HelpContext="0"
DisplayName="Remove Symbols"
Description="Remove pre-defined symbols "
Switch="-u &quot;[value]&quot;" />
<StringProperty
Name="ObjectFile"
Subcategory="Output"
HelpContext="0"
DisplayName="Object File Name"
Description="Select the output file name"
Switch="-o &quot;[value]&quot;" />
<StringProperty
Name="ListFile"
Category="Files"
Subcategory="Output"
HelpContext="0"
DisplayName="List File Name"
Description="Select an output listing by setting its file name"
Switch="-l &quot;[value]&quot;" />
<StringProperty
Name="PreIncludeFile"
Category="Files"
Subcategory="Configuration"
HelpContext="0"
DisplayName="Pre Include File"
Description="Select a pre-included file by setting its name"
Switch="-P &quot;[value]&quot;" />
<StringProperty
Name="MapFile"
Category="Files"
Subcategory="Output"
HelpContext="0"
DisplayName="Map File Name"
Description="Select a map output by setting its file name"
Switch="--mapdir= &quot;[value]&quot;" />
<StringProperty
Name="ErrorFile"
Category="Files"
Subcategory="Output"
HelpContext="0"
DisplayName="Error File Name"
Description="Send error/warning messages to a file by setting its name"
Switch="-E &quot;[value]&quot;" />
<StringProperty
Name="SymbolPrefix"
Category="Symbols"
Subcategory="Symbols"
HelpContext="0"
DisplayName="External Symbol Prefix"
Description="Prepend symbol to all external symbols"
Switch="--prefix &quot;[value]&quot;" />
<StringProperty
Name="SymbolSuffix"
Category="Symbols"
Subcategory="Symbols"
HelpContext="0"
DisplayName="External Symbol Suffix"
Description="Append symbol to all external symbols"
Switch="--suffix &quot;[value]&quot;" />
<EnumProperty
Name="PreProc"
Subcategory="Configuration"
HelpContext="0"
DisplayName="Pre-Processor"
Description="Select the pre-processor ('nasm' or 'raw')">
<EnumValue
Name="0"
DisplayName="Nasm "
Switch="-rnasm" />
<EnumValue
Name="1"
DisplayName="Raw"
Switch="-rraw" />
</EnumProperty>
<EnumProperty
Name="Parser"
Subcategory="Configuration"
HelpContext="0"
DisplayName="Parser"
Description="Select the parser for Intel ('nasm') or AT&amp;T ( 'gas') syntax">
<EnumValue
Name="0"
DisplayName="Nasm"
Switch="-pnasm" />
<EnumValue
Name="1"
DisplayName="Gas"
Switch="-pgas" />
</EnumProperty>
<StringProperty
Name="CommandLineTemplate"
DisplayName="Command Line"
Visible="False"
IncludeInCommandLine="False" />
<DynamicEnumProperty
Name="YASMBeforeTargets"
Category="General"
EnumProvider="Targets"
IncludeInCommandLine="False">
<DynamicEnumProperty.DisplayName>
<sys:String>Execute Before</sys:String>
</DynamicEnumProperty.DisplayName>
<DynamicEnumProperty.Description>
<sys:String>Specifies the targets for the build customization to run before.</sys:String>
</DynamicEnumProperty.Description>
<DynamicEnumProperty.ProviderSettings>
<NameValuePair
Name="Exclude"
Value="^YASMBeforeTargets|^Compute" />
</DynamicEnumProperty.ProviderSettings>
<DynamicEnumProperty.DataSource>
<DataSource
Persistence="ProjectFile"
HasConfigurationCondition="true" />
</DynamicEnumProperty.DataSource>
</DynamicEnumProperty>
<DynamicEnumProperty
Name="YASMAfterTargets"
Category="General"
EnumProvider="Targets"
IncludeInCommandLine="False">
<DynamicEnumProperty.DisplayName>
<sys:String>Execute After</sys:String>
</DynamicEnumProperty.DisplayName>
<DynamicEnumProperty.Description>
<sys:String>Specifies the targets for the build customization to run after.</sys:String>
</DynamicEnumProperty.Description>
<DynamicEnumProperty.ProviderSettings>
<NameValuePair
Name="Exclude"
Value="^YASMAfterTargets|^Compute" />
</DynamicEnumProperty.ProviderSettings>
<DynamicEnumProperty.DataSource>
<DataSource
Persistence="ProjectFile"
ItemType=""
HasConfigurationCondition="true" />
</DynamicEnumProperty.DataSource>
</DynamicEnumProperty>
<StringListProperty
Name="Outputs"
DisplayName="Outputs"
Visible="False"
IncludeInCommandLine="False" />
<StringProperty
Name="ExecutionDescription"
DisplayName="Execution Description"
Visible="False"
IncludeInCommandLine="False" />
<StringListProperty
Name="AdditionalDependencies"
DisplayName="Additional Dependencies"
IncludeInCommandLine="False"
Visible="true" />
<StringProperty
Subtype="AdditionalOptions"
Name="AdditionalOptions"
Category="Command Line">
<StringProperty.DisplayName>
<sys:String>Additional Options</sys:String>
</StringProperty.DisplayName>
<StringProperty.Description>
<sys:String>Additional Options</sys:String>
</StringProperty.Description>
</StringProperty>
</Rule>
<ItemType
Name="YASM"
DisplayName="Yasm Assembler" />
<FileExtension
Name="*.asm"
ContentType="YASM" />
<ContentType
Name="YASM"
DisplayName="Yasm Assembler"
ItemType="YASM" />
</ProjectSchemaDefinitions>
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug-x264|Win32">
@@ -98,7 +98,7 @@
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug-x264|Win32'">
<ClCompile>
<AdditionalIncludeDirectories>"../../libvpx";$(SolutionDir)\src\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;MOD_EXPORTS;_CRT_SECURE_NO_DEPRECATE;HAVE_AV_CONFIG_H;_ISOC99_SOURCE;_FILE_OFFSET_BITS=64;_LARGEFILE_SOURCE;_USE_MATH_DEFINES;_CRT_SECURE_NO_WARNINGS;_CRT_NONSTDC_NO_WARNINGS;_WIN32_WINNT=0x0502;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;MOD_EXPORTS;_CRT_SECURE_NO_DEPRECATE;_ISOC99_SOURCE;_FILE_OFFSET_BITS=64;_LARGEFILE_SOURCE;_USE_MATH_DEFINES;_CRT_SECURE_NO_WARNINGS;_CRT_NONSTDC_NO_WARNINGS;_WIN32_WINNT=0x0502;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<DisableSpecificWarnings>4244;4127;4018;4389;4146;4057;4204;4706;4305;4152;4324;4013;4100;4214;4273;4554;4701;%(DisableSpecificWarnings)</DisableSpecificWarnings>
</ClCompile>
<Link>
@@ -114,7 +114,7 @@
</Midl>
<ClCompile>
<AdditionalIncludeDirectories>"../../libvpx";$(SolutionDir)\src\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;MOD_EXPORTS;_CRT_SECURE_NO_DEPRECATE;HAVE_AV_CONFIG_H;_ISOC99_SOURCE;_FILE_OFFSET_BITS=64;_LARGEFILE_SOURCE;_USE_MATH_DEFINES;_CRT_SECURE_NO_WARNINGS;_CRT_NONSTDC_NO_WARNINGS;_WIN32_WINNT=0x0502;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;MOD_EXPORTS;_CRT_SECURE_NO_DEPRECATE;_ISOC99_SOURCE;_FILE_OFFSET_BITS=64;_LARGEFILE_SOURCE;_USE_MATH_DEFINES;_CRT_SECURE_NO_WARNINGS;_CRT_NONSTDC_NO_WARNINGS;_WIN32_WINNT=0x0502;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<DisableSpecificWarnings>4244;4127;4018;4389;4146;4057;4204;4706;4305;4152;4324;4013;4100;4214;4273;4554;4701;%(DisableSpecificWarnings)</DisableSpecificWarnings>
<PrecompiledHeader>
</PrecompiledHeader>
@@ -133,7 +133,7 @@
</Midl>
<ClCompile>
<AdditionalIncludeDirectories>"../../libvpx";$(SolutionDir)\src\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;MOD_EXPORTS;_CRT_SECURE_NO_DEPRECATE;HAVE_AV_CONFIG_H;_ISOC99_SOURCE;_FILE_OFFSET_BITS=64;_LARGEFILE_SOURCE;_USE_MATH_DEFINES;_CRT_SECURE_NO_WARNINGS;_CRT_NONSTDC_NO_WARNINGS;_WIN32_WINNT=0x0502;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;MOD_EXPORTS;_CRT_SECURE_NO_DEPRECATE;_ISOC99_SOURCE;_FILE_OFFSET_BITS=64;_LARGEFILE_SOURCE;_USE_MATH_DEFINES;_CRT_SECURE_NO_WARNINGS;_CRT_NONSTDC_NO_WARNINGS;_WIN32_WINNT=0x0502;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<DisableSpecificWarnings>4244;4127;4018;4389;4146;4057;4204;4706;4305;4152;4324;4013;4100;4214;4273;4554;4701;%(DisableSpecificWarnings)</DisableSpecificWarnings>
<PrecompiledHeader>
</PrecompiledHeader>
@@ -149,7 +149,7 @@
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release-x264|Win32'">
<ClCompile>
<AdditionalIncludeDirectories>"../../libvpx";$(SolutionDir)\src\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;MOD_EXPORTS;_CRT_SECURE_NO_DEPRECATE;HAVE_AV_CONFIG_H;_ISOC99_SOURCE;_FILE_OFFSET_BITS=64;_LARGEFILE_SOURCE;_USE_MATH_DEFINES;_CRT_SECURE_NO_WARNINGS;_CRT_NONSTDC_NO_WARNINGS;_WIN32_WINNT=0x0502;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;MOD_EXPORTS;_CRT_SECURE_NO_DEPRECATE;_ISOC99_SOURCE;_FILE_OFFSET_BITS=64;_LARGEFILE_SOURCE;_USE_MATH_DEFINES;_CRT_SECURE_NO_WARNINGS;_CRT_NONSTDC_NO_WARNINGS;_WIN32_WINNT=0x0502;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<DisableSpecificWarnings>4244;4127;4018;4389;4146;4057;4204;4706;4305;4152;4324;4013;4100;4214;4273;4554;4701;%(DisableSpecificWarnings)</DisableSpecificWarnings>
<PrecompiledHeader>
</PrecompiledHeader>
@@ -167,7 +167,7 @@
</Midl>
<ClCompile>
<AdditionalIncludeDirectories>"../../libvpx";$(SolutionDir)\src\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;MOD_EXPORTS;_CRT_SECURE_NO_DEPRECATE;HAVE_AV_CONFIG_H;_ISOC99_SOURCE;_FILE_OFFSET_BITS=64;_LARGEFILE_SOURCE;_USE_MATH_DEFINES;_CRT_SECURE_NO_WARNINGS;_CRT_NONSTDC_NO_WARNINGS;_WIN32_WINNT=0x0502;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;MOD_EXPORTS;_CRT_SECURE_NO_DEPRECATE;_ISOC99_SOURCE;_FILE_OFFSET_BITS=64;_LARGEFILE_SOURCE;_USE_MATH_DEFINES;_CRT_SECURE_NO_WARNINGS;_CRT_NONSTDC_NO_WARNINGS;_WIN32_WINNT=0x0502;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<DisableSpecificWarnings>4244;4127;4018;4389;4146;4057;4204;4706;4305;4152;4324;4013;4100;4214;4273;4554;4701;%(DisableSpecificWarnings)</DisableSpecificWarnings>
<PrecompiledHeader>
</PrecompiledHeader>
@@ -186,7 +186,7 @@
</Midl>
<ClCompile>
<AdditionalIncludeDirectories>"../../libvpx";$(SolutionDir)\src\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;MOD_EXPORTS;_CRT_SECURE_NO_DEPRECATE;HAVE_AV_CONFIG_H;_ISOC99_SOURCE;_FILE_OFFSET_BITS=64;_LARGEFILE_SOURCE;_USE_MATH_DEFINES;_CRT_SECURE_NO_WARNINGS;_CRT_NONSTDC_NO_WARNINGS;_WIN32_WINNT=0x0502;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;MOD_EXPORTS;_CRT_SECURE_NO_DEPRECATE;_ISOC99_SOURCE;_FILE_OFFSET_BITS=64;_LARGEFILE_SOURCE;_USE_MATH_DEFINES;_CRT_SECURE_NO_WARNINGS;_CRT_NONSTDC_NO_WARNINGS;_WIN32_WINNT=0x0502;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<DisableSpecificWarnings>4244;4127;4018;4389;4146;4057;4204;4706;4305;4152;4324;4013;4100;4214;4273;4554;4701;%(DisableSpecificWarnings)</DisableSpecificWarnings>
<PrecompiledHeader>
</PrecompiledHeader>
@@ -205,9 +205,6 @@
<ClCompile Include="mod_av.c" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\..\..\libs\win32\ffmpeg\ffmpeg.2017.vcxproj">
<Project>{bc1fd72e-1cd5-4525-a7f5-17c5740bfded}</Project>
</ProjectReference>
<ProjectReference Include="..\..\..\..\w32\Library\FreeSwitchCore.2017.vcxproj">
<Project>{202d7a4e-760d-4d0e-afa1-d7459ced30ff}</Project>
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
-40
View File
@@ -1,40 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ImportGroup Label="PropertySheets">
<Import Project="downloadpackage.task" Condition=" '$(downloadpackagetask_Imported)' == '' " />
</ImportGroup>
<PropertyGroup>
<libavPropsImported>true</libavPropsImported>
</PropertyGroup>
<!--
Download Target.
Name must be unique.
By design, targets are executed only once per project.
Usage:
package: URI
expectfileordirectory: Skips the download and extraction if exists
outputfolder: Folder to store a downloaded file.
By default "$(BaseDir)libs", if empty
outputfilename: If not empty, overrides filename from URI.
.exe files don't get extracted
extractto: Folder to extract an archive to
-->
<Target Name="libavDownloadTarget" BeforeTargets="CustomBuild" DependsOnTargets="7za">
<DownloadPackageTask
package="http://files.freeswitch.org/downloads/libs/libav-12.tar.bz2"
expectfileordirectory="$(BaseDir)libs\libav\avconv.h"
outputfolder=""
outputfilename=""
extractto="$(BaseDir)libs\"
/>
</Target>
</Project>
-40
View File
@@ -1,40 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ImportGroup Label="PropertySheets">
<Import Project="downloadpackage.task" Condition=" '$(downloadpackagetask_Imported)' == '' " />
</ImportGroup>
<PropertyGroup>
<libx264PropsImported>true</libx264PropsImported>
</PropertyGroup>
<!--
Download Target.
Name must be unique.
By design, targets are executed only once per project.
Usage:
package: URI
expectfileordirectory: Skips the download and extraction if exists
outputfolder: Folder to store a downloaded file.
By default "$(BaseDir)libs", if empty
outputfilename: If not empty, overrides filename from URI.
.exe files don't get extracted
extractto: Folder to extract an archive to
-->
<Target Name="libx264DownloadTarget" BeforeTargets="CustomBuild;PreBuildEvent;" DependsOnTargets="7za">
<DownloadPackageTask
package="http://files.freeswitch.org/downloads/libs/libx264.tar.bz2"
expectfileordirectory="$(BaseDir)libs\libx264\x264.h"
outputfolder=""
outputfilename=""
extractto="$(BaseDir)libs\"
/>
</Target>
</Project>
+1 -1
View File
@@ -4,7 +4,7 @@
<Import Project="basedir.props" Condition=" '$(BaseDirImported)' == ''"/>
</ImportGroup>
<PropertyGroup Label="UserMacros">
<ffmpegVersion>5.1.3</ffmpegVersion>
<ffmpegVersion>7.1.5</ffmpegVersion>
</PropertyGroup>
<PropertyGroup>
<ffmpegVersionImported>true</ffmpegVersionImported>
+51 -8
View File
@@ -1,7 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ImportGroup Label="PropertySheets">
<Import Project="ffmpeg-version.props" Condition=" '$(ffmpegVersionImported)' == ''"/>
<Import Project="ffmpeg-version.props" Condition=" '$(ffmpegVersionImported)' == '' "/>
<Import Project="downloadpackage.task" Condition=" '$(downloadpackagetask_Imported)' == '' " />
<Import Project="solution_configuration.props" Condition=" '$(SolutionConfigurationPropsImported)' == '' " />
<Import Project="download_openh264.props"
Condition=" $(Configuration.EndsWith('openh264')) AND '$(downloadOpenh264PropsImported)' == '' " />
</ImportGroup>
<PropertyGroup>
@@ -9,20 +13,59 @@
</PropertyGroup>
<PropertyGroup Label="UserMacros">
<!-- Derive "Release"/"Debug" and "openh264"/"x264" from e.g. Release-openh264. -->
<ffmpegConfigName>$([System.Text.RegularExpressions.Regex]::Replace('$(Configuration)', '-.*$', ''))</ffmpegConfigName>
<ffmpegVariant>$([System.Text.RegularExpressions.Regex]::Replace('$(Configuration)', '^.*-', ''))</ffmpegVariant>
<ffmpegDir>$(BaseDir)libs\ffmpeg-$(ffmpegVersion)</ffmpegDir>
<ffmpegBinDir>$(ffmpegDir)\binaries\$(ffmpegVariant)\$(Platform)\$(ffmpegConfigName)</ffmpegBinDir>
<ffmpegPkgBase>https://github.com/freeswitch/ffmpeg-packaging/releases/download/ffmpeg-v$(ffmpegVersion)</ffmpegPkgBase>
</PropertyGroup>
<!-- Download + extract the headers (config-independent). -->
<Target Name="ffmpegHeadersDownloadTarget" BeforeTargets="CustomBuild" DependsOnTargets="7za">
<DownloadPackageTask
package="$(ffmpegPkgBase)/ffmpeg-$(ffmpegVersion)-headers.zip"
expectfileordirectory="$(ffmpegDir)\include\libavcodec\avcodec.h"
outputfolder=""
outputfilename=""
extractto="$(BaseDir)libs\"
/>
</Target>
<!-- Download + extract the per-variant, per-config binaries (DLLs + import libs). -->
<Target Name="ffmpegBinariesDownloadTarget" BeforeTargets="CustomBuild" DependsOnTargets="7za">
<DownloadPackageTask
package="$(ffmpegPkgBase)/ffmpeg-$(ffmpegVersion)-$(ffmpegVariant)-binaries-$(Platform.ToLower())-$(ffmpegConfigName.ToLower()).zip"
expectfileordirectory="$(ffmpegBinDir)\avcodec.lib"
outputfolder=""
outputfilename=""
extractto="$(BaseDir)libs\"
/>
</Target>
<!-- Copy the av* DLLs (and libx264-*.dll for the GPL variant) next to the
FreeSWITCH binary. SkipUnchangedFiles refreshes them when the source
differs, so switching openh264<->x264 updates the output DLLs. -->
<Target Name="ffmpegCopyTarget" BeforeTargets="CustomBuild" DependsOnTargets="ffmpegBinariesDownloadTarget">
<Message Text="Copying FFmpeg DLLs ($(ffmpegVariant)/$(ffmpegConfigName)) to the FreeSWITCH output folder." Importance="High" />
<ItemGroup>
<ffmpegDlls Include="$(ffmpegBinDir)\*.dll"/>
</ItemGroup>
<Copy SkipUnchangedFiles="true"
SourceFiles="@(ffmpegDlls)"
DestinationFiles="@(ffmpegDlls->'$(BaseDir)\$(Platform)\$(SolutionConfiguration)\%(Filename)%(Extension)')"
/>
</Target>
<ItemDefinitionGroup>
<ClCompile>
<AdditionalIncludeDirectories>$(ffmpegDir);$(ffmpegDir)\compat\atomics\win32;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories Condition="('$(Configuration)'=='Debug-x264' OR '$(Configuration)'=='Release-x264') AND '$(Platform)'=='x64'">$(ffmpegDir)\include_x64;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories Condition="('$(Configuration)'=='Debug-openh264' OR '$(Configuration)'=='Release-openh264') AND '$(Platform)'=='x64'">$(ffmpegDir)\include_openh264_x64;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>HAVE_FFMPEG;FFMPEG_STATICLIB;HAVE_AV_CONFIG_H;_ISOC99_SOURCE;_FILE_OFFSET_BITS=64;_LARGEFILE_SOURCE;_USE_MATH_DEFINES;_CRT_SECURE_NO_WARNINGS;_CRT_NONSTDC_NO_WARNINGS;_WIN32_WINNT=0x0502;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>$(ffmpegDir)\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>HAVE_FFMPEG;av_restrict=__restrict;_ISOC99_SOURCE;_FILE_OFFSET_BITS=64;_LARGEFILE_SOURCE;_USE_MATH_DEFINES;_CRT_SECURE_NO_WARNINGS;_CRT_NONSTDC_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
<Link>
<AdditionalLibraryDirectories>$(ffmpegDir);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<AdditionalDependencies>Bcrypt.lib;Secur32.lib;Mfuuid.lib;strmiids.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalDependencies Condition="'$(Configuration)'=='Debug-openh264' OR '$(Configuration)'=='Release-openh264'">openh264.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalLibraryDirectories>$(ffmpegBinDir);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<AdditionalDependencies>avcodec.lib;avformat.lib;avutil.lib;avfilter.lib;avdevice.lib;swscale.lib;swresample.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
</Project>
-10
View File
@@ -1,10 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemDefinitionGroup>
<ClCompile>
<AdditionalIncludeDirectories Condition="'$(Platform)'=='Win32'">$(SolutionDir)libs\libav;$(SolutionDir)libs\libav\libavutil\;$(SolutionDir)libs\libav\libavformat;$(SolutionDir)libs\libav\libavfilter;$(SolutionDir)libs\libav\config_x86;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories Condition="'$(Platform)'=='x64'">$(SolutionDir)libs\libav;$(SolutionDir)libs\libav\libavutil\;$(SolutionDir)libs\libav\libavformat;$(SolutionDir)libs\libav\libavfilter;$(SolutionDir)libs\libav\config_x64;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>HAVE_LIBAV;LIBAV_STATICLIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
</ItemDefinitionGroup>
</Project>
-9
View File
@@ -1,9 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemDefinitionGroup>
<ClCompile>
<AdditionalIncludeDirectories>$(SolutionDir)libs\libx264;$(SolutionDir)libs\libav\libavutil\;$(SolutionDir)libs\libav\libavformat;$(SolutionDir)libs\libav\config_x64;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>HAVE_LIBX264;LIBX264_STATICLIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
</ItemDefinitionGroup>
</Project>
-40
View File
@@ -1,40 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ImportGroup Label="PropertySheets">
<Import Project="downloadpackage.task" Condition=" '$(downloadpackagetask_Imported)' == '' " />
</ImportGroup>
<PropertyGroup>
<vsyasmPropsImported>true</vsyasmPropsImported>
</PropertyGroup>
<!--
Download Target.
Name must be unique.
By design, targets are executed only once per project.
Usage:
package: URI
expectfileordirectory: Skips the download and extraction if exists
outputfolder: Folder to store a downloaded file.
By default "$(BaseDir)libs", if empty
outputfilename: If not empty, overrides filename from URI.
.exe files don't get extracted
extractto: Folder to extract an archive to
-->
<Target Name="vsyasmDownloadTarget" BeforeTargets="CustomBuild;PreBuildEvent;" DependsOnTargets="">
<DownloadPackageTask
package="http://files.freeswitch.org/downloads/win32/vsyasm.exe"
expectfileordirectory="$(BaseDir)libs\vsyasm.exe"
outputfolder=""
outputfilename=""
extractto="$(BaseDir)libs\"
/>
</Target>
</Project>