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

1164 Commits

Author SHA1 Message Date
Vladimir Prus
a64edbb6eb Change <dependency>, so that it does not really add dependency
unconditionally.

* new/builtin.jam
     (linking-generator.run): New rule. Sets dependency on <library>
     properties.

* new/generators.jam
     (construct): Do not handle usage requirements. Do not handle
     dependency features in any way.

* new/targets.jam
     (main-target.generate-really): Don't create/set subvariant-dg.
     (basic-target.generate): Collect usage requirements. Create/set
     subvariant-dg.

* new/virtual-target.jam
     (subvariant-dg): Take actual build properties together with
     requested ones.


[SVN r17813]
2003-03-11 12:41:39 +00:00
Vladimir Prus
873676c2ec Bugfixes: prevent two equal property lists generate two different
property-set instances, because of different order.

* new/property-set.jam
    (create): Sort the properties.

* new/feature.jam:
     (minimize): Bugfix.


[SVN r17812]
2003-03-11 12:08:35 +00:00
Raoul Gough
4910377788 Supply --enable-auto-image-base when linking a DLL
[SVN r17784]
2003-03-08 09:53:45 +00:00
Dave Abrahams
747f8ac885 Added dangling_reference FAQ
Various idiomatic MPL cleanups in indirect_traits.hpp
raw_function support
Patches for CWPro7.2
Patches to pass tests under Python 2.3 with the new bool type.
Tests for member operators returning const objects
Fixes for testing Boost.Python under Cygwin


[SVN r17777]
2003-03-08 03:53:19 +00:00
Vladimir Prus
b16238f064 Doc tweak.
[SVN r17768]
2003-03-07 16:39:13 +00:00
Dave Abrahams
b77f0acf99 Roll back change which broke Beman's build
[SVN r17767]
2003-03-07 16:24:28 +00:00
Dave Abrahams
923710c5df bugfix
[SVN r17763]
2003-03-07 15:22:54 +00:00
Vladimir Prus
e922b1c0cf Change default-build handling.
* new/targets.jam
     (main-target.apply-default-build): Combine build request with
     default build.

* new/default_biuld.py: More tests.


[SVN r17756]
2003-03-07 10:06:42 +00:00
Vladimir Prus
182a36e139 Refactorings.
* new/targets.jam
     (main-target.apply-default-build): Call
     'build-request.expand-no-defaults', not 'expand'. The motivation
     is to have defaults added in one place: 'property-set.add-defaults'.
     Also handle the case where default-build is empty.

     (main-target.generate): Apply defaults here. The motivation is
     that if we're using default build, default features should be
     applied here as well, or else we'll get ambiguous alternatives.

     (basic-target.generate): Do not add defaults.


[SVN r17755]
2003-03-07 09:44:20 +00:00
Vladimir Prus
613e8c8167 Refactoring.
* new/targets.jam
    (main-target.apply-default-build): New rule, extracted from 'generate'.
    (main-target.generate): Use the above.


[SVN r17754]
2003-03-07 09:09:44 +00:00
Vladimir Prus
3b46c3ac8a Make default values of features really work. Now a feature with
default value will always be present in build properties of all
main targets. The change moves adding default value into main
targets --- it was done at the top level.

* new/build-request.jam
    (expand-no-defaults): No longer local.

* new/build-system.jam
    Use 'build-request.expand-no-defaults', not 'expand'.

* new/feature.jam
    (add-defaults): Tolerate conditional properties
        (e.g <variant>debug:<define>DEBUG)

* new/property-set.jam
    (property-set.add-defaults): New method.

* new/targets.jam
    (basic-target.final-properties): Add defaults.

* test/default_features.py: New test.


[SVN r17753]
2003-03-07 08:45:37 +00:00
Vladimir Prus
85e0c6668b Typo.
[SVN r17752]
2003-03-07 06:47:03 +00:00
Dave Abrahams
222d39dde5 Accomodate msvc
[SVN r17746]
2003-03-06 17:54:16 +00:00
Dave Abrahams
f7b870e26d set-target-variables on multiple targets
[SVN r17744]
2003-03-06 17:25:10 +00:00
Dave Abrahams
87aaef17ce Stop putting exported symbols in the intended .exe object file
[SVN r17742]
2003-03-06 14:58:04 +00:00
Dave Abrahams
028a48ecdb improve error reports
[SVN r17741]
2003-03-06 14:57:26 +00:00
Vladimir Prus
6f38457da7 Add comments/configuration examples.
[SVN r17736]
2003-03-05 15:40:33 +00:00
Markus Schöpflin
82702ed13c Merged from branch RC_1_30_0 to trunk.
[SVN r17735]
2003-03-05 15:40:23 +00:00
Vladimir Prus
02cc9a139a Improve test system docs.
[SVN r17731]
2003-03-05 14:51:05 +00:00
Vladimir Prus
58a9ed6033 Doc improvements. Explain library dependencies. Clarify project ids.
[SVN r17729]
2003-03-05 11:17:20 +00:00
Vladimir Prus
c214e6483d Make 'user-interface' feature propagated.
[SVN r17711]
2003-03-04 07:55:06 +00:00
Dave Abrahams
37843dd526 Fix for cygwin
[SVN r17710]
2003-03-03 19:59:45 +00:00
Dave Abrahams
14ac1829cc Add user-interface feature; won't build .exes otherwise!
[SVN r17705]
2003-03-03 16:13:37 +00:00
Dave Abrahams
67102d1ef5 Fixes for NT
[SVN r17704]
2003-03-03 16:12:38 +00:00
Vladimir Prus
caa491f503 Prevent the 'make' rule perform reduntant builds. Thanks to Kirill Lapshin
for the bug report.

