In my project, in Lazarus IDE, I have a directive
{$DEFINE Test01}
that defines development / testing values (eg filenames etc).
When I want to compile a production version, I have to turn off test01, compile, turn Test01 back on.
Then I run a batch file to copy the exe to the production area.
How to I automate the compilation, turning off Test01 for that compilation.
Thanks,
Bazza