2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-18 01:52:17 +00:00
Commit Graph

2124 Commits

Author SHA1 Message Date
Vladimir Prus
26f585d7bf Robustify Boost.Book a little more. Don't register generators unless
'init' rule is called, so that we don't get into half-initialized state.

Revert previous change to doxygen.jam, since importing boostbook now is
harmless.


[SVN r21957]
2004-01-26 11:20:45 +00:00
Vladimir Prus
4c3b5a626f Don't import boostbook. The reason is that importing toolset module makes
Boost.Build believe the module is property loaded, but without 'init' call,
the module will not work. In this case, if doxygen is configured but
boostbook is not, it causes strange errors.

This commit temporary breaks doxygen -- I'm gonne fix that in a minute.


[SVN r21954]
2004-01-26 10:51:54 +00:00
Vladimir Prus
cfaf316d78 Don't crash when BOOST_ROOT is not set. Print interesting things when
--debug-configuration is specified.


[SVN r21953]
2004-01-26 10:29:09 +00:00
Rene Rivera
9dd3c82270 Add some missing files to distribution building.
[SVN r21942]
2004-01-26 05:46:32 +00:00
Vladimir Prus
d119534a0c Fix file:line printing so that Emacs and other tools are not confused.
Patch from Samuel Krempp.


[SVN r21887]
2004-01-23 14:16:29 +00:00
Vladimir Prus
eeae34dce4 When --debug-configuration is specified, output where boost-build.jam
and bootstrap.jam were found.


[SVN r21886]
2004-01-23 14:02:19 +00:00
Vladimir Prus
0ef095eb21 Don't pass -x flag to gcc when it's know that gcc will select the
same language from the file extension. This works around distcc's dislike
of the -x option: whenever it sees it, it resorts to local compilation.


[SVN r21839]
2004-01-20 12:46:00 +00:00
Vladimir Prus
4ca7977418 Use common.file-creation-command for creating a file signalling
that unit test has executed without errors. Using 'touch' is not
portable to Windows, in general.


[SVN r21837]
2004-01-20 08:16:51 +00:00
Vladimir Prus
3a9e08dddb Remove the concept of 'active' features, for lack of any use.
* build/feature.jam
  (action, run-actions): Remove.

* build/targets.jam
  (basic-target.refined-properties): Don't call 'run-actions'.


[SVN r21667]
2004-01-13 10:24:11 +00:00
Vladimir Prus
a3ac522cd1 Improve NDEBUG handling. Specify <define>NDEBUG as part of <variant>release,
instead of setting it on when there's <optimization>speed. Also, now we
don't use active features at all.


[SVN r21666]
2004-01-13 10:18:09 +00:00
Vladimir Prus
427174eaab Use "rm -f" for RM variable on Linux. For now, this does not change much,
but in fugure we can use just $RM inside various actions, instead of testing
for file existance before.

Patch from Michael Stevens.


[SVN r21664]
2004-01-13 09:34:16 +00:00
Vladimir Prus
4bd54c3c79 Unbreak 'absolute_sources.py' on Windows.
[SVN r21621]
2004-01-12 10:54:54 +00:00
Vladimir Prus
a8b18c0799 Instead of don't returning targets which are not of requested type
from generators.construct, return them with 'intermediate' flag.


[SVN r21565]
2004-01-09 11:55:32 +00:00
Vladimir Prus
d162d7d854 Remove some obsolete code.
[SVN r21561]
2004-01-09 11:16:49 +00:00
Vladimir Prus
1baab343b9 Unbreak searched_lib.py and library_chain.py. Pass proper -rpath-link
options to the linker.

* tools/builtin.jam
  (lib-target-class.compute-usage-requirements): Add xdll-path
  properties instead of dll-path. Add them unconditionally,
  not only when hardcode-dll-paths is true.

  (linking-generator.run): When hardcode-dll-paths is true, add
  dll-path property for each xdll-path property.

* tools/gcc.jam
  Convert xdll-path properties into -rpath-link option.


[SVN r21560]
2004-01-09 10:50:07 +00:00
Vladimir Prus
3086648616 Fix BB65: includes of the form
# include "a.h"

(note the space), were not considered during dependency scanning.


[SVN r21541]
2004-01-08 08:00:00 +00:00
Dave Abrahams
2f43f44507 Fixed bugs
[SVN r21521]
2004-01-07 03:47:11 +00:00
Rene Rivera
8d40b4d45f Ignore all whitespace at end of archive entries, not just space and newlines.
[SVN r21395]
2003-12-25 16:11:44 +00:00
Rene Rivera
2fd898bb66 Add eols to skipped chars between archive entries, bug #840659.
[SVN r21393]
2003-12-24 22:45:55 +00:00
Vladimir Prus
7659fa4681 Allow <include-type> to select staged targets, even
with <traverse-dependencies>off.

Patch from Pedro Ferreira.


[SVN r21322]
2003-12-18 14:54:04 +00:00
Vladimir Prus
7e561521af Refactorings.
* tools/stage.jam
  (update-location,construct-special-target,construct-regular-target): New
  methods
  (construct): Rewrite in terms of the above methods.

Patch from Pedro Ferreira.


[SVN r21318]
2003-12-18 06:55:53 +00:00
Vladimir Prus
7798afcd88 Unbreak doc.jam, broken by third argument to header scanning rule.
[SVN r21313]
2003-12-18 05:15:27 +00:00
Vladimir Prus
a4511074c6 Use default value of BOOST_BUILD_PATH on UNIX, when none is specified.
[SVN r21303]
2003-12-17 14:18:37 +00:00
Vladimir Prus
3091d87d48 Fix some C++-style comments. Pass -pedantic when compiling with gcc,
so that such problems are reported.


