I have added a package, KControls, to Lazarus IDE and it works fine, I can use Lazbuild to build my app, using that package, from the command line. Great !
But I'd like to be able to use an alternative version of (in this case) KControls without going though loading the IDE, removing the existing package, rebuilding the IDE adding the other version and rebuilding.
I was sure I'd read here that its possible to nominate packages (or units ?) on the Lazbuild command line. If so, I cannot find it but first I'd need to tell Lazbuild not to use the version know to Lazarus. I thought --skip-dependencies might be it but, no, my app still builds (using original version of KControls) even if I add that.
So, I spotted --create-makefile - I'll make a makefile and can edit that with a simple script. But no, nothing I can do to get lazbuild to create a makefile, it just seems to ignore that switch.
Is there something I am missing with lazbuild ? Has --create-makefile been disregarded ? Is there some other way to manipulate the packages lazbuild uses ?
Davo