diff options
Diffstat (limited to 'ffms2/build-msvc/config.targets')
| -rw-r--r-- | ffms2/build-msvc/config.targets | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/ffms2/build-msvc/config.targets b/ffms2/build-msvc/config.targets new file mode 100644 index 0000000..8d2ae26 --- /dev/null +++ b/ffms2/build-msvc/config.targets @@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <!-- Define stuff from the config --> + <ItemDefinitionGroup Condition="'$(BuiltWithGCC)'=='true'"> + <ClCompile><PreprocessorDefinitions>WITH_GCC_LIBAV;%(PreprocessorDefinitions)</PreprocessorDefinitions></ClCompile> + </ItemDefinitionGroup> + + <ItemDefinitionGroup Condition="'$(OpencoreAmrNb)'=='true'"> + <ClCompile><PreprocessorDefinitions>WITH_OPENCORE_AMR_NB;%(PreprocessorDefinitions)</PreprocessorDefinitions></ClCompile> + </ItemDefinitionGroup> + + <ItemDefinitionGroup Condition="'$(OpencoreAmrWb)'=='true'"> + <ClCompile><PreprocessorDefinitions>WITH_OPENCORE_AMR_WB;%(PreprocessorDefinitions)</PreprocessorDefinitions></ClCompile> + </ItemDefinitionGroup> + + <ItemDefinitionGroup Condition="'$(WithPthread)'=='true'"> + <ClCompile><PreprocessorDefinitions>WITH_PTHREAD_GC2;%(PreprocessorDefinitions)</PreprocessorDefinitions></ClCompile> + </ItemDefinitionGroup> + + <ItemDefinitionGroup Condition="'$(WithAvResample)'=='true'"> + <ClCompile><PreprocessorDefinitions>WITH_AVRESAMPLE;%(PreprocessorDefinitions)</PreprocessorDefinitions></ClCompile> + </ItemDefinitionGroup> + + <ItemDefinitionGroup Condition="'$(ForkName)'=='libav'"> + <ClCompile><PreprocessorDefinitions>FFMS_USE_FFMPEG_COMPAT;%(PreprocessorDefinitions)</PreprocessorDefinitions></ClCompile> + </ItemDefinitionGroup> + + <!-- Add property pages --> + <ItemGroup> + <PropertyPageSchema Include="$(MSBuildThisFileDirectory)config.xml" /> + <ProjectTools Include="FFmpegConfig" /> + </ItemGroup> + +</Project> |
