Skip to content

Commit 6144df2

Browse files
committed
chore: set release compiler option -WM10.15 identically to debug, relevant for macOS
1 parent 26ca75e commit 6144df2

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

heidisql.lpi

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,17 @@
9292
<OtherUnitFiles Value="source"/>
9393
<UnitOutputDirectory Value="bin\lib\$(TargetCPU)-$(TargetOS)"/>
9494
</SearchPaths>
95+
<Conditionals Value="// example for adding linker options on Mac OS X
96+
//if TargetOS=&apos;darwin&apos; then
97+
// LinkerOptions := &apos; -framework OpenGL&apos;;
98+
if TargetOS=&apos;darwin&apos; then
99+
CustomOptions := &apos;-WM10.15&apos;;
100+
101+
// example for adding a unit and include path on Windows
102+
//if SrcOS=&apos;win&apos; then begin
103+
// UnitPath += &apos;;win&apos;;
104+
// IncPath += &apos;;win&apos;;
105+
//end;"/>
95106
<CodeGeneration>
96107
<SmartLinkUnit Value="True"/>
97108
<Optimizations>

0 commit comments

Comments
 (0)