tomlplusplus/vs/toml++.props
Mark Gillard f3990256ce moved preprocessor machinery to a separate header
- added doxygen page for the configuration options
- added SPDX-License-Identifiers around the place
- changed TOML_UNRELEASED_FEATURES default to 0
- simplified ABI namespace machinery
- fixed a number of doxygen bugs
2020-04-10 19:46:00 +03:00

108 lines
4.7 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<BuildInfoJobStartTicks>$([System.DateTime]::Now.Ticks)</BuildInfoJobStartTicks>
</PropertyGroup>
<!-- :: defaults -->
<PropertyGroup>
<OutDir>$(SolutionDir)..\bin\$(PlatformTarget)-$(Configuration)\</OutDir>
<IntDir>$(SolutionDir)..\build\$(TargetName)$(TargetExt)-$(PlatformTarget)-$(Configuration)-$(PlatformToolsetVersion)\</IntDir>
<IncludePath>$(SolutionDir)..\include;$(SolutionDir)..\extern;$(IncludePath)</IncludePath>
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
<ItemDefinitionGroup>
<ClCompile>
<BufferSecurityCheck>false</BufferSecurityCheck>
<ControlFlowGuard>false</ControlFlowGuard>
<FloatingPointExceptions>false</FloatingPointExceptions> <!-- /fp:except- -->
<ExceptionHandling>Sync</ExceptionHandling> <!-- /EHsc -->
<ConformanceMode>true</ConformanceMode> <!-- /permissive- -->
<StringPooling>true</StringPooling> <!-- /GF -->
<OpenMPSupport>false</OpenMPSupport> <!-- /openmp- -->
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat> <!-- /Zi -->
<IntrinsicFunctions>true</IntrinsicFunctions>
<FunctionLevelLinking>true</FunctionLevelLinking>
<TreatWarningAsError>true</TreatWarningAsError>
<WarningLevel>Level4</WarningLevel>
<LanguageStandard>stdcpplatest</LanguageStandard>
<DiagnosticsFormat>Caret</DiagnosticsFormat>
<FavorSizeOrSpeed>Size</FavorSizeOrSpeed> <!-- /Os -->
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<MultiProcessorCompilation>false</MultiProcessorCompilation>
<AdditionalOptions>%(AdditionalOptions) /utf-8 /volatile:iso /Zc:__cplusplus /bigobj /Zc:inline /Zc:throwingNew</AdditionalOptions>
<PreprocessorDefinitions>%(PreprocessorDefinitions);_CONSOLE</PreprocessorDefinitions>
<PreprocessorDefinitions>%(PreprocessorDefinitions);_ITERATOR_DEBUG_LEVEL=0</PreprocessorDefinitions>
<PreprocessorDefinitions>%(PreprocessorDefinitions);_WINSOCK_DEPRECATED_NO_WARNINGS</PreprocessorDefinitions>
<PreprocessorDefinitions>%(PreprocessorDefinitions);_SCL_SECURE_NO_WARNINGS</PreprocessorDefinitions>
<PreprocessorDefinitions>%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS</PreprocessorDefinitions>
<PreprocessorDefinitions>%(PreprocessorDefinitions);_MSC_TOOLSET_VER=$(PlatformToolsetVersion)</PreprocessorDefinitions>
</ClCompile>
<Link>
<TreatLinkerWarningAsErrors>true</TreatLinkerWarningAsErrors>
<SubSystem>Console</SubSystem>
<LargeAddressAware>true</LargeAddressAware>
</Link>
</ItemDefinitionGroup>
<!-- :: debug -->
<PropertyGroup Condition="$(Configuration.ToLower().Contains('debug'))">
<LinkIncremental>true</LinkIncremental>
</PropertyGroup>
<ItemDefinitionGroup Condition="$(Configuration.ToLower().Contains('debug'))">
<ClCompile>
<Optimization>Disabled</Optimization> <!-- /Od -->
<OmitFramePointers>false</OmitFramePointers> <!-- /Oy- -->
<PreprocessorDefinitions>%(PreprocessorDefinitions);_DEBUG</PreprocessorDefinitions>
</ClCompile>
<Link>
<OptimizeReferences>false</OptimizeReferences> <!-- /OPT:NOREF -->
<EnableCOMDATFolding>false</EnableCOMDATFolding> <!-- /OPT:NOICF -->
</Link>
</ItemDefinitionGroup>
<!-- :: release -->
<ItemDefinitionGroup Condition="!$(Configuration.ToLower().Contains('debug'))">
<ClCompile>
<Optimization>MaxSpeed</Optimization> <!-- /O2 -->
<OmitFramePointers>true</OmitFramePointers> <!-- /Oy -->
<PreprocessorDefinitions>%(PreprocessorDefinitions);NDEBUG</PreprocessorDefinitions>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion> <!-- /Ob2 -->
</ClCompile>
<Link>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>
</Link>
</ItemDefinitionGroup>
<!-- :: 32-bit -->
<ItemDefinitionGroup Condition="'$(PlatformArchitecture)'=='32'">
<ClCompile>
<EnableEnhancedInstructionSet>StreamingSIMDExtensions2</EnableEnhancedInstructionSet> <!-- /arch:SSE2 -->
</ClCompile>
</ItemDefinitionGroup>
<!-- :: 64-bit -->
<ItemDefinitionGroup Condition="'$(PlatformArchitecture)'=='64'">
<ClCompile>
<EnableEnhancedInstructionSet>AdvancedVectorExtensions</EnableEnhancedInstructionSet> <!-- /arch:AVX -->
</ClCompile>
</ItemDefinitionGroup>
<!-- Report how long each build took -->
<Target Name="BuildInfoReportDuration" AfterTargets="Build">
<Message
Importance="high"
Text="===== $(ProjectName) ($(Configuration) $(Platform)) built in $([System.TimeSpan]::FromTicks($([System.DateTime]::Now.Ticks))
.Subtract($([System.TimeSpan]::FromTicks($(BuildInfoJobStartTicks))))
.ToString()
). ====="
/>
</Target>
</Project>