"lib" prefix for a LIB type. This was implemented by generalizing
the existing capability to set a target file suffix.
* build/type.jam
(set-generated-target-suffix): Refactored to forward call to new
set-generated-target-ps rule.
(change-generated-target-suffix): Refactored to forward call to new
change-generated-target-ps rule.
(generated-target-suffix-real): Renamed to generated-target-ps-real
with argument indicating prefix or suffix.
(generated-target-suffix): Refactored to forward call to new
generated-target-ps rule.
(generated-target-ps): New helper rule - returns assigned prefix or suffix
acccording to prefix/suffix argument.
(set-generated-target-prefix): New rule sets target type prefix.
(change-generated-target-prefix): New rule changes target type prefix.
(generated-target-prefix): New rule returns target type prefix.
(set-generated-target-ps): New helper rule - sets prefix/suffix
for a target type.
(change-generated-target-ps): New helper rule - changes
prefix/suffix for a target type.
* build/virtual-target.jam
(add-prefix-and-suffix): Invokes new type.generated-target-prefix
to get assigned prefix. Still some unfinished business with unix
handling - suggest moving commented "hacky" stuff to unix toolset if that
makes sense.
* Formal test case not yet added. Was tested with my custom hptns toolset.
Patch from Mark Evans.
[SVN r33065]
- Copy the <linkflags> feature when relinking targets.
- Don't install typeless targets if explicit list of
allowed types is specified.
- Fix the 'rename' rule to handle <runtime-debugging> feature.
[SVN r33057]
in favour of the latter (toolset.prebuilt). This cuts down the number
of generator invocations for prebuilt target and is more clear.
Thanks to Mark Evans for pointing this out.
[SVN r32952]
- Resolve ambiguity between builtin.prebuilt and tru64.prebuilt.
- Remove archive files before creating. This is like is done for gcc,
and removes "creating foobar.a" warnings as well.
[SVN r32886]
the lib rule, e.g.:
lib foo : : <conditional>@sources ;
Prior to the patch, this was treating the library as a prebuilt
library because of the absence of any source arguments. Thus
nothing would get built.
* tools/builtin.jam
(lib-generator.run): Added additional constraint when setting
library type to SEARCHED_LIB.
Patch from Mark Evans.
[SVN r32880]
bjam --clean some_main_target
don't clean files belonging to other main targets, even if those other main
targets are dependencies of 'some_main_target'.
[SVN r32760]
to 'make', sine it's no longer supported.
Allow to call 'flags' on local rule. Use flag settings on local rule to
implement the effect previously achieved with extra arguments.
[SVN r32723]
affect the names of the generated targets and only usefull for preventing
V2 from treating two independent targets as target alternatives.
[SVN r32720]