xref: /freebsd/sys/contrib/libsodium/builds/msvc/properties/Release.props (revision 02e9120893770924227138ba49df1edb3896112a)
1<?xml version="1.0" encoding="utf-8"?>
2<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
4  <ImportGroup Label="PropertySheets">
5    <Import Project="Common.props" />
6  </ImportGroup>
7
8  <PropertyGroup>
9    <_PropertySheetDisplayName>Release Settings</_PropertySheetDisplayName>
10    <DebugOrRelease>Release</DebugOrRelease>
11    <LinkIncremental>false</LinkIncremental>
12  </PropertyGroup>
13
14  <ItemDefinitionGroup>
15    <ClCompile>
16      <AdditionalOptions>/Oy- %(AdditionalOptions)</AdditionalOptions>
17      <!--<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>-->
18      <FunctionLevelLinking>true</FunctionLevelLinking>
19      <IntrinsicFunctions>true</IntrinsicFunctions>
20      <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
21      <MinimalRebuild>false</MinimalRebuild>
22      <Optimization>MaxSpeed</Optimization>
23      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
24    </ClCompile>
25    <ResourceCompile>
26      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
27    </ResourceCompile>
28    <Link>
29      <EnableCOMDATFolding>true</EnableCOMDATFolding>
30      <!--<GenerateDebugInformation>true</GenerateDebugInformation>-->
31      <OptimizeReferences>true</OptimizeReferences>
32    </Link>
33  </ItemDefinitionGroup>
34
35  <ItemDefinitionGroup Condition="'$(Processor)' == 'x86'">
36    <ClCompile>
37      <EnableEnhancedInstructionSet>StreamingSIMDExtensions2</EnableEnhancedInstructionSet>
38    </ClCompile>
39  </ItemDefinitionGroup>
40
41</Project>