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

10944 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
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
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
e16b5c58be 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
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
1d3f2edd08 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
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
5bfd88132b Remove debug print
[SVN r30591]
2005-08-16 10:59:50 +00:00
Vladimir Prus
dd7dffecec Remove debug print
[SVN r30591]
2005-08-16 10:59:50 +00:00
Vladimir Prus
ea9da6b91c 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
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
ea02ade1dc 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
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
41affca107 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
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
Douglas Gregor
6287adc232 Merged from 1.33.0 release
[SVN r30540]
2005-08-12 13:02:37 +00:00
Douglas Gregor
ea84e350dc Merged from 1.33.0 release
[SVN r30540]
2005-08-12 13:02:37 +00:00
Vladimir Prus
55e933db5c Add timestamp to nightly builds.
[SVN r30539]
2005-08-12 13:00:52 +00:00
Vladimir Prus
002135d1bc Add timestamp to nightly builds.
[SVN r30539]
2005-08-12 13:00:52 +00:00
Vladimir Prus
9a7342caa6 On install, relink shared libraries if the dll-path property has changed.
[SVN r30538]
2005-08-12 12:53:58 +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
5641492639 Somewhat improve the error we get when generators.jam can build a
target.


[SVN r30537]
2005-08-12 11:49:01 +00:00
Vladimir Prus
f8cb8decba Somewhat improve the error we get when generators.jam can build a
target.


[SVN r30537]
2005-08-12 11:49:01 +00:00
Vladimir Prus
ca20405506 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
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
Vladimir Prus
92f5b979ba Doc fix: fix space between parameter names and ?/+/* characters.
[SVN r30535]
2005-08-12 09:27:44 +00:00
Vladimir Prus
9c775fe21b Doc fix: fix space between parameter names and ?/+/* characters.
[SVN r30535]
2005-08-12 09:27:44 +00:00
Vladimir Prus
639cab5c18 Quote path with spaced in "using" example.
[SVN r30534]
2005-08-12 09:19:24 +00:00
Vladimir Prus
d3cdc6b6b3 Quote path with spaced in "using" example.
[SVN r30534]
2005-08-12 09:19:24 +00:00
Vladimir Prus
946694e205 Some doc changes. Most notably, initial description of jam language.
The changes were done quite some time ago, so can't provide more detailed
changelog.


[SVN r30533]
2005-08-12 09:17:33 +00:00
Vladimir Prus
a863cc65d7 Some doc changes. Most notably, initial description of jam language.
The changes were done quite some time ago, so can't provide more detailed
changelog.


[SVN r30533]
2005-08-12 09:17:33 +00:00
Vladimir Prus
3db370a9e4 Fix using of 'glob' in project root rules.
There were two problems:
- 'glob' was using __name__ as the name of the project and not
  project.current, so it would search in project root, and not in child
  project that inherited project root rules.
- the 'import' that's overrided in project context used __name__ to
  restore the value of current project

Thanks to Emil Dotchevski for the bug report.


[SVN r30507]
2005-08-08 09:31:39 +00:00
Vladimir Prus
935b2236db Fix using of 'glob' in project root rules.
There were two problems:
- 'glob' was using __name__ as the name of the project and not
  project.current, so it would search in project root, and not in child
  project that inherited project root rules.
- the 'import' that's overrided in project context used __name__ to
  restore the value of current project

Thanks to Emil Dotchevski for the bug report.


[SVN r30507]
2005-08-08 09:31:39 +00:00
Vladimir Prus
51352bab36 Unbreak testing.
[SVN r30506]
2005-08-08 08:50:21 +00:00
Vladimir Prus
55efff9b0f Unbreak testing.
[SVN r30506]
2005-08-08 08:50:21 +00:00
Vladimir Prus
fb5507f3f5 Cleanup toolset.using. We tries to conditionally call 'init',
which both unnecessary, and incorretly coded.

Thanks for Craig Rodrigues for spotting it.


[SVN r30478]
2005-08-05 09:43:15 +00:00
Vladimir Prus
0c2e75b80b Cleanup toolset.using. We tries to conditionally call 'init',
which both unnecessary, and incorretly coded.

Thanks for Craig Rodrigues for spotting it.


[SVN r30478]
2005-08-05 09:43:15 +00:00
Vladimir Prus
f972c3faea Switch to using os.environ, except of modules.peek. Document SHELL.
[SVN r30453]
2005-08-04 06:51:15 +00:00
Vladimir Prus
ba866fef5a Switch to using os.environ, except of modules.peek. Document SHELL.
[SVN r30453]
2005-08-04 06:51:15 +00:00
Vladimir Prus
650f2a657c Fix off-by-one error in builtin_shell. The result contained one random
character at the end.


[SVN r30452]
2005-08-04 06:38:41 +00:00
Vladimir Prus
45be175435 Fix off-by-one error in builtin_shell. The result contained one random
character at the end.


[SVN r30452]
2005-08-04 06:38:41 +00:00
Rene Rivera
2f36ea8104 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
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
9d17915ce4 Support assembler sources with gcc.
Patch from Craig Rodrigues.


[SVN r30406]
2005-08-03 13:33:45 +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
1c068d54e4 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
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
0a306d520d 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
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
8791148f9b merge from QUICKBOOK_INCLUDE branch
[SVN r30369]
2005-08-02 03:39:30 +00:00