1 <?xml version=
"1.0" encoding=
"utf-8"?>
2 <!-- Copyright (C) 2016 and later: Unicode, Inc. and others. License & terms of use: http://www.unicode.org/copyright.html -->
3 <Project DefaultTargets=
"Build" ToolsVersion=
"14.0" xmlns=
"http://schemas.microsoft.com/developer/msbuild/2003">
4 <!-- This file is used to set default configuration options for all non-UWP Visual Studio projects. -->
5 <!-- These are the default project configurations for building. -->
6 <ItemGroup Label=
"ProjectConfigurations">
7 <ProjectConfiguration Include=
"Debug|Win32">
8 <Configuration>Debug
</Configuration>
9 <Platform>Win32
</Platform>
10 </ProjectConfiguration>
11 <ProjectConfiguration Include=
"Debug|x64">
12 <Configuration>Debug
</Configuration>
13 <Platform>x64
</Platform>
14 </ProjectConfiguration>
15 <ProjectConfiguration Include=
"Release|Win32">
16 <Configuration>Release
</Configuration>
17 <Platform>Win32
</Platform>
18 </ProjectConfiguration>
19 <ProjectConfiguration Include=
"Release|x64">
20 <Configuration>Release
</Configuration>
21 <Platform>x64
</Platform>
22 </ProjectConfiguration>
24 <!-- The following import will set the PlatformToolset configuration. -->
25 <Import Project=
"Build.Windows.PlatformToolset.props" />
27 <!-- This is the default SDK target. -->
28 <!-- Note that the Windows 8.1 SDK is backwards compatible down-level to Windows 7, so
29 setting this to 8.1 does not actually imply targeting Windows 8.1. -->
30 <WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
33 <!-- We need to explicitly set the target version to Windows 7. -->
34 <Win32_WinNTVersion>0x0601</Win32_WinNTVersion>
36 <!-- Options that are common to *all* configurations for *all* projects. -->
39 <MkTypLibCompatible>true
</MkTypLibCompatible>
40 <SuppressStartupBanner>true
</SuppressStartupBanner>
43 <!-- Note: These preprocessor defines are for *all* configurations for *all* projects. -->
44 <!-- Note: See ticket #5750 for the macro '_CRT_SECURE_NO_DEPRECATE'. -->
45 <PreprocessorDefinitions>
46 WINVER=$(Win32_WinNTVersion);
47 _WIN32_WINNT=$(Win32_WinNTVersion);
48 _CRT_SECURE_NO_DEPRECATE;
49 %(PreprocessorDefinitions)
50 </PreprocessorDefinitions>
51 <!-- We always want to treat wchar_t as a "real" C++ type, instead of a typedef. -->
52 <TreatWChar_tAsBuiltInType>true
</TreatWChar_tAsBuiltInType>
53 <SuppressStartupBanner>true
</SuppressStartupBanner>
54 <!-- Set the source encoding and runtime encoding to UTF-8 by default. -->
55 <AdditionalOptions>/utf-
8 %(AdditionalOptions)
</AdditionalOptions>
56 <!-- Enable parallel compilation for faster builds. -->
57 <MultiProcessorCompilation>true
</MultiProcessorCompilation>
60 <Culture>0x0409</Culture>
63 <SuppressStartupBanner>true
</SuppressStartupBanner>
65 </ItemDefinitionGroup>
66 <!-- Options that are common to all 'Release' configurations for *all* projects. -->
67 <ItemDefinitionGroup Condition=
"'$(Configuration)'=='Release'">
69 <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)
</PreprocessorDefinitions>
72 <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)
</PreprocessorDefinitions>
73 <StringPooling>true
</StringPooling>
76 <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)
</PreprocessorDefinitions>
79 <EnableCOMDATFolding>true
</EnableCOMDATFolding>
81 </ItemDefinitionGroup>
82 <!-- Options that are common to all 'Debug' configurations for *all* projects. -->
83 <ItemDefinitionGroup Condition=
"'$(Configuration)'=='Debug'">
85 <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)
</PreprocessorDefinitions>
88 <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)
</PreprocessorDefinitions>
89 <Optimization>Disabled
</Optimization>
90 <BasicRuntimeChecks>EnableFastChecks
</BasicRuntimeChecks>
91 <BufferSecurityCheck>true
</BufferSecurityCheck>
94 <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)
</PreprocessorDefinitions>
97 <GenerateDebugInformation>true
</GenerateDebugInformation>
98 <ImageHasSafeExceptionHandlers>false
</ImageHasSafeExceptionHandlers>
100 </ItemDefinitionGroup>
101 <!-- Options that are common to all 32-bit configurations for *all* projects. -->
102 <ItemDefinitionGroup Condition=
"'$(Platform)'=='Win32'">
104 <TargetEnvironment>Win32
</TargetEnvironment>
107 <PreprocessorDefinitions>WIN32;%(PreprocessorDefinitions)
</PreprocessorDefinitions>
110 <TargetMachine>MachineX86
</TargetMachine>
112 </ItemDefinitionGroup>
113 <!-- Options that are common to all 64-bit configurations for *all* projects. -->
114 <ItemDefinitionGroup Condition=
"'$(Platform)'=='x64'">
116 <TargetEnvironment>X64
</TargetEnvironment>
119 <PreprocessorDefinitions>WIN64;WIN32;%(PreprocessorDefinitions)
</PreprocessorDefinitions>
122 <TargetMachine>MachineX64
</TargetMachine>
124 </ItemDefinitionGroup>