Skip to content

Commit 5592b89

Browse files
committed
Updated with Debug/Release builds.
Debug has debugger info turned on, no optimizations, and default platform/cpu/etc. Release is set to no debugger, O2 optimizations, Linux x64, and filename bootstrap (Since release target is always for AWS Lambda)
1 parent 35f3a11 commit 5592b89

File tree

1 file changed

+28
-11
lines changed

1 file changed

+28
-11
lines changed

AWSCustomRuntime.lpi

Lines changed: 28 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,32 @@
1414
<UseAppBundle Value="False"/>
1515
<ResourceType Value="res"/>
1616
</General>
17-
<BuildModes Count="1">
18-
<Item1 Name="Linux" Default="True"/>
17+
<BuildModes Count="2">
18+
<Item1 Name="Debug" Default="True"/>
19+
<Item2 Name="Release">
20+
<CompilerOptions>
21+
<Version Value="11"/>
22+
<Target>
23+
<Filename Value="bin/$(TargetCPU)-$(TargetOS)/bootstrap"/>
24+
</Target>
25+
<SearchPaths>
26+
<IncludeFiles Value="$(ProjOutDir)"/>
27+
<UnitOutputDirectory Value="lib/$(TargetCPU)-$(TargetOS)"/>
28+
</SearchPaths>
29+
<CodeGeneration>
30+
<TargetCPU Value="x86_64"/>
31+
<TargetOS Value="linux"/>
32+
<Optimizations>
33+
<OptimizationLevel Value="2"/>
34+
</Optimizations>
35+
</CodeGeneration>
36+
<Linking>
37+
<Debugging>
38+
<GenerateDebugInfo Value="False"/>
39+
</Debugging>
40+
</Linking>
41+
</CompilerOptions>
42+
</Item2>
1943
</BuildModes>
2044
<PublishOptions>
2145
<Version Value="2"/>
@@ -35,24 +59,17 @@
3559
<CompilerOptions>
3660
<Version Value="11"/>
3761
<Target>
38-
<Filename Value="AWSCustomRuntime"/>
62+
<Filename Value="bin/$(TargetCPU)-$(TargetOS)/AWSCustomRuntime"/>
3963
</Target>
4064
<SearchPaths>
4165
<IncludeFiles Value="$(ProjOutDir)"/>
4266
<UnitOutputDirectory Value="lib/$(TargetCPU)-$(TargetOS)"/>
4367
</SearchPaths>
4468
<CodeGeneration>
45-
<TargetCPU Value="x86_64"/>
46-
<TargetOS Value="linux"/>
4769
<Optimizations>
48-
<OptimizationLevel Value="2"/>
70+
<OptimizationLevel Value="0"/>
4971
</Optimizations>
5072
</CodeGeneration>
51-
<Linking>
52-
<Debugging>
53-
<GenerateDebugInfo Value="False"/>
54-
</Debugging>
55-
</Linking>
5673
</CompilerOptions>
5774
<Debugging>
5875
<Exceptions Count="3">

0 commit comments

Comments
 (0)