Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2016-03

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

6 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

vfclists .

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.

Frank Church ======================= http://devblog.brahmancreations.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20160331/88e3d858/attachment.html>

Reply by email

Ondrej Pokorny
to vfclists .
vfclists . wrote 12 lines
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

Reply by email

Mattias Gaertner
to vfclists .: Is there some way to build a package for all widgsets in one go like the IDE's Build Many…
Show quoted text 6 lines
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.

Adding the LCLWidgetType to the output directory allows to compile for each widgetset only once. The Lazarus sources use that too.

Mattias

Reply by email

vfclists .
to Mattias Gaertner
Mattias Gaertner wrote 17 lines
On Thu, 31 Mar 2016 21:38:46 +0100 "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. Adding the LCLWidgetType to the output directory allows to compile for each widgetset only once. The Lazarus sources use that too. Mattias

I suppose that this depends on using building a project with the right widgetset? My thoughts where more along the line of using the Compile button on the package to compile for all the chosen widgetsets in one go.

Show quoted text 6 lines
-- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Frank Church ======================= http://devblog.brahmancreations.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20160331/6a6a2d75/attachment-0001.html>

Reply by email

Mattias Gaertner
to vfclists .
[...] I suppose that this depends on using building a project with the right widgetset? My thoughts where more along the line of using the Compile button on the package to compile for all the chosen widgetsets in one go.

With "chosen" I guess you mean build modes.
You can use "Run / Build many Modes ..." to compile for all the chosen widgetsets in one go.

Mattias

Reply by email

vfclists .
to Mattias Gaertner
Mattias Gaertner wrote 14 lines
On Thu, 31 Mar 2016 22:17:20 +0100 "vfclists ." wrote: >[...] > I suppose that this depends on using building a project with the right > widgetset? My thoughts where more along the line of using the Compile > button on the package to compile for all the chosen widgetsets in one go. With "chosen" I guess you mean build modes. You can use "Run / Build many Modes ..." to compile for all the chosen widgetsets in one go. Mattias

I am thinking along the lines of compiling "a package only". The Compile settings
for packages don't have a "Run/Build Many Modes...". That only applies to Projects.

Show quoted text 6 lines
-- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Frank Church ======================= http://devblog.brahmancreations.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20160331/948202a9/attachment.html>

Reply by email