Recent

Author Topic: [SOLVED] Build mode defines  (Read 2008 times)

pcurtis

  • Hero Member
  • *****
  • Posts: 742
[SOLVED] Build mode defines
« on: May 21, 2021, 08:56:17 am »
Where can I set DEFINES per build mode?
« Last Edit: May 21, 2021, 09:20:41 am by pcurtis »
Windows 10
Laz 2.0.10
FPC 3.2.0

lucamar

  • Hero Member
  • *****
  • Posts: 4219
Re: Build mode defines
« Reply #1 on: May 21, 2021, 09:06:22 am »
"Project->Project options" and, under "Compiler options", "Custom options". The attached image, for example, defines "Release" for the Release Mode.
Turbo Pascal 3 CP/M - Amstrad PCW 8256 (512 KB !!!) :P
Lazarus/FPC 2.0.8/3.0.4 & 2.0.12/3.2.0 - 32/64 bits on:
(K|L|X)Ubuntu 12..18, Windows XP, 7, 10 and various DOSes.

pcurtis

  • Hero Member
  • *****
  • Posts: 742
Re: Build mode defines
« Reply #2 on: May 21, 2021, 09:19:53 am »
Cheers.
Windows 10
Laz 2.0.10
FPC 3.2.0

 

TinyPortal © 2005-2018