mirror of
https://github.com/marzer/tomlplusplus.git
synced 2024-11-02 11:26:26 +00:00
40ffee43fb
also: - added `toml_version.h` - added version number to toml.hpp - added `node::visit()` - added `table::empty()` - added `array::empty()` - added version number to `toml.hpp` - added ostream operator overload for `source_position` - added tests for string escape sequences - added tests for + in bare keys (toml/issues/687) - added tests for hexfloat literals (toml/issues/562) - added c++20 char8_t detection to meson - moved third party submodules to `/extern` - refactored noexcept version of `parse_result` to be more useful - refactored all code to 'mostly' stick to a 120 column limit - fixed some minor stuff picked up by gcc9
106 lines
4.8 KiB
XML
106 lines
4.8 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>
|
|
<RuntimeTypeInfo>false</RuntimeTypeInfo> <!-- /GR- -->
|
|
<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>
|
|
<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);_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>
|
|
</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 Condition="$(PlatformToolsetVersion) <= 141">AnySuitable</InlineFunctionExpansion> <!-- /Ob2 -->
|
|
<AdditionalOptions Condition="$(PlatformToolsetVersion) >= 142">%(AdditionalOptions) /Ob3</AdditionalOptions> <!-- /Ob3 -->
|
|
</ClCompile>
|
|
<Link>
|
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
|
<OptimizeReferences>true</OptimizeReferences>
|
|
</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>
|
|
|