* util/print.jam: Do not quote the argument to the
'echo' command on windows. It's special, and does not need quotes.
Adding them will cause the quotes to always appear in the output,
which would be different behaviour from Unix.
* tools/common.jam (response-file): Add quotes here.
[SVN r26836]
- Drop separate 'suffix' field in file targets. Store suffix as part of
the name' field. This avoids the need to copy the suffix field and the
name everywhere.
- Do not pass generated targets to constructor of 'action'. Instead,
pass the acton to constructor of target.
[SVN r26778]
target rule for xslt is automatically defined, this call uses that
rule, not the 'action rule' which is intended to call.
In addition, 'xslt' was called without including xslproc, and xsltproc
was injecting internal rules into global namespace.
[SVN r26481]
Thanks to Toon Knapen for the bug report.
* tools/builtin.jam
(archiving-generator.run): Add <library> properties to sources.
* test/library_chain.py: New test.
[SVN r26447]
stage a1 : a1.txt : <location>dist ;
stage a2 : a2.txt : <location>dist <dependency>a1 ;
The problem is that 'a1' is requested with <os>LINUX but the returned target
have <location>dist as the only property, which causes this bogus warning.
[SVN r26421]
* tools/stage.jam
(copy-file, relink-file): Add stage's dependency properies to
the staged targets properties, so that <dependency> is copied too.
* test/stage.py: New test.
[SVN r26420]
* tools/stage.jam
(stage-shared-linking-generator.run): Don't hardcode 'so' suffix.
* build/virtual-target.jam
(abstract-file-target.suffix): Compute and return the real suffix
that will be used. Previously, it would return something only if the
suffix was explicitly set.
[SVN r26414]
enviroment variables in the list of values. No it's possible to add
an element to a variable.
* build/project.jam: Remove obsolete test.
* build/toolset.jam (find-property-subset): No longer local,
so that test can call it.
* test/test.jam: Import 'print' and 'common'.
* util/print.jam: Comment out failing unit test.
[SVN r26413]
* tools/stage.jam
(stage-target-class.targets-to-stage): New rule, partly extracted
from construct, and former 'select-included'.
(stage-target-class.construct): Cleanup.
* build/virtual-target.jam
(file-target.path): If <location> feature is present, use the
value as the path.
[SVN r26411]
* build/targets.jam (generate-realy):
After applying tag, we used to 'temporary' change self.name,
which is horrible. How pass the name to 'construct'.
(construct): New parameter 'name'.
(tag-name): New rule, extracted from basic-target. This needs to be
separate rule so that we can call it from 'stage'. Check for a value of
from '@something' and interpret 'something' as a rule which returns the
new name.
[SVN r26408]
shared libraries when needed.
* tools/stage.jam
(copy-file, relink-file): New rules, extracted from other classes.
(STAGED_SHARED_LIB): New type.
(stage-shared-lib-generator): New class
[SVN r26399]
Description: If the number of characters exceeds 2047, the cl command fails.
Plattform: MSYS shell, VC++ 7.1
Resolution: Using of the response file facility
* tools/msvc.jam
Change *compile* generators to produce RSP target too.
Change compile actions to use RSP file
And compile rules to call common.response-file
* tools/common.jam
(response-file): Write defines and includes.
Thanks to Johannes Brunen for the patch.
[SVN r26275]