2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-16 13:22:11 +00:00
Commit Graph

537 Commits

Author SHA1 Message Date
Vladimir Prus
087232f4e7 Pass the <include> and <define> feature to the Qt4's moc tool.
Patch from Jurgen Hunold.


[SVN r30771]
2005-09-01 10:26:14 +00:00
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
Vladimir Prus
f392a1271e Remove the 'u' modifier from 'ar' invocation, which is not needed
now that we remove archive before invoking 'ar'.


[SVN r30768]
2005-09-01 08:04:48 +00:00
Rene Rivera
26b3f2fc3a Add features for specifying CPU code generation: address-model, architecture, and instruction-set. Transplanted from BBv1.
[SVN r30744]
2005-08-31 03:49:33 +00:00
Vladimir Prus
dd7dffecec Remove debug print
[SVN r30591]
2005-08-16 10:59:50 +00:00
Vladimir Prus
db0d944e94 Fix a link failure on Unix for a main -> libb -> liba scenario,
where libb is a target in Boost.Build and liba is a file referred to by name.


[SVN r30590]
2005-08-16 10:58:22 +00:00
Vladimir Prus
3e3abd4509 Allow Whale generator to be called with several sources, and immediate
return no targets in that case.


[SVN r30542]
2005-08-12 13:16:37 +00:00
Vladimir Prus
d22834b979 Add ASM to the list of assembler suffixes. Just because I need that
extension somewhere else.


[SVN r30541]
2005-08-12 13:14:46 +00:00
Vladimir Prus
eeb5324f5e On install, relink shared libraries if the dll-path property has changed.
[SVN r30538]
2005-08-12 12:53:58 +00:00
Vladimir Prus
3ba458a38d Qt4 improvements:
- Add -name option to rcc invocation. This is needed to disambiguate
  the name of the generated initialising function. Since qmake takes
  the basename of  the  .qrc file I've copied this behaviour to have
  consistent naming.

- Add -I option to moc invocation. I've added the include and
  include/QtCore directories in order to be able to compile Qt4 with V2.

Patch from Juergen Hunold.


[SVN r30536]
2005-08-12 10:26:36 +00:00
Rene Rivera
e4215dc3da Fix missing name of tool when setting up with a user specified binary of quickbook.
[SVN r30422]
2005-08-03 19:45:41 +00:00
Vladimir Prus
905d44b656 Support assembler sources with gcc.
Patch from Craig Rodrigues.


[SVN r30406]
2005-08-03 13:33:45 +00:00
Vladimir Prus
82ca771e11 Add missing call to 'virtual-target.register' when symlinking targets.
Otherwise, if we build 'install' target twice, we'll get two different
symlink targets.


[SVN r30400]
2005-08-03 11:43:04 +00:00
Vladimir Prus
7320372b2c Improved msvc support.
- minor spellings errors in comments ("iff" and "vccars" instead of "if"
and "vcvars")
- correct escaping of metacharacters in regular expressions
- Fixed a condition so /Zc:forScope /Zc:wchar_t are added in MSVC 8.x too
- Side-by-side manifests are now used for exe targets too, not only for
DLLs.
- Reworked /Ogity|/Ogisy options selection code (a minor refactoring)
- Search paths without /bin are now only added if vc 7.1 is going to be
detected.
- Added autodetection for VC8.0 using VS80COMNTOOLS variable
- Use os.environ instead of modules.peek + :J hack.

Patch from Andrey Melnikov.


[SVN r30370]
2005-08-02 05:38:42 +00:00
Eric Niebler
32d66dfce3 merge from QUICKBOOK_INCLUDE branch
[SVN r30369]
2005-08-02 03:39:30 +00:00
Vladimir Prus
b0627925df Qt4 support, from Alo Sarv.
[SVN r30360]
2005-08-01 14:08:27 +00:00
Vladimir Prus
d4c14cbd30 Allow to reinitialize Whale support several time, provided the path
is always the same.


[SVN r30356]
2005-08-01 11:40:29 +00:00
Vladimir Prus
977d086664 Unbreak " lib a ; " syntax.
Thanks to Craig Rodrigues for the bug report.


[SVN r30309]
2005-07-29 12:00:40 +00:00
Vladimir Prus
829518cd8a Fix missing import.
[SVN r30193]
2005-07-21 13:35:43 +00:00
Vladimir Prus
3d8ab20f6d Use os.environ, and remove the "reconstruct spaces" hack.
[SVN r30106]
2005-07-15 13:35:58 +00:00
Vladimir Prus
e7a2eff161 Improved MacOS X support for -fcoalesce-templates. Check for result
of gcc --dumpversion when deciding if we're using 4.0 or not.

Patch from Craig Rodrigues.


