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
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] Build mode defines (Read 5497 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