File: config.targets

package info (click to toggle)
ffms2 2.23-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster
  • size: 2,356 kB
  • sloc: cpp: 5,084; sh: 4,284; ansic: 485; makefile: 64; xml: 43
file content (38 lines) | stat: -rw-r--r-- 1,836 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<?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)'=='ffmpeg'">
    <ClCompile><PreprocessorDefinitions>WITH_SWRESAMPLE;%(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>