[SVN r21298]
2003-12-17 06:16:38 +00:00
Toon Knapen
8f3b069f3f changed C++ style comment into C-style comment (port to IBM)
[SVN r21290]
2003-12-16 14:32:09 +00:00
Vladimir Prus
b0e6228616 Eliminate dependency cycle in some cases.
[SVN r21262]
2003-12-15 07:52:30 +00:00
Dave Abrahams
832bb396db Fix up C++-isms in C code.
[SVN r21239]
2003-12-12 16:26:23 +00:00
Vladimir Prus
a038b016ae Forgotten change.
[SVN r21227]
2003-12-11 14:20:55 +00:00
Vladimir Prus
37cf2d1afc Another fix for standalone projects.
[SVN r21226]
2003-12-11 14:12:02 +00:00
Vladimir Prus
860db52c28 Fix a couple of bugs with absolute filesnames.
[SVN r21225]
2003-12-11 13:46:11 +00:00
Vladimir Prus
d8698e59e2 Don't even call the 'init' rule of toolset twice.
[SVN r21224]
2003-12-11 13:42:40 +00:00
Vladimir Prus
3470afe5c9 Bump bjam version.
[SVN r21219]
2003-12-11 10:19:42 +00:00
Vladimir Prus
a1753ca655 * build/targets.jam
(project-target.generate)
  (main-target.generate):
  When returning targets, remove duplicates. Since all generates pass though
  all targets they can't handle, it's possible that targets that are never
  used (such as .dll on windows), bubble up and 'all' depends on it many
  times, which might be inefficient.


[SVN r21218]
2003-12-11 10:14:58 +00:00
Vladimir Prus
a2c0c53947 Make 'sequence.select-highest-ranked' native.
[SVN r21217]
2003-12-11 09:02:01 +00:00
Vladimir Prus
07804f53ee Huh, memory management is jam is tricky.
[SVN r21209]
2003-12-10 15:28:30 +00:00
Vladimir Prus
575e4a7d4d Forgotten file
[SVN r21208]
2003-12-10 15:06:00 +00:00
Vladimir Prus
e071a761d2 Make 'property-set.create' native.
[SVN r21207]
2003-12-10 14:57:14 +00:00
Vladimir Prus
74741e6864 Add native version of 'regex.transform'. The rule is used during header
scanning, so should be as fast as possible.


[SVN r21205]
2003-12-10 11:29:09 +00:00
Vladimir Prus
0279425a0e Tigthen up interface. All feature.* rules which are not callable by
end user now require that property name is already gristed. This eliminates
the need to call 'grist' everywhere.


[SVN r21204]
2003-12-10 10:42:46 +00:00
Vladimir Prus
d424dcf8c5 Pass boundname of target to header scanning rule. This change was stealed
from Matt Armstrong's version of jam. Getting boundname this way is faster
than the way we used to have.

* jam_src/headers.c: The change itself.

* v2/build/scanner.jam
  (hdrrule): Accept third argument.

* v2/build/virtual-target.jam
  (binding, remember-binding): Remove.

* v2/tools/builtin.jam
  (c-scanner.process): Accept and use third argument.

* v2/tools/boostbook.jam: Likewise.


[SVN r21203]
2003-12-10 10:00:20 +00:00
Vladimir Prus
8c0ca0e3b8 Optimizations.
* build/scanner.jam
  (propagate): New rule, implementing part of functionality 'install' used
  to have.
  (install): Remove some functionality.

* tools/builtin.jam
  (c-scanner.process): Call 'scanner.propagate'. Pass all targets, do not
  loop.

* tools/docbook.jam: Likewise.


[SVN r21202]
2003-12-10 09:28:47 +00:00
Vladimir Prus
62aeee6f78 The 'path.exists' rule is now native.
[SVN r21201]
2003-12-10 08:27:21 +00:00
Vladimir Prus
ccb28e2feb Minor refactorings.
[SVN r21200]
2003-12-10 08:10:13 +00:00
Vladimir Prus
6a9b3e32b2 * utils/set.jam
(difference): Use native rule.


[SVN r21199]
2003-12-10 07:58:05 +00:00
Vladimir Prus
900808bc7a Implement NATIVE_RULE builtin and native version of set.difference.
[SVN r21198]
2003-12-10 07:57:22 +00:00
Vladimir Prus
179ed88d07 Added a script for automatically bumping bjam version.
* jam_src/bump_version.py
  The script

* jam_src/jam.c
  Change version specification so that it's easier to change it by regexp.


[SVN r21196]
2003-12-10 07:49:14 +00:00
Vladimir Prus
771ef2230d When build directory is specified via 'build-dir' project attribute,
don't add 'bin' to the path.

Patch from Zbynek Winkler.


[SVN r21195]
2003-12-10 06:39:27 +00:00
Vladimir Prus
1e6757cac8 Optimization.
* build/virtual-target.jam
  (subvariant.implicit-includes): Cache results.


[SVN r21189]
2003-12-09 09:40:26 +00:00
Vladimir Prus
47fbc85ab1 Simplifications.
* build/targets.jam
  (basic-target.check-for-unused-sources): Don't group virtual targets
  by the main target they come from. It's not obvious that it's needed,
  and it's rather complex.


[SVN r21188]
2003-12-09 09:14:38 +00:00
Vladimir Prus
79a6b4d1b6 Speedup. Add implicit include directories only for targets that
can really be included.

* build/virtual-target.jam
  (subvariant.implicit-includes,all-target-directories,
  compute-target-directories): Accept 'target-type' parameter.

* tools/builtin.jam
  (compile-action.adjust-properties): Only add "include" properties for
  targets of type "H".


[SVN r21117]
2003-12-03 13:13:08 +00:00