2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-12 12:02:24 +00:00
Vladimir Prus 9a39b7ab14 For Qt4, don't run moc on headers produces by uic, since they
never contains moccable classes.

The trick here is that if we have:

  exe a : a.cpp b.ui ;

Then we should produce b.h target that is not used by any action -- it's
only indirectly used by include in a.cpp.

So, we declared .ui -> .obj generator, so that it's invoked when
building exe, but make it return header, not .obj.

Second, the path of b.h should be added to include paths. But it was
not done, because b.h is not used anywhere and so is not included in
'subvariant' for this target -- which object is used to compute extra
incude path.

* build/virtual-target.jam
  (register): Add result to .recent-targets
  (recent-targets, clear-recent-targets): New functions.

* build/targets.jam
  (basic-target.generate): Create subvariant from
  'virtual-target.recent-targets' not just directly returned targets.

* tools/qt4.jam: Declare custom generator for ui->h conversion.


[SVN r30770]
2005-09-01 10:22:52 +00:00
2004-11-29 07:29:19 +00:00
2005-08-12 13:02:37 +00:00
2005-04-18 08:48:05 +00:00
2005-08-12 13:00:52 +00:00
2005-01-25 13:29:53 +00:00
Description
Mirrored via gitea-mirror
39 MiB
Languages
C++ 73.8%
Python 22.6%
C 1.6%
Batchfile 0.7%
Shell 0.6%
Other 0.6%