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>
25 <!-- This is the version of the MSVC tool-set to use. -->
26 <!-- v140 is the Visual Studio 2015 toolset. -->
27 <!-- v141 is the Visual Studio 2017 toolset. -->
28 <PlatformToolset>v141
</PlatformToolset>
31 <!-- This is the default SDK target. -->
32 <!-- Note that the Windows 8.1 SDK is backwards compatible down-level to Windows 7, so
33 setting this to 8.1 does not actually imply targeting Windows 8.1. -->
34 <WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
37 <!-- We need to explicitly set the target version to Windows 7. -->
38 <Win32_WinNTVersion>0x0601</Win32_WinNTVersion>
40 <!-- Options that are common to *all* configurations for *all* projects. -->
43 <MkTypLibCompatible>true
</MkTypLibCompatible>
44 <SuppressStartupBanner>true
</SuppressStartupBanner>
47 <!-- Note: These preprocessor defines are for *all* configurations for *all* projects. -->
48 <!-- Note: See ticket #5750 for the macro '_CRT_SECURE_NO_DEPRECATE'. -->
49 <PreprocessorDefinitions>
50 WINVER=$(Win32_WinNTVersion);
51 _WIN32_WINNT=$(Win32_WinNTVersion);
52 _CRT_SECURE_NO_DEPRECATE;
53 %(PreprocessorDefinitions)
54 </PreprocessorDefinitions>
55 <!-- We always want to treat wchar_t as a "real" C++ type, instead of a typedef. -->
56 <TreatWChar_tAsBuiltInType>true
</TreatWChar_tAsBuiltInType>
57 <SuppressStartupBanner>true
</SuppressStartupBanner>
58 <!-- Set the source encoding and runtime encoding to UTF-8 by default. -->
59 <AdditionalOptions>/utf-
8 %(AdditionalOptions)
</AdditionalOptions>
60 <!-- Enable parallel compilation for faster builds. -->
61 <MultiProcessorCompilation>true
</MultiProcessorCompilation>
64 <Culture>0x0409</Culture>
67 <SuppressStartupBanner>true
</SuppressStartupBanner>
69 </ItemDefinitionGroup>
70 <!-- Options that are common to all 'Release' configurations for *all* projects. -->
71 <ItemDefinitionGroup Condition=
"'$(Configuration)'=='Release'">
73 <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)
</PreprocessorDefinitions>
76 <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)
</PreprocessorDefinitions>
77 <StringPooling>true
</StringPooling>
80 <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)
</PreprocessorDefinitions>
83 <EnableCOMDATFolding>true
</EnableCOMDATFolding>
85 </ItemDefinitionGroup>
86 <!-- Options that are common to all 'Debug' configurations for *all* projects. -->
87 <ItemDefinitionGroup Condition=
"'$(Configuration)'=='Debug'">
89 <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)
</PreprocessorDefinitions>
92 <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)
</PreprocessorDefinitions>
93 <Optimization>Disabled
</Optimization>
94 <BasicRuntimeChecks>EnableFastChecks
</BasicRuntimeChecks>
95 <BufferSecurityCheck>true
</BufferSecurityCheck>
98 <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)
</PreprocessorDefinitions>
101 <GenerateDebugInformation>true
</GenerateDebugInformation>
102 <ImageHasSafeExceptionHandlers>false
</ImageHasSafeExceptionHandlers>
104 </ItemDefinitionGroup>
105 <!-- Options that are common to all 32-bit configurations for *all* projects. -->
106 <ItemDefinitionGroup Condition=
"'$(Platform)'=='Win32'">
108 <TargetEnvironment>Win32
</TargetEnvironment>
111 <PreprocessorDefinitions>WIN32;%(PreprocessorDefinitions)
</PreprocessorDefinitions>
114 <TargetMachine>MachineX86
</TargetMachine>
116 </ItemDefinitionGroup>
117 <!-- Options that are common to all 64-bit configurations for *all* projects. -->
118 <ItemDefinitionGroup Condition=
"'$(Platform)'=='x64'">
120 <TargetEnvironment>X64
</TargetEnvironment>
123 <PreprocessorDefinitions>WIN64;WIN32;%(PreprocessorDefinitions)
</PreprocessorDefinitions>
126 <TargetMachine>MachineX64
</TargetMachine>
128 </ItemDefinitionGroup>