Skip to content

Commit 7bb09ba

Browse files
chore: Add project Debug build mode
The project have now a release and debug build mode.
1 parent 8084e9b commit 7bb09ba

File tree

2 files changed

+137
-2
lines changed

2 files changed

+137
-2
lines changed

source/project/tracker_editor/trackereditor.lpi

Lines changed: 73 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,80 @@
2020
<VersionInfo>
2121
<StringTable ProductVersion=""/>
2222
</VersionInfo>
23-
<BuildModes Count="1">
23+
<BuildModes Count="3">
2424
<Item1 Name="Default" Default="True"/>
25+
<Item2 Name="Debug">
26+
<CompilerOptions>
27+
<Version Value="11"/>
28+
<PathDelim Value="\"/>
29+
<Target>
30+
<Filename Value="..\..\..\enduser\trackereditor"/>
31+
</Target>
32+
<SearchPaths>
33+
<IncludeFiles Value="$(ProjOutDir)"/>
34+
<OtherUnitFiles Value="..\..\code"/>
35+
<UnitOutputDirectory Value="..\..\..\lib\trackereditor\$(TargetCPU)-$(TargetOS)"/>
36+
</SearchPaths>
37+
<Parsing>
38+
<SyntaxOptions>
39+
<IncludeAssertionCode Value="True"/>
40+
</SyntaxOptions>
41+
</Parsing>
42+
<CodeGeneration>
43+
<Checks>
44+
<IOChecks Value="True"/>
45+
<RangeChecks Value="True"/>
46+
<OverflowChecks Value="True"/>
47+
<StackChecks Value="True"/>
48+
</Checks>
49+
<VerifyObjMethodCallValidity Value="True"/>
50+
</CodeGeneration>
51+
<Linking>
52+
<Debugging>
53+
<DebugInfoType Value="dsDwarf2Set"/>
54+
<TrashVariables Value="True"/>
55+
<UseValgrind Value="True"/>
56+
<UseExternalDbgSyms Value="True"/>
57+
</Debugging>
58+
<Options>
59+
<Win32>
60+
<GraphicApplication Value="True"/>
61+
</Win32>
62+
</Options>
63+
</Linking>
64+
</CompilerOptions>
65+
</Item2>
66+
<Item3 Name="Release">
67+
<CompilerOptions>
68+
<Version Value="11"/>
69+
<PathDelim Value="\"/>
70+
<Target>
71+
<Filename Value="..\..\..\enduser\trackereditor"/>
72+
</Target>
73+
<SearchPaths>
74+
<IncludeFiles Value="$(ProjOutDir)"/>
75+
<OtherUnitFiles Value="..\..\code"/>
76+
<UnitOutputDirectory Value="..\..\..\lib\trackereditor\$(TargetCPU)-$(TargetOS)"/>
77+
</SearchPaths>
78+
<CodeGeneration>
79+
<SmartLinkUnit Value="True"/>
80+
<Optimizations>
81+
<OptimizationLevel Value="3"/>
82+
</Optimizations>
83+
</CodeGeneration>
84+
<Linking>
85+
<Debugging>
86+
<GenerateDebugInfo Value="False"/>
87+
</Debugging>
88+
<LinkSmart Value="True"/>
89+
<Options>
90+
<Win32>
91+
<GraphicApplication Value="True"/>
92+
</Win32>
93+
</Options>
94+
</Linking>
95+
</CompilerOptions>
96+
</Item3>
2597
</BuildModes>
2698
<PublishOptions>
2799
<Version Value="2"/>

source/project/unit_test/tracker_editor_test.lpi

Lines changed: 64 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,71 @@
1616
<VersionInfo>
1717
<StringTable ProductVersion=""/>
1818
</VersionInfo>
19-
<BuildModes Count="1">
19+
<BuildModes Count="3">
2020
<Item1 Name="Default" Default="True"/>
21+
<Item2 Name="Debug">
22+
<CompilerOptions>
23+
<Version Value="11"/>
24+
<PathDelim Value="\"/>
25+
<Target>
26+
<Filename Value="..\..\..\enduser\test_trackereditor"/>
27+
</Target>
28+
<SearchPaths>
29+
<IncludeFiles Value="$(ProjOutDir)"/>
30+
<OtherUnitFiles Value="..\..\test;..\..\code"/>
31+
<UnitOutputDirectory Value="..\..\..\lib\test_trackereditor\$(TargetCPU)-$(TargetOS)"/>
32+
</SearchPaths>
33+
<Parsing>
34+
<SyntaxOptions>
35+
<IncludeAssertionCode Value="True"/>
36+
</SyntaxOptions>
37+
</Parsing>
38+
<CodeGeneration>
39+
<Checks>
40+
<IOChecks Value="True"/>
41+
<RangeChecks Value="True"/>
42+
<OverflowChecks Value="True"/>
43+
<StackChecks Value="True"/>
44+
</Checks>
45+
<VerifyObjMethodCallValidity Value="True"/>
46+
</CodeGeneration>
47+
<Linking>
48+
<Debugging>
49+
<DebugInfoType Value="dsDwarf2Set"/>
50+
<UseHeaptrc Value="True"/>
51+
<TrashVariables Value="True"/>
52+
<UseValgrind Value="True"/>
53+
<UseExternalDbgSyms Value="True"/>
54+
</Debugging>
55+
</Linking>
56+
</CompilerOptions>
57+
</Item2>
58+
<Item3 Name="Release">
59+
<CompilerOptions>
60+
<Version Value="11"/>
61+
<PathDelim Value="\"/>
62+
<Target>
63+
<Filename Value="..\..\..\enduser\test_trackereditor"/>
64+
</Target>
65+
<SearchPaths>
66+
<IncludeFiles Value="$(ProjOutDir)"/>
67+
<OtherUnitFiles Value="..\..\test;..\..\code"/>
68+
<UnitOutputDirectory Value="..\..\..\lib\test_trackereditor\$(TargetCPU)-$(TargetOS)"/>
69+
</SearchPaths>
70+
<CodeGeneration>
71+
<SmartLinkUnit Value="True"/>
72+
<Optimizations>
73+
<OptimizationLevel Value="3"/>
74+
</Optimizations>
75+
</CodeGeneration>
76+
<Linking>
77+
<Debugging>
78+
<GenerateDebugInfo Value="False"/>
79+
</Debugging>
80+
<LinkSmart Value="True"/>
81+
</Linking>
82+
</CompilerOptions>
83+
</Item3>
2184
</BuildModes>
2285
<PublishOptions>
2386
<Version Value="2"/>

0 commit comments

Comments
 (0)