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-11-29 16:42:12 +00:00
|
|
|
<!-- Use the Win8 SDK headers even though we are using the v120_xp toolset. -->
|
2013-05-01 10:51:21 +00:00
|
|
|
<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
|
|
|
|
2013-10-20 12:30:53 +00:00
|
|
|
<PropertyGroup>
|
2013-11-03 19:56:32 +00:00
|
|
|
<!-- This is overridden by Build.bat during full build. -->
|
|
|
|
<RmOutDirRoot Condition=" '$(Platform)' == 'Win32' ">$(SolutionDir)x32-$(Configuration)\</RmOutDirRoot>
|
|
|
|
<RmOutDirRoot Condition=" '$(Platform)' == 'x64' ">$(SolutionDir)x64-$(Configuration)\</RmOutDirRoot>
|
|
|
|
|
|
|
|
<OutDir>$(RmOutDirRoot)</OutDir>
|
2013-10-20 12:30:53 +00:00
|
|
|
<IntDir>$(OutDir)\Obj\$(ProjectName)\</IntDir>
|
2012-12-18 17:49:51 +00:00
|
|
|
</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. -->
|
2013-06-14 13:52:48 +00:00
|
|
|
<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). -->
|
2013-06-14 16:36:31 +00:00
|
|
|
<DelayLoadTestDLL>Microsoft.VisualStudio.TestTools.CppUnitTestFramework.dll</DelayLoadTestDLL>
|
|
|
|
<DelayLoadTestDLL Condition="'$(Platform)'=='x64'">Microsoft.VisualStudio.TestTools.CppUnitTestFramework.x64.dll</DelayLoadTestDLL>
|
|
|
|
<DelayLoadTestDLL Condition="'$(ConfigurationType)'=='StaticLibrary'"></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-12-23 19:42:31 +00:00
|
|
|
<!-- Ignore C4351 to get rid of "new behavior: elements of array 'array' will be default initialized" -->
|
2013-12-24 11:45:49 +00:00
|
|
|
<DisableSpecificWarnings>4351;%(DisableSpecificWarnings)</DisableSpecificWarnings>
|
2013-12-23 19:42:31 +00:00
|
|
|
|
2013-12-24 11:45:49 +00:00
|
|
|
<ExceptionHandling>false</ExceptionHandling>
|
|
|
|
|
|
|
|
<!-- Set WINVER=0x0601 and friends (Win7) to avoid using Win8 specific features in the Win8 SDK. -->
|
|
|
|
<!-- Set _HAS_EXCEPTIONS=0 to accompany the disabled exception handling above. -->
|
|
|
|
<PreprocessorDefinitions>WIN32;_WINDOWS;WINVER=0x0601;_WIN32_WINNT=0x0601;_WIN32_IE=0x0601;PSAPI_VERSION=1;_CRT_SECURE_NO_WARNINGS;WIN32_LEAN_AND_MEAN;_HAS_EXCEPTIONS=0;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
2012-12-18 17:49:51 +00:00
|
|
|
<WarningLevel>Level3</WarningLevel>
|
|
|
|
</ClCompile>
|
|
|
|
<Link>
|
2013-11-29 16:42:12 +00:00
|
|
|
<SubSystem>Windows</SubSystem>
|
2012-12-18 17:49:51 +00:00
|
|
|
<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>
|
2013-10-20 15:06:07 +00:00
|
|
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
2012-12-18 17:49:51 +00:00
|
|
|
</ClCompile>
|
|
|
|
<Link>
|
2012-12-18 20:00:44 +00:00
|
|
|
<GenerateDebugInformation>false</GenerateDebugInformation>
|
2013-10-20 19:14:55 +00:00
|
|
|
<LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>
|
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>
|