Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Using the Lazarus IDE
»
Options
»
[SOLVED] Build mode defines
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
Forum Rules
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
CryptoLib4Pascal
by
Xor-el
[
Today
at 12:39:35 am]
GTK3 : Icons have borders...
by
Schmitty2005
[March 13, 2026, 11:31:58 pm]
Pocketbase
by
steve612
[March 13, 2026, 05:50:42 pm]
CONCAT formula
by
veb86
[March 13, 2026, 05:20:42 pm]
Hello! Anything new?
by
LeP
[March 13, 2026, 03:07:25 pm]
DataPort StopBits and Flo...
by
Thaddy
[March 13, 2026, 02:14:16 pm]
TChart: Wrong default val...
by
wp
[March 13, 2026, 02:03:58 pm]
Problem with drawing orde...
by
VisualLab
[March 13, 2026, 12:28:20 pm]
Lazarus Bugfix Release 4....
by
JuhaManninen
[March 13, 2026, 10:05:03 am]
88 year D. Knuth changes ...
by
Thaddy
[March 13, 2026, 07:31:38 am]
Any way to "embed" Window...
by
egsuh
[March 13, 2026, 06:54:51 am]
could Ardour's YTK be use...
by
dbannon
[March 13, 2026, 05:20:21 am]
interface and GUID someth...
by
egsuh
[March 13, 2026, 03:31:00 am]
CADSys4 3D.
by
maurog
[March 13, 2026, 01:00:05 am]
Questions about TFuncSeri...
by
wp
[March 13, 2026, 12:36:23 am]
UOS - pre-compiled librar...
by
Fred vS
[March 13, 2026, 12:34:06 am]
Pipewire API
by
Fred vS
[March 12, 2026, 10:11:02 pm]
TSplitter color property ...
by
valdir.marcos
[March 12, 2026, 09:20:11 pm]
ShortStrings vs long stri...
by
valdir.marcos
[March 12, 2026, 08:55:02 pm]
LazPaint (alpha-blending,...
by
CM630
[March 12, 2026, 08:38:30 pm]
Z80 ZX Spectrum and Syste...
by
d2010
[March 12, 2026, 07:58:28 pm]
Qt6/Wayland clipboard: pa...
by
valdir.marcos
[March 12, 2026, 06:27:22 pm]
[ANN] PasBuild 1.5.0 rele...
by
valdir.marcos
[March 12, 2026, 06:19:54 pm]
Synchronizing Lazarus pro...
by
valdir.marcos
[March 12, 2026, 05:46:58 pm]
class not found
by
SA.Blackmon
[March 12, 2026, 05:27:32 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] Build mode defines (Read 4469 times)
pcurtis
Hero Member
Posts: 951
[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
»
Logged
Windows 10 20H2
Laz 2.2.0
FPC 3.2.2
lucamar
Hero Member
Posts: 4217
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.
Logged
Turbo Pascal 3 CP/M - Amstrad PCW 8256 (512 KB !!!)
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: 951
Re: Build mode defines
«
Reply #2 on:
May 21, 2021, 09:19:53 am »
Cheers.
Logged
Windows 10 20H2
Laz 2.2.0
FPC 3.2.2
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Using the Lazarus IDE
»
Options
»
[SOLVED] Build mode defines
TinyPortal
© 2005-2018