2011-05-14 07:56:18 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2013-05-01 10:02:17 +00:00
|
|
|
<!-- Visual C++ project options meant to applied after the default Microsoft property sheets. -->
|
2011-05-14 07:56:18 +00:00
|
|
|
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
2013-05-01 10:03:08 +00:00
|
|
|
<PropertyGroup>
|
2013-05-01 10:51:21 +00:00
|
|
|
<!-- Use the Win8 SDK headers even though we are using the v110_xp toolset. -->
|
|
|
|
<IncludePath>$(VCInstallDir)include;$(VCInstallDir)atlmfc\include;$(WindowsSDK_IncludePath);</IncludePath>
|
2013-05-01 10:03:08 +00:00
|
|
|
</PropertyGroup>
|
|
|
|
|
2012-12-18 17:49:51 +00:00
|
|
|
<PropertyGroup Condition="'$(Configuration)'=='Debug'" Label="Configuration">
|
|
|
|
<UseDebugLibraries>true</UseDebugLibraries>
|
|
|
|
<LinkIncremental>true</LinkIncremental>
|
2012-01-08 17:35:29 +00:00
|
|
|
</PropertyGroup>
|
2012-12-18 18:02:19 +00:00
|
|
|
|
2012-12-18 17:49:51 +00:00
|
|
|
<PropertyGroup Condition="'$(Configuration)'=='Release'" Label="Configuration">
|
|
|
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
|
|
|
</PropertyGroup>
|
2012-12-18 18:02:19 +00:00
|
|
|
|
2012-12-18 17:49:51 +00:00
|
|
|
<PropertyGroup Condition="'$(Platform)'=='Win32'">
|
|
|
|
<OutDir>$(SolutionDir)TestBench\x32\$(Configuration)\</OutDir>
|
|
|
|
<IntDir>.\x32\$(Configuration)\</IntDir>
|
|
|
|
</PropertyGroup>
|
2012-12-18 18:02:19 +00:00
|
|
|
|
2012-12-18 17:49:51 +00:00
|
|
|
<PropertyGroup Condition="'$(Platform)'=='x64'">
|
|
|
|
<OutDir>$(SolutionDir)TestBench\x64\$(Configuration)\</OutDir>
|
|
|
|
<IntDir>.\x64\$(Configuration)\</IntDir>
|
|
|
|
</PropertyGroup>
|
|
|
|
|
2013-06-12 18:54:23 +00:00
|
|
|
<PropertyGroup>
|
|
|
|
<!-- Avoid .lib files in TestBench. -->
|
|
|
|
<OutDir Condition="'$(ConfigurationType)'=='StaticLibrary'">$(IntDir)</OutDir>
|
|
|
|
</PropertyGroup>
|
|
|
|
|
2013-06-13 17:52:15 +00:00
|
|
|
<!-- Macros for unit testing. -->
|
|
|
|
<PropertyGroup Label="UserMacros">
|
2013-06-13 18:13:57 +00:00
|
|
|
<!-- This is set to true by Build.bat when building full builds. -->
|
|
|
|
<ExcludeTests>false</ExcludeTests>
|
2013-06-13 17:52:15 +00:00
|
|
|
|
|
|
|
<!-- Non-static projects must delayload CppUnitTestFramework.dll to avoid the "module not found"
|
|
|
|
errors (since CppUnitTestFramework.dll is available only when running tests). -->
|
|
|
|
<DelayLoadTestDLL Condition="'$(ConfigurationType)'!='StaticLibrary'">Microsoft.VisualStudio.TestTools.CppUnitTestFramework.dll</DelayLoadTestDLL>
|
2013-06-13 18:13:57 +00:00
|
|
|
<DelayLoadTestDLL Condition="'$(ExcludeTests)'=='true'"></DelayLoadTestDLL>
|
2013-06-13 17:52:15 +00:00
|
|
|
</PropertyGroup>
|
|
|
|
|
2013-06-13 18:13:57 +00:00
|
|
|
<ItemDefinitionGroup Condition="'$(ExcludeTests)'=='false'">
|
|
|
|
<ClCompile>
|
|
|
|
<AdditionalIncludeDirectories>$(VCInstallDir)UnitTest\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
|
|
</ClCompile>
|
|
|
|
<Link>
|
|
|
|
<AdditionalLibraryDirectories>$(VCInstallDir)UnitTest\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
|
|
|
</Link>
|
|
|
|
</ItemDefinitionGroup>
|
|
|
|
|
2012-12-18 17:49:51 +00:00
|
|
|
<ItemDefinitionGroup>
|
|
|
|
<ClCompile>
|
2013-05-01 11:14:47 +00:00
|
|
|
<!-- Set the version macros to 0x0601 (Win7) to avoid using Win8 specific features in the Win8 SDK. -->
|
2013-05-11 11:58:33 +00:00
|
|
|
<PreprocessorDefinitions>WIN32;_WINDOWS;WINVER=0x0601;_WIN32_WINNT=0x0601;_WIN32_IE=0x0601;PSAPI_VERSION=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
2012-12-18 17:49:51 +00:00
|
|
|
<WarningLevel>Level3</WarningLevel>
|
|
|
|
</ClCompile>
|
|
|
|
<Link>
|
|
|
|
<ImportLibrary>$(IntDir)$(TargetName).lib</ImportLibrary>
|
|
|
|
<ProgramDatabaseFile>$(IntDir)$(TargetName).pdb</ProgramDatabaseFile>
|
|
|
|
<RuntimeTypeInfo>false</RuntimeTypeInfo>
|
|
|
|
</Link>
|
|
|
|
<ResourceCompile>
|
|
|
|
<Culture>0x0409</Culture>
|
|
|
|
</ResourceCompile>
|
|
|
|
</ItemDefinitionGroup>
|
|
|
|
|
|
|
|
<ItemDefinitionGroup Condition="'$(Configuration)'=='Debug'">
|
|
|
|
<ClCompile>
|
|
|
|
<Optimization>Disabled</Optimization>
|
|
|
|
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
|
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
|
|
|
</ClCompile>
|
|
|
|
<Link>
|
|
|
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
|
|
</Link>
|
|
|
|
<ResourceCompile>
|
|
|
|
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
|
|
</ResourceCompile>
|
|
|
|
</ItemDefinitionGroup>
|
|
|
|
|
|
|
|
<ItemDefinitionGroup Condition="'$(Configuration)'=='Release'">
|
|
|
|
<ClCompile>
|
|
|
|
<Optimization>MaxSpeed</Optimization>
|
|
|
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
|
|
</ClCompile>
|
|
|
|
<Link>
|
2012-12-18 20:00:44 +00:00
|
|
|
<GenerateDebugInformation>false</GenerateDebugInformation>
|
2012-12-18 17:49:51 +00:00
|
|
|
<MergeSections>.rdata=.text</MergeSections>
|
|
|
|
<OptimizeReferences>true</OptimizeReferences>
|
|
|
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
|
|
|
</Link>
|
|
|
|
<ResourceCompile>
|
|
|
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
|
|
</ResourceCompile>
|
|
|
|
</ItemDefinitionGroup>
|
|
|
|
|
|
|
|
<ItemDefinitionGroup Condition="'$(Platform)'=='Win32'">
|
|
|
|
<ClCompile>
|
|
|
|
<EnableEnhancedInstructionSet>StreamingSIMDExtensions</EnableEnhancedInstructionSet>
|
|
|
|
</ClCompile>
|
|
|
|
<Link>
|
|
|
|
<TargetMachine>MachineX86</TargetMachine>
|
|
|
|
</Link>
|
|
|
|
</ItemDefinitionGroup>
|
|
|
|
|
|
|
|
<ItemDefinitionGroup Condition="'$(Platform)'=='x64'">
|
|
|
|
<ResourceCompile>
|
|
|
|
<PreprocessorDefinitions>_WIN64;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
|
|
</ResourceCompile>
|
|
|
|
<Link>
|
|
|
|
<TargetMachine>MachineX64</TargetMachine>
|
|
|
|
</Link>
|
|
|
|
</ItemDefinitionGroup>
|
2011-05-14 07:56:18 +00:00
|
|
|
</Project>
|