* new/make.jam
    (make-target-class.construct): Pass the result through
    'virtual-target.register'.

* new/virtual-target.jam
    (register): Ignore incidental properties when deciding if targets are
    equivivalent.

* test/make_rule.py: Add new test.


[SVN r17701]
2003-03-03 07:47:14 +00:00
Dave Abrahams
006bae5309 More fragile tweaks for running under Cygwin
[SVN r17699]
2003-03-02 22:09:59 +00:00
Dave Abrahams
0dd095ae61 tweaks for stlfilt
[SVN r17698]
2003-03-02 21:46:23 +00:00
Vladimir Prus
5decdacc6b Warn on unused sources.
* new/targets.jam
    (basic-target.check-for-unused-sources): New rule.
    (basic-target.generate): Call the above.

* new/virtual-target.jam
    (traverse): New arguments 'include-roots' and 'include-sources'.

* test/unused.py: New test.


[SVN r17685]
2003-02-28 08:13:38 +00:00
Vladimir Prus
4e531ecc65 Refactoring.
* new/targets.jam
   (basic-target.final-properties): New rule, extracted from 'generate'.
   (basic-target.generate-sources): New rule, extracted from 'generate'.
   (basic-target.requirements): Gone.


[SVN r17684]
2003-02-28 07:19:31 +00:00
Vladimir Prus
5aeb1de191 Cleanups. Default build improvements related to BB10.
* new/targets.jam
    (main-target.default-build): New field.
    (main-target.add-alternative): Don't allow default-build for
       second and subsequence alternatives. Record default build
       from the first one.
    (main-target.generate): Expand build request.
    (main-target.generate-really): New rule, extracted from 'generate'.
    (basic-target.default-build): New rule.
    (basic-target.generate): Don't expand default build.

* test/BoostBuild.py
  Allow to suppress passing toolset when calling run_build_system.
  Some Python 2.1 compatibility fixes.

* test/alternatives.py
  More tests.

* test/default_build.py
  More tests.


[SVN r17683]
2003-02-28 06:36:39 +00:00
Dave Abrahams
3acedf660f Fix extensions
[SVN r17681]
2003-02-28 01:33:10 +00:00
Dave Abrahams
8469dc4a06 Fixes
[SVN r17680]
2003-02-28 01:32:45 +00:00
Dave Abrahams
a6b6b2efd7 Warning suppression for MSVC
[SVN r17676]
2003-02-27 15:08:20 +00:00
Dave Abrahams
76064516f3 Fixes for NT
[SVN r17675]
2003-02-27 15:04:11 +00:00
Dave Abrahams
fdfe46c246 Warning suppression for MSVC
[SVN r17674]
2003-02-27 15:01:02 +00:00
Vladimir Prus
9938a0fc41 Refactorings.
* new/targets.jam
    (main-target.select-alternatives): New rule.
    (main-target.generate): Simplify, using the above.

* new/errors.jam
    (error): Do EXIT if --no-error-backtrace is given.

* tests/alternatives.py: New test.


[SVN r17673]
2003-02-27 14:25:26 +00:00
Vladimir Prus
3787441aa8 Tweak debug output.
[SVN r17672]
2003-02-27 13:10:57 +00:00
Vladimir Prus
dedb6cf02d Bugfix: nested 'build-project' statements were not handled correctly
when any build request is given on command line. Thanks to
Jürgen Hunold for catching this!


[SVN r17669]
2003-02-27 08:51:37 +00:00
Dave Abrahams
882122620b Fixes for Python and Cygwin testing
[SVN r17667]
2003-02-27 02:20:01 +00:00
Dave Abrahams
962a02e073 bugfix
[SVN r17661]
2003-02-26 19:55:18 +00:00
Dave Abrahams
2ab4a47862 Fix name references
[SVN r17659]
2003-02-26 15:32:32 +00:00
Rene Rivera
aab79b0cbf Initial code for modifier generators... Name modifier is implemented, and <version> facet of name modifier to produce correct soname/version-name behaviour.
[SVN r17655]
2003-02-26 06:29:12 +00:00
Rene Rivera
466741ab12 Example of using <version> feature.
[SVN r17654]
2003-02-26 06:26:08 +00:00
Rene Rivera
64ebefbe29 Add relative-to to calculate relative paths between dirs.
[SVN r17653]
2003-02-26 06:12:24 +00:00
Dave Abrahams
b52b8ca2e1 bugfix
[SVN r17649]
2003-02-25 18:25:29 +00:00
Dave Abrahams
f316d5310d Better handling of multiple versions
[SVN r17648]
2003-02-25 17:57:41 +00:00
Dave Abrahams
53836b7ca2 Allow prepare-target rule in toolsets, fix error reporting
[SVN r17647]
2003-02-25 16:25:28 +00:00
Vladimir Prus
13631ddc7f Tweak the UML diagram to represent two relations between action and
abstract-file-target.


[SVN r17646]
2003-02-25 16:17:53 +00:00
Dave Abrahams
f059b430a7 typo
[SVN r17643]
2003-02-25 14:42:34 +00:00
Dave Abrahams
155baed247 Fixes for testing
[SVN r17642]
2003-02-25 14:37:10 +00:00