Sign in Join

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

Mailing lists / lazarus / 2012-04

Changes of make, part III

3 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

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

Mattias Gaertner

"make tools"
It no longer builds the apiwizzard.
It builds the four tools lazres, svn2revisioninc, updatepofiles and lrstolfm. Formerly they were build with the current widgetset. Now they are build with the nogui widgetset. It is called by "make lazbuild", "make all", "make bigide". No need to call it yourself.

"make examples"
No longer compiles the LCL or the components.
You can invoke it after "make all" or "make bigide".

Precompiling a second LCL platform:
Do not use "make lcl LCL_PLATFORM=qt", as this will update lclbase.compiled and this tells the IDE to rebuild the existing ppu of the first platform.
Use instead:
make -C lcl/interfaces/qt

Here is an example how to compile a bigide, examples and precompile the packages for the second widgetset qt:

make clean LCL_PLATFORM=qt
make clean bigide examples
make -C lcl/interfaces/qt
make ideintf basecomponents bigidecomponents LCL_PLATFORM=qt

Mattias

Reply by email

Reinier Olislagers
to Mattias Gaertner
Mattias Gaertner wrote 15 lines
Precompiling a second LCL platform: Do not use "make lcl LCL_PLATFORM=qt", as this will update lclbase.compiled and this tells the IDE to rebuild the existing ppu of the first platform. Use instead: make -C lcl/interfaces/qt Here is an example how to compile a bigide, examples and precompile the packages for the second widgetset qt: make clean LCL_PLATFORM=qt make clean bigide examples make -C lcl/interfaces/qt make ideintf basecomponents bigidecomponents LCL_PLATFORM=qt

Mattias,

Thanks for the update in functionality/cleanup and your explanatory posts!

IIUC, the former make lcl LCL_PLATFORM=<a widgetset> can be replaced by make clean etc and
make -C lcl/interfaces/<a widgetset>
right?
In other words, the identifier <a widgetset> would be the same, e.g. qt, gtk2, win32...?

I've incorporated these changes into fpcup, seems to work at least for a Win32 LCL+Win64 LCL - and fixes the problem of the first LCL being recompiled, as you described!

Thanks again,
Reinier

Reply by email

Mattias Gaertner
to Reinier Olislagers
Show quoted text 27 lines
On 10-4-2012 22:26, Mattias Gaertner wrote: > Precompiling a second LCL platform: > Do not use "make lcl LCL_PLATFORM=qt", as this will update > lclbase.compiled and this tells the IDE to rebuild the > existing ppu of the first platform. > Use instead: > make -C lcl/interfaces/qt > > > Here is an example how to compile a bigide, examples and precompile the > packages for the second widgetset qt: > > make clean LCL_PLATFORM=qt > make clean bigide examples > make -C lcl/interfaces/qt > make ideintf basecomponents bigidecomponents LCL_PLATFORM=qt Mattias, Thanks for the update in functionality/cleanup and your explanatory posts! IIUC, the former make lcl LCL_PLATFORM=<a widgetset> can be replaced by make clean etc and make -C lcl/interfaces/<a widgetset> right? In other words, the identifier <a widgetset> would be the same, e.g. qt, gtk2, win32...?

Yes.

I've incorporated these changes into fpcup, seems to work at least for a Win32 LCL+Win64 LCL - and fixes the problem of the first LCL being recompiled, as you described!

:)

Mattias

Reply by email