2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-17 13:42:14 +00:00
Commit Graph

15 Commits

Author SHA1 Message Date
Vladimir Prus
358d3f9da9 Add forwarding qt.jam.
[SVN r33439]
2006-03-22 10:21:28 +00:00
Vladimir Prus
ca5fbaaf47 Remove qt.jam as it's moved to qt3.jam.
[SVN r33438]
2006-03-22 10:16:38 +00:00
Vladimir Prus
69af5e0b9a Unbreak libraries using Qt, together with moccable classes in .cpp files.
The generator that handles moccable cpp files has to actualize created
targets right away. However, it did that before calling
virtual-target.register, so, if the generator was invoked two times on
the same target, it will produce two identical targets and call .actualize
on it. The second invocation would trigger "duplicate target" error.


[SVN r31797]
2005-11-28 09:26:41 +00:00
Vladimir Prus
2a159020c6 Make it possible to run moc on CPP sources.
[SVN r30942]
2005-09-13 10:16:37 +00:00
Vladimir Prus
4086ae176c Factor out Qt types declaration into separate file. Now Qt3 and Qt4 can
be both initialized.


[SVN r30772]
2005-09-01 10:36:16 +00:00
Vladimir Prus
7b2749353b Refactor generators a bit.
* If a generator was given a source it could not handle, it used to return
  that source together with generated targets. This was nice for some use
  cases, but no very nice for others, and this behaviour could not be turned
  off. One use case where it worked bad was:

      lib plugin : plugin.cpp helper ;
      lib helper : helper.cpp ;

  On windows, 'plugin' would link to the 'import library' and pass the DLL
  target though. So, when installing 'plugin', we'd also install 'helper.dll',
  and it was not possible to do anything about it.

* If we asked generators.construct to produce sources of type CPP,
  and the selected generator produced both targets of type CPP, and of
  some other type, we'd try again to convert those other targets to CPP.
  This simply complicated the logic for no good reason.

* Most generator function had 'multiple' parameter, which function
  was long forgotten by anybody.

As a bit of history, I believe some of the above decisions were due to a
certain use case:

          CPP <------- WHL
                          \
                            WD
                          /
          CPP <------- DLP

Here, a source file is converted to two targets with one command, and each
produced file is converted to CPP. Our generators search would notice that
there are two generators for CPP: the WHL->CPP and DPL->CPP
generators. Neither is better that the other so both are tried, and produce
(CPP, DPL) and (CPP, WHL) pairs of targets. To avoid reporting an ambiguity,
we'd try to convert, DLP to CPP and WHL to CPP, do it successfully, notice
that produced targets are the same and decide that there's no ambiguity.

However, this is rather complex logic for a relatively rare case. It can
be handled by writing another WD->CPP generator that would handle
disambiguation itself.

This commit has one user-visible change. The code:

  exe a : a.cpp b ;
  obj b : b.cpp helper;
  lib helper ;

No longer works -- the 'a' target won't link to 'helper'. However, this is
pretty stange code and worked before almost by accident.


[SVN r29361]
2005-06-02 06:43:56 +00:00
Vladimir Prus
a12633e324 * tools/qt.jam (directory): New rule.
Patch from Jurgen Hunold.


[SVN r25874]
2004-10-26 14:28:47 +00:00
Vladimir Prus
a5591ef74a Introduce the <source> feature and make <library> work in the same way
as <source>.


[SVN r22570]
2004-03-31 08:02:59 +00:00
Vladimir Prus
1fe300d263 Add paths to all dependent libs to uic command line.
[SVN r22071]
2004-01-30 12:14:57 +00:00
Vladimir Prus
81dc7f094b Rename 'xclass' to 'class'.
[SVN r19458]
2003-08-05 05:25:33 +00:00
Vladimir Prus
a8291718dd Rename 'xnew' to just 'new'.
[SVN r19434]
2003-08-04 11:12:30 +00:00
Vladimir Prus
96ba56a2e9 Drop all style classes support.
[SVN r19433]
2003-08-04 10:53:34 +00:00
Vladimir Prus
07fbff6420 Move generators to new-style classes.
[SVN r19427]
2003-08-04 09:19:54 +00:00
Vladimir Prus
51de833b1c Minor bugfix.
[SVN r18802]
2003-06-16 12:50:55 +00:00
Vladimir Prus
e488765eae Move a bunch of modules to "tools" directory. I'm uncertain about some
modules that are still in "new", but they can be moved later.


[SVN r18692]
2003-06-06 09:38:49 +00:00