Skip to content

Commit 41af0db

Browse files
committed
chore: Build modes and bin path
1 parent 99f0126 commit 41af0db

File tree

1 file changed

+76
-16
lines changed

1 file changed

+76
-16
lines changed

entries/rlawson/src/weather.lpi

Lines changed: 76 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,74 @@
77
<MainUnitHasCreateFormStatements Value="False"/>
88
<MainUnitHasTitleStatement Value="False"/>
99
<MainUnitHasScaledStatement Value="False"/>
10+
<CompatibilityMode Value="True"/>
1011
</Flags>
1112
<SessionStorage Value="InProjectDir"/>
1213
<Title Value="Rick 1brc app"/>
1314
<UseAppBundle Value="False"/>
1415
<ResourceType Value="res"/>
1516
</General>
16-
<BuildModes>
17-
<Item Name="Default" Default="True"/>
17+
<BuildModes Count="3">
18+
<Item1 Name="Default" Default="True"/>
19+
<Item2 Name="Debug">
20+
<CompilerOptions>
21+
<Version Value="11"/>
22+
<Target>
23+
<Filename Value="../../../bin/rlawson"/>
24+
</Target>
25+
<SearchPaths>
26+
<IncludeFiles Value="$(ProjOutDir)"/>
27+
<UnitOutputDirectory Value="../../../bin/lib/$(TargetCPU)-$(TargetOS)"/>
28+
</SearchPaths>
29+
<Parsing>
30+
<SyntaxOptions>
31+
<IncludeAssertionCode Value="True"/>
32+
</SyntaxOptions>
33+
</Parsing>
34+
<CodeGeneration>
35+
<Checks>
36+
<IOChecks Value="True"/>
37+
<RangeChecks Value="True"/>
38+
<OverflowChecks Value="True"/>
39+
<StackChecks Value="True"/>
40+
</Checks>
41+
<VerifyObjMethodCallValidity Value="True"/>
42+
</CodeGeneration>
43+
<Linking>
44+
<Debugging>
45+
<DebugInfoType Value="dsDwarf3"/>
46+
<UseHeaptrc Value="True"/>
47+
<TrashVariables Value="True"/>
48+
<UseExternalDbgSyms Value="True"/>
49+
</Debugging>
50+
</Linking>
51+
</CompilerOptions>
52+
</Item2>
53+
<Item3 Name="Release">
54+
<CompilerOptions>
55+
<Version Value="11"/>
56+
<Target>
57+
<Filename Value="../../../bin/rlawson"/>
58+
</Target>
59+
<SearchPaths>
60+
<IncludeFiles Value="$(ProjOutDir)"/>
61+
<UnitOutputDirectory Value="../../../bin/lib/$(TargetCPU)-$(TargetOS)"/>
62+
</SearchPaths>
63+
<CodeGeneration>
64+
<SmartLinkUnit Value="True"/>
65+
<Optimizations>
66+
<OptimizationLevel Value="3"/>
67+
</Optimizations>
68+
</CodeGeneration>
69+
<Linking>
70+
<Debugging>
71+
<GenerateDebugInfo Value="False"/>
72+
<RunWithoutDebug Value="True"/>
73+
</Debugging>
74+
<LinkSmart Value="True"/>
75+
</Linking>
76+
</CompilerOptions>
77+
</Item3>
1878
</BuildModes>
1979
<PublishOptions>
2080
<Version Value="2"/>
@@ -23,25 +83,25 @@
2383
<RunParams>
2484
<FormatVersion Value="2"/>
2585
</RunParams>
26-
<Units>
27-
<Unit>
86+
<Units Count="2">
87+
<Unit0>
2888
<Filename Value="weather.lpr"/>
2989
<IsPartOfProject Value="True"/>
30-
</Unit>
31-
<Unit>
90+
</Unit0>
91+
<Unit1>
3292
<Filename Value="parser.pas"/>
3393
<IsPartOfProject Value="True"/>
34-
</Unit>
94+
</Unit1>
3595
</Units>
3696
</ProjectOptions>
3797
<CompilerOptions>
3898
<Version Value="11"/>
3999
<Target>
40-
<Filename Value="weather"/>
100+
<Filename Value="../../../bin/rlawson"/>
41101
</Target>
42102
<SearchPaths>
43103
<IncludeFiles Value="$(ProjOutDir)"/>
44-
<UnitOutputDirectory Value="lib/$(TargetCPU)-$(TargetOS)"/>
104+
<UnitOutputDirectory Value="../../../bin/lib/$(TargetCPU)-$(TargetOS)"/>
45105
</SearchPaths>
46106
<Linking>
47107
<Debugging>
@@ -50,16 +110,16 @@
50110
</Linking>
51111
</CompilerOptions>
52112
<Debugging>
53-
<Exceptions>
54-
<Item>
113+
<Exceptions Count="3">
114+
<Item1>
55115
<Name Value="EAbort"/>
56-
</Item>
57-
<Item>
116+
</Item1>
117+
<Item2>
58118
<Name Value="ECodetoolError"/>
59-
</Item>
60-
<Item>
119+
</Item2>
120+
<Item3>
61121
<Name Value="EFOpenError"/>
62-
</Item>
122+
</Item3>
63123
</Exceptions>
64124
</Debugging>
65125
</CONFIG>

0 commit comments

Comments
 (0)