X64 transport [Part 2](we do not(?) need _mm_empty in x64 build)
[xy_vsfilter.git] / src / common.props
blobe004fa172e7d6284030c57cbb824a6ba9b6ea243
1 <?xml version="1.0" encoding="utf-8"?>\r
2 <Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">\r
3   <PropertyGroup>\r
4     <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>\r
5     <IntDir>$(SolutionDir)..\..\..\..\bin\obj\$(Configuration)_$(PlatformName)\$(ProjectName)\</IntDir>\r
6     <OutDir>$(SolutionDir)..\..\..\..\bin\lib\$(PlatformName)\</OutDir>\r
7     <TargetName Condition="'$(Configuration)'=='Release'">$(ProjectName)R</TargetName>\r
8     <TargetName Condition="'$(Configuration)'=='Debug'">$(ProjectName)D</TargetName>\r
9     <LinkIncremental Condition="'$(Configuration)'=='Debug' Or '$(Configuration)'=='Debug Filter' Or '$(Configuration)'=='Debug Lite'">true</LinkIncremental>\r
10     <LinkIncremental Condition="'$(Configuration)'=='Release' Or '$(Configuration)'=='Release Filter' Or '$(Configuration)'=='Release Lite'">false</LinkIncremental>\r
11   </PropertyGroup>\r
12   <ItemDefinitionGroup>\r
13     <ClCompile>\r
14       <AdditionalOptions>/w34706 %(AdditionalOptions)</AdditionalOptions>\r
15       <AdditionalOptions Condition="'$(ANALYZE)'=='true'">/wd4244 /wd4996 /wd6031 /wd6309 /wd6387 %(AdditionalOptions)</AdditionalOptions>\r
16       <EnablePREfast Condition="'$(Platform)'=='Win32' And '$(ANALYZE)'=='true'">true</EnablePREfast>\r
17       <BufferSecurityCheck>true</BufferSecurityCheck>\r
18       <FunctionLevelLinking>true</FunctionLevelLinking>\r
19       <PrecompiledHeader>Use</PrecompiledHeader>\r
20       <PrecompiledHeaderFile>stdafx.h</PrecompiledHeaderFile>\r
21       <PreprocessorDefinitions>WINVER=0x0601;PSAPI_VERSION=1;_WINDOWS;WINDOWS;_USE_MATH_DEFINES;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
22       <PreprocessorDefinitions Condition="'$(Platform)'=='Win32'">WIN32;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
23       <PreprocessorDefinitions Condition="'$(Platform)'=='x64'">_WIN64;WIN64;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
24       <WarningLevel>Level3</WarningLevel>\r
25     </ClCompile>\r
26     <Lib>\r
27       <TargetMachine Condition="'$(Platform)'=='Win32'">MachineX86</TargetMachine>\r
28       <TargetMachine Condition="'$(Platform)'=='x64'">MachineX64</TargetMachine>\r
29     </Lib>\r
30     <Link>\r
31       <DataExecutionPrevention>true</DataExecutionPrevention>\r
32       <GenerateDebugInformation>true</GenerateDebugInformation>\r
33       <RandomizedBaseAddress>true</RandomizedBaseAddress>\r
34       <SubSystem>Windows</SubSystem>\r
35       <TargetMachine Condition="'$(Platform)'=='Win32'">MachineX86</TargetMachine>\r
36       <TargetMachine Condition="'$(Platform)'=='x64'">MachineX64</TargetMachine>\r
37     </Link>\r
38     <ResourceCompile>\r
39       <Culture>0x0409</Culture>\r
40       <PreprocessorDefinitions Condition="'$(Platform)'=='Win32'">WIN32;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
41       <PreprocessorDefinitions Condition="'$(Platform)'=='x64'">_WIN64;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
42     </ResourceCompile>\r
43   </ItemDefinitionGroup>\r
44   <ItemDefinitionGroup Condition="'$(Configuration)'=='Debug' Or '$(Configuration)'=='Debug Filter' Or '$(Configuration)'=='Debug Lite'">\r
45     <ClCompile>\r
46       <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>\r
47       <DebugInformationFormat Condition="'$(Platform)'=='Win32'">EditAndContinue</DebugInformationFormat>\r
48       <DebugInformationFormat Condition="'$(Platform)'=='x64'">ProgramDatabase</DebugInformationFormat>\r
49       <Optimization>Disabled</Optimization>\r
50       <PreprocessorDefinitions>_DEBUG;DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
51       <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>\r
52     </ClCompile>\r
53     <ResourceCompile>\r
54       <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
55     </ResourceCompile>\r
56   </ItemDefinitionGroup>\r
57   <ItemDefinitionGroup Condition="'$(Configuration)'=='Release' Or '$(Configuration)'=='Release Filter' Or '$(Configuration)'=='Release Lite' Or '$(Configuration)'=='Release log' ">\r
58     <ClCompile>\r
59       <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>\r
60       <EnableEnhancedInstructionSet Condition="'$(Platform)'=='Win32'">StreamingSIMDExtensions</EnableEnhancedInstructionSet>\r
61       <InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>\r
62       <IntrinsicFunctions>true</IntrinsicFunctions>\r
63       <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>\r
64       <OmitFramePointers Condition="'$(Platform)'=='Win32'">true</OmitFramePointers>\r
65       <Optimization>MaxSpeed</Optimization>\r
66       <PreprocessorDefinitions>NDEBUG;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
67       <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
68       <RuntimeLibrary>MultiThreaded</RuntimeLibrary>\r
69       <StringPooling>true</StringPooling>\r
70       <WholeProgramOptimization Condition="'$(UseLTCG)'=='true'">true</WholeProgramOptimization>\r
71     </ClCompile>\r
72     <Lib>\r
73       <LinkTimeCodeGeneration Condition="'$(UseLTCG)'=='true'">true</LinkTimeCodeGeneration>\r
74     </Lib>\r
75     <Link>\r
76       <EnableCOMDATFolding>true</EnableCOMDATFolding>\r
77       <LargeAddressAware Condition="'$(Platform)'=='Win32'">true</LargeAddressAware>\r
78       <LinkTimeCodeGeneration Condition="'$(UseLTCG)'=='true'">UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>\r
79       <MergeSections>.rdata=.text</MergeSections>\r
80       <OptimizeReferences>true</OptimizeReferences>\r
81       <SetChecksum>true</SetChecksum>\r
82     </Link>\r
83     <ResourceCompile>\r
84       <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
85     </ResourceCompile>\r
86   </ItemDefinitionGroup>\r
87 </Project>