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

2016-03-31 Thread vfclists .
On 31 March 2016 at 22:35, Mattias Gaertner 
wrote:

> 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.


> --
> ___
> Lazarus mailing list
> Lazarus@lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>



-- 
Frank Church

===
http://devblog.brahmancreations.com
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


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

2016-03-31 Thread Mattias Gaertner
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

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


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

2016-03-31 Thread vfclists .
On 31 March 2016 at 21:49, Mattias Gaertner 
wrote:

> 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.



> --
> ___
> Lazarus mailing list
> Lazarus@lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>



-- 
Frank Church

===
http://devblog.brahmancreations.com
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


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

2016-03-31 Thread Mattias Gaertner
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

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


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

2016-03-31 Thread 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
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


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

2016-03-31 Thread Ondrej Pokorny

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

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus