* new/stage.jam
(stage-target-class.construct): Pass the result via
'virtual-target.register'. I wonder if virtual targets should
be create via 'virtual-target.create' which will invoke
'virtual-target.register' internally. Passing via 'register' was forgotten
in many places.
* test/stage.py: New test.
[SVN r18497]
* new/make.jam
(make): Pass 'default-build' in the right position.
* new/targets.jam
(basic-target): Use empty property-set if no default-build is passed.
(main-target): Use 'raw' to test property-set for emptines. The string
emptyness test that use to be there does not works for property-sets.
[SVN r18440]
virtual-target.jam.
- Added the missing explicit imports, now that we don't dump
everything into the global module with qualification
- stopped using the feature-space hack for temporary testing states of
the feature module. Instead we move its global variable definitions
to a temporary module.
- the way feature.action was invoking the rule it was being passed was
evil. Now you pass (even local) rules without qualification and
they are invoked in the source module context.
- module __test__ rules are always executed in a separate module, so
that their import dependencies can be separated from those of the
module being tested.
- better reporting of circular module-loading dependencies
implemented.
- minor changes:
property-set.jam: moved .empty initialization to avert circular
load dependency .
symlink.jam: fixed global variable naming.
[SVN r18407]
* new/feature.jam
- the above change, plus changed the order of values for
'runtime-debugging' feature, to accomodate strange behaviour of
'feature.add-defaults'.
[SVN r18392]
* new/builtin.jam: Register RSP and IMPORT_LIB types, and associated
generators unconditionally, since the previous behaviour made using
the same dir for testing from linux and windows inconvenient:
"using msvc" was causing errors on linux because RSP type was not defined.
[SVN r18362]
* new/stage.jam
(stage-target-class.check-for-unused-sources): Override base method with
an empty one, since the inherited logic does not make any sense for stage.
[SVN r18295]
the same properties. Thanks to Andre Hentz for finding this bug and
providing the test case.
* new/builtin.jam
(searched-lib-generator.run): Pass the result through
'virtual-target.register'.
* test/searched_lib.py: Add new test.
[SVN r18247]
* new/toolset.jam
(flags): Add 'unchecked' parameter, too allow declaring flags for other
modules.
* new/builtin.jam: Don't declare LIBRARY_PATH_OPTION.
* new/borland.jam: Use flags to declare LIBRARY_PATH_OPTION and LIBRARY_OPTION.
* new/msvc.jam: Use flags to declare LIBRARY_PATH_OPTION and LIBRARY_OPTION.
[SVN r18222]
* new/builtin.jam: Associate obj and lib extension with OBJ and
STATIC_LIB target types, to handle the above combination. The gcc
toolset overrides these extension explicitly.
* new/msvc.jam
(archive): Use bash syntax on cygwin.
[SVN r18210]
* new/virtual-target.jam
(virtual-target.path): New abstract method. Added so that derived classes
always define both 'actualize-location' and 'path'.
* new/builtin.jam
(searched-lib-target.path): Use empty body.
[SVN r18196]
* new/builtin.jam
- register builtin.response-generator with 'register-linker', to
take advantange of 'link-action'. Convert <library-path>,
<find-static-library> and <find-shared-library> into on-target
variables using toolset.flags.
(builtin.response-file) Output variables for library path to response
file.
(searched-lib-generator.run): Assign 'null-action' instance to the
generated target, to carry properties. Correct prototype and workaround
some, as-yet-unknown problem.
* test/searched_lib.py: New test (added by me).
[SVN r18121]
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]
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]
* new/generators.jam
(generator): New argument 'composing'
(run): Use 'self.composing'.
(convert-multiple-sources-to-consumable-types): Moved from
composing-generator.
(composing-generator): Remove
* new/builtin.jam
(linking-generator, register-linker): Use the argument to generator's
ctor. Allow to make generator non-composing.
* new/msvc.jam: Make msvc.link generator non-composing.
[SVN r17572]
* new/generators.jam
(construct-with-caching): Don't try to cache transformation when source
target has action (i.e is not plain file).
* new/stage.jam: Try converting stages targets to special staged type.
Provide STAGED_EXE type.
[SVN r17545]
* new/make.jam
(make): Change name only of the first element in 'generating-rule'
* new/virtual-target.jam
(action.actualize): Pass only first element of action name to
toolset.set-target-variables.
* test/make_rule.py: New test.
[SVN r17543]
* new/virtual-target.jam
(abstract-file-target.extra-grist): Remove
(null-action): New class.
* new/prebuilt.jam
(prebuilt-file-generator): Don't use 'extra-grist', use
'null-action' instread to distinguish different prebuilt targets.
[SVN r17482]
plain old lists of properties in most cases where we need property sets.
The changes are too numerous and mostly automatic to comment each one.
[SVN r17305]
to inherit "init" rule and test all this.
* new/borland.jam
Use COMPILER_NAME and LINKER_NAME vars.
* new/generators.jam
(generator.clone): New method.
(register-composing): Use 'register'
(generators-for-toolset): New rule.
* new/property.jam
(change): New rule
* new/toolset.jam
(add-flag): New rule
(flags): Use the above.
(register): New rule.
(inherit): New rule
(inherit-generators,inherit-flags,inherit-rules): New rules.
[SVN r16979]