[Development] CMake Workshop Summary

Thiago Macieira thiago.macieira at intel.com
Wed Feb 13 17:30:45 CET 2019

On Wednesday, 13 February 2019 02:06:13 PST Simon Hausmann wrote:
>     (2) Have a super-project that allows building all of Qt with one call to
> "cmake", a call to "cmake --build" and finally "$maketool install".
> The latter has not been "developed" yet but I think it's necessary to allow
> for a convenient transition for the users of Qt.

#2 can be supported with a plain script, or even just a plain Makefile. All 
you need is the dependency order.

Attached is the one I use. You can run
	make -f Makefile.qthelpers T=target
and it'll run
	make target
in each of the submodules.

You can even make it run shell commands:
	make -f Makefile.qthelpers CMD='f() { cd $$1; git pull; } f'

The above I often run with -j so it launches all gits in parallel :-)
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel System Software Products
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makefile.qthelpers
Type: text/x-makefile
Size: 2297 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/development/attachments/20190213/3bfe8d4c/attachment.bin>

More information about the Development mailing list