[Lazarus] Build configuration
prof7bit at googlemail.com
Sun Sep 26 14:31:21 CEST 2010
On 25.09.2010 23:10, Benito van der Zander wrote:
> is there an easy way to switch between different compile configurations?
> In C++ projects you usually have debug/release configurations, and what
> I need
> in Lazarus, are three configurations: debug (range/overflow check),
> release linux (smart linked, optimized),
> release windows (smart linked, optimized, cross compiled)...
For the windows build I solve this problem by having an external tool
configured that will simply call
with the current project in the current project directory to quickly
make a windows build of any project with just two mouse clicks.
Unfortunately it is not possible to pass additional parameters to
lazbuild that would allow to override the compiler flags or specify an
additional config file.
Maybe it would be a good idea to file this as a feature request against
lazbuild because I think
(a) it should be easy to implement without affecting or interfering with
any existing functionality
(b) would allow for some really useful general purpose command lines for
More information about the Lazarus