On 16/04/13 14:52, Michael Van Canneyt wrote:
On Tue, 16 Apr 2013, Zaher Dirkey wrote:
On Tue, Apr 16, 2013 at 11:18 AM, Mattias Gaertner
<[email protected]> wrote:
Yes.
Although it might be a good idea to add a macro for the name of
the active build mode and I guess BuildMode is a good name for that.
Good and not :P
Here, it is not good to pass it to the packages include LCL and
maybe (FCL even the FPC pascal one) when compile the project, because
it it is variant name.
My need the build take Debug dirs (*.o units) if we define Debug or
Release dirs when define Release, let name it BuildState (i am not
good in naming)
We need this also even compile FPC projects, so (non LCL), i think
FPC developer can take a look to this thread.
You can create various config files. Depending on what 'mode' you
want, you can simply specify a different config file when compiling.
or use IFDEF's and macros in fpc.cfg
Stephano
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus