Not really easy. The easiest way is to save your compiler options and
reload them when you want to switch.
Thanks, that works.
But it also overrides the path settings, which is not optimal.
For the windows build I solve this problem by having an external tool
configured that will simply call
$(SaveAll)$(Home)/.wine/drive_c/lazarus/lazbuild.exe
Nice idea, but without additional parameter it is not really usable.
At least the cpu/os target can be overriden, so that I could use it,
for cross compiling. (I don't use wine, but have a fpc with windows
target running native on linux)
Maybe it would be a good idea to file this as a feature request against
lazbuild because I think
They is one: http://bugs.freepascal.org/view.php?id=15353
Benito
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus