[Lazarus] Is there some way to build a package for all widgsets in one go like the IDE's Build Many option?

Ondrej Pokorny lazarus at kluug.net
Thu Mar 31 22:43:20 CEST 2016


On 31.03.2016 22:38, vfclists . wrote:
>
> Is there some way to build a package for all widgsets in one go like 
> the IDE's Build Many option?
>
> Changing widgetsets results in a recompile of a lot of GUI packages 
> and wonder whether that can be avoided. Adding the LCLWidget to the 
> output path of packages doesn't seem to work.
>
> The only way I can think of is to have separate Lazarus builds for 
> each widget set which share the same --pcp option. For cross-platform 
> I mainly use Qt as the GTK widget set doesn't seem to work well on 
> Windows.

You can use different target directories for different 
targets/widgetsets in Additions and Overrides.
See 
http://wiki.freepascal.org/IDE_Window:_Compiler_Options#Change_the_output_directory_of_project_and_all_packages

Ondrej




More information about the Lazarus mailing list