2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-16 13:22:11 +00:00
Files
build/v2/build
Vladimir Prus 4320c23297 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
..
2005-01-21 08:42:51 +00:00
2002-05-06 07:22:46 +00:00
2004-10-29 09:34:15 +00:00

Development code for new build system. To run unit tests for jam code, execute:

  bjam --debug --build-system=test

Comprehensive tests require Python. See ../test/readme.txt