[SVN r30105]
2005-07-15 13:31:13 +00:00
Toon Knapen
394b351f46 added creation of shared libraries
[SVN r29895]
2005-07-05 08:47:55 +00:00
Toon Knapen
3bece8cd6d added action to link shared libraries
[SVN r29845]
2005-06-30 14:42:05 +00:00
Vladimir Prus
1229cb4af9 Attempt to unbreak response file support in cw.jam.
[SVN r29822]
2005-06-28 09:35:45 +00:00
Vladimir Prus
3362aaae85 New convenience rule package.install.
Use that rule in top-level Jamfile.v2.
Introduce new top-level Jamfile rule 'boost-install'.
Use it in date_time, other libraries to follow soon.


[SVN r29805]
2005-06-27 12:37:47 +00:00
Vladimir Prus
1f5750af86 Unbreak <install-source-root> when building from subdirectories.
[SVN r29803]
2005-06-27 12:19:50 +00:00
Dave Abrahams
f843c47eb7 Suppress dumb warnings
[SVN r29780]
2005-06-24 15:38:56 +00:00
Vladimir Prus
83088b827b New build-system.location rule.
[SVN r29767]
2005-06-24 11:24:24 +00:00
Vladimir Prus
46f2825300 Make borland really work under cygwin, especially when borland install path
has spaces.

Patch from Malcolm Cifuentes.


[SVN r29610]
2005-06-16 09:38:45 +00:00
Vladimir Prus
4b321e17fe Use common.rm-command instead of hardcoded 'del' for removing response files.
[SVN r29607]
2005-06-16 08:37:53 +00:00
Vladimir Prus
68d3b8f280 Add the 'notfile' target.
[SVN r29606]
2005-06-16 08:24:01 +00:00
Vladimir Prus
4e81e3fc1c Fix an error when a 'install' target has another 'install' target in sources.
We managed to create property set with two 'location' properties, and then
crashed when deciding where to put the target.


[SVN r29603]
2005-06-16 07:47:22 +00:00
Vladimir Prus
3a7327a605 Automatically prepend "lib" prefix to LIB targets on Unix.
[SVN r29602]
2005-06-16 07:24:16 +00:00
Vladimir Prus
f99f815c17 Remove ambiguity between builtin.lib-generator and builtin.prebuilt.
[SVN r29600]
2005-06-16 06:29:30 +00:00
Vladimir Prus
6c5474814c Unbreak searched libraries for a number of toolsets.
[SVN r29597]
2005-06-16 05:49:39 +00:00
Vladimir Prus
62e115dcc9 Unbreak searched libs with intel toolset
[SVN r29596]
2005-06-16 05:45:46 +00:00
Vladimir Prus
4d6bfe4eef Rename link-runtime to runtime-link to stay compatible with V1.
[SVN r29586]
2005-06-15 12:24:06 +00:00
Dave Abrahams
f6497c0741 make the use of msvc-specific features in Jamfiles portable
[SVN r29531]
2005-06-11 19:34:13 +00:00
Dave Abrahams
7686f12ab4 Make sure the Borland Bin directory gets into the PATH when executables built with Borland are run.
[SVN r29522]
2005-06-11 06:47:19 +00:00
Vladimir Prus
5fab631f5d Further generators simplications.
1. If when generating something, we find more that one suitable generators,
   run them and more then one return something, immediately report ambiguity.
   Don't care if the produced targets are the same. This is better that
   running several generators all the time, performance wise.

2. Remove the notion of 'intermediate' virtual-targets. IIRC, they were used
   to prevent staging of RSP files, and we don't stage them anyway now.


[SVN r29491]
2005-06-09 08:12:21 +00:00
Dave Abrahams
775970dfdb Fix EH feature.
[SVN r29489]
2005-06-09 02:48:32 +00:00
Vladimir Prus
f007a99d93 Remove response files in msvc.compile.c++ action.
Relax check for msvc 6.0, so that simple "6" is matched.

Patches from Olaf Janssen.


[SVN r29477]
2005-06-08 14:38:43 +00:00
Vladimir Prus
dbc509de59 Make response files depend on their directories, so that -jN works.
Thanks to Olaf Janssen for the report.


[SVN r29442]
2005-06-06 10:21:41 +00:00
Vladimir Prus
b19fe4248e Fix response files for borland. Fix "tlib doesn't work if install path has
space" problem.


[SVN r29403]
2005-06-03 12:56:30 +00:00
Vladimir Prus
24b7a19ad2 Fix response file creation. They would not be recrated if exe already
exists.


[SVN r29402]
2005-06-03 12:55:27 +00:00
Dave Abrahams
ef376fe3a4 Make response files work
[SVN r29401]
2005-06-03 12:00:35 +00:00
Vladimir Prus
f17a9b9616 Fix typo
[SVN r29373]
2005-06-02 12:04:45 +00:00
João Abecasis
7add236044 Use only 'quickbook' main target from tools/quickbook.
[SVN r29370]
2005-06-02 10:59:29 +00:00
Vladimir Prus
ec4ad0c5b9 Make sure -fPIC is added when compiling objects declared with the 'obj' rule.
[SVN r29369]
2005-06-02 09:24:24 +00:00
Toon Knapen
7bebc62a37 compiler driver for fortran on HPUX
[SVN r29368]
2005-06-02 08:34:04 +00:00