116 строки
3.9 KiB
XML
116 строки
3.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<!-- Common Options -->
|
|
<ItemDefinitionGroup>
|
|
<ClCompile>
|
|
<WarningLevel>Level4</WarningLevel>
|
|
<TreatWarningAsError>true</TreatWarningAsError>
|
|
<LanguageStandard>stdcpp17</LanguageStandard>
|
|
<ConformanceMode>true</ConformanceMode>
|
|
<!-- By default, make Windows.h as lean as possible, enabling only what we know we need -->
|
|
<PreprocessorDefinitions>
|
|
NOGDICAPMASKS;
|
|
NOVIRTUALKEYCODES;
|
|
NOWINSTYLES;
|
|
NOSYSMETRICS;
|
|
NOMENUS;
|
|
NOICONS;
|
|
NOKEYSTATES;
|
|
NOSYSCOMMANDS;
|
|
NORASTEROPS;
|
|
NOSHOWWINDOW;
|
|
OEMRESOURCE;
|
|
NOATOM;
|
|
NOCLIPBOARD;
|
|
NOCOLOR;
|
|
NODRAWTEXT;
|
|
NOGDI;
|
|
NOKERNEL;
|
|
NOMEMMGR;
|
|
NOMETAFILE;
|
|
NOMINMAX;
|
|
NOOPENFILE;
|
|
NOSCROLL;
|
|
NOSERVICE;
|
|
NOSOUND;
|
|
NOTEXTMETRIC;
|
|
NOWH;
|
|
NOWINOFFSETS;
|
|
NOCOMM;
|
|
NOKANJI;
|
|
NOHELP;
|
|
NOPROFILER;
|
|
NODEFERWINDOWPOS;
|
|
NOMCX;
|
|
WIN32_LEAN_AND_MEAN;
|
|
_SCL_SECURE_NO_WARNINGS;
|
|
%(PreprocessorDefinitions)
|
|
</PreprocessorDefinitions>
|
|
<AdditionalIncludeDirectories>$(MSBuildThisFileDirectory)\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
</ClCompile>
|
|
</ItemDefinitionGroup>
|
|
|
|
<!-- Configuration-Specific Options -->
|
|
<ItemDefinitionGroup Condition="'$(Configuration)'=='Debug'">
|
|
<ClCompile>
|
|
<Optimization>Disabled</Optimization>
|
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
|
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
</ClCompile>
|
|
<!--Enable full PDB format for WinDbg usability-->
|
|
<Link>
|
|
<GenerateDebugInformation>DebugFull</GenerateDebugInformation>
|
|
</Link>
|
|
</ItemDefinitionGroup>
|
|
<ItemDefinitionGroup Condition="'$(Configuration)'=='Release'">
|
|
<ClCompile>
|
|
<Optimization>MaxSpeed</Optimization>
|
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
</ClCompile>
|
|
<Link>
|
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
<OptimizeReferences>true</OptimizeReferences>
|
|
</Link>
|
|
</ItemDefinitionGroup>
|
|
|
|
<!-- Platform-Specific Options -->
|
|
<ItemDefinitionGroup Condition="'$(Platform)'=='Win32'">
|
|
<ClCompile>
|
|
<PreprocessorDefinitions>WIN32;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
</ClCompile>
|
|
</ItemDefinitionGroup>
|
|
|
|
<!-- ConfigurationType-Specific Options -->
|
|
<ItemDefinitionGroup Condition="'$(ConfigurationType)'=='DynamicLibrary'">
|
|
<ClCompile>
|
|
<PreprocessorDefinitions>_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
</ClCompile>
|
|
</ItemDefinitionGroup>
|
|
<ItemDefinitionGroup Condition="'$(ConfigurationType)'=='StaticLibrary'">
|
|
<ClCompile>
|
|
<PreprocessorDefinitions>_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
</ClCompile>
|
|
</ItemDefinitionGroup>
|
|
|
|
<!-- SubSystem-Specific Options -->
|
|
<ItemDefinitionGroup Condition="'$(SubSystem)'=='Windows'">
|
|
<ClCompile>
|
|
<PreprocessorDefinitions>_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
</ClCompile>
|
|
<Link>
|
|
<SubSystem>Windows</SubSystem>
|
|
</Link>
|
|
</ItemDefinitionGroup>
|
|
<ItemDefinitionGroup Condition="'$(SubSystem)'=='Console'">
|
|
<ClCompile>
|
|
<PreprocessorDefinitions>_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
</ClCompile>
|
|
<Link>
|
|
<SubSystem>Console</SubSystem>
|
|
</Link>
|
|
</ItemDefinitionGroup>
|
|
</Project> |