Vladimir Prus
18904f8171
Fix variable name. Thanks to Johan Nilsson
...
[SVN r50302]
2008-12-17 15:49:07 +00:00
Jurko Gospodnetić
449a3ef94a
Cleaned up several internal Boost Build modules a bit.
...
[SVN r48332]
2008-08-23 23:49:00 +00:00
Jurko Gospodnetić
87cff5267c
Minor stylistic Boost Build module changes.
...
[SVN r46748]
2008-06-26 20:41:41 +00:00
Jurko Gospodnetić
7722c0b981
Reverting Boost Build's stage.jam module changes made by accident in the last revision.
...
[SVN r46259]
2008-06-08 21:58:33 +00:00
Jurko Gospodnetić
c2e96b4454
Removed empty internal Boost Build __test__ rules. Made remaining __test__ rules be non-local to correct a defect introduced during last internal testing system reorganization with local __test__ rules not getting called. Minor stylistic changes.
...
[SVN r46258]
2008-06-08 21:55:16 +00:00
Jurko Gospodnetić
4c7cb7818f
Minor stylistic Boost Build script changes.
...
[SVN r46254]
2008-06-08 19:41:56 +00:00
Jurko Gospodnetić
d850370d14
Simplified the stage.copy-file() rule. Minor stylistic changes.
...
[SVN r45104]
2008-05-04 02:11:21 +00:00
Jurko Gospodnetić
b97333aa4e
Minor stylistic Boost Build code changes.
...
[SVN r45023]
2008-05-02 15:26:44 +00:00
Vladimir Prus
c90a35b399
Disable relinking when <target-os> is either windows or cygwin.
...
Fixes #1062 .
[SVN r43008]
2008-01-29 06:40:06 +00:00
Jurko Gospodnetić
6de288ad4c
Cleaned up where the stage module is imported in tools/builtin.jam. Added a missing import in tools/stage.jam that causes errors with the previous fix. Minor stylistic changes in tools/stage.jam.
...
[SVN r42495]
2008-01-05 20:06:15 +00:00
Jurko Gospodnetić
010b26f6d3
Removed or simplified some import calls. Comment updates. Minor stylistic changes.
...
[SVN r42489]
2008-01-05 18:13:10 +00:00
Vladimir Prus
bf9418bb6a
Make it possible to suppress generation of version symlinks
...
[SVN r35979]
2006-11-10 17:18:55 +00:00
Rene Rivera
3b73c71ee5
Add/update copyrights+license (with help of a shell script).
...
[SVN r35851]
2006-11-05 07:13:39 +00:00
Rene Rivera
5b6bd00e4f
Remove now outdated stage renaming of targets, moved to common.jam.
...
[SVN r35713]
2006-10-23 23:57:42 +00:00
Vladimir Prus
a25d3f1288
Don't include toolset version in libs built with bcb
...
[SVN r35684]
2006-10-21 10:39:48 +00:00
Vladimir Prus
5119882456
build/
...
* generators.jam (construct): Remove the 'allowed-type' parameter.
Adjust other files.
[SVN r35608]
2006-10-14 10:37:54 +00:00
Vladimir Prus
c3c1e63780
Fix boost install. Thanks to Tiziano Mueller for the bug report.
...
tools/
* stage.jam (copy-file): Use 'path.root' instead of
jam primitives to avoid "." element showing up in
path and blowing up 'mkdir'.
[SVN r35545]
2006-10-11 06:43:12 +00:00
Vladimir Prus
a994e940df
Make tags for intel compiler match V1.
...
[SVN r35216]
2006-09-19 19:02:40 +00:00
Vladimir Prus
6900b5680c
* tools/stage.jam (rename): Generate 'vc6' and 'vc7' suffixes
...
instead of 'vc60' and 'vc70', to match V1 behaviour.
[SVN r35147]
2006-09-17 18:35:43 +00:00
Vladimir Prus
1970b3942d
Allow <name> work for 'install', when there's a single source
...
[SVN r33064]
2006-02-21 13:08:53 +00:00
Vladimir Prus
7518d106e2
Fixes for 'install' rule.
...
- 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]
2006-02-21 09:08:29 +00:00
Vladimir Prus
6d4c855fff
When installing .cpp files, don't scan them for #includes. It's pointless,
...
we don't compile.
Thanks to Franz Schnyder for the bug report.
[SVN r31756]
2005-11-23 16:10:41 +00:00
Vladimir Prus
6c016ac1a1
Don't ever try to relink non-derived files.
...
[SVN r30872]
2005-09-08 09:21:58 +00:00
Vladimir Prus
eeb5324f5e
On install, relink shared libraries if the dll-path property has changed.
...
[SVN r30538]
2005-08-12 12:53:58 +00:00
Vladimir Prus
82ca771e11
Add missing call to 'virtual-target.register' when symlinking targets.
...
Otherwise, if we build 'install' target twice, we'll get two different
symlink targets.
[SVN r30400]
2005-08-03 11:43:04 +00:00
Vladimir Prus
1f5750af86
Unbreak <install-source-root> when building from subdirectories.
...
[SVN r29803]
2005-06-27 12:19:50 +00:00
Vladimir Prus
4e81e3fc1c
Fix an error when a 'install' target has another 'install' target in sources.
...
We managed to create property set with two 'location' properties, and then
crashed when deciding where to put the target.
[SVN r29603]
2005-06-16 07:47:22 +00:00
Vladimir Prus
3a7327a605
Automatically prepend "lib" prefix to LIB targets on Unix.
...
[SVN r29602]
2005-06-16 07:24:16 +00:00
Vladimir Prus
4d6bfe4eef
Rename link-runtime to runtime-link to stay compatible with V1.
...
[SVN r29586]
2005-06-15 12:24:06 +00:00
Vladimir Prus
5fab631f5d
Further generators simplications.
...
1. If when generating something, we find more that one suitable generators,
run them and more then one return something, immediately report ambiguity.
Don't care if the produced targets are the same. This is better that
running several generators all the time, performance wise.
2. Remove the notion of 'intermediate' virtual-targets. IIRC, they were used
to prevent staging of RSP files, and we don't stage them anyway now.
[SVN r29491]
2005-06-09 08:12:21 +00:00
Vladimir Prus
7ef55e8276
Fix error when installing with <install-source-root> and source file names
...
are absolute.
[SVN r29180]
2005-05-25 06:10:23 +00:00
Vladimir Prus
67902a923a
Don't relink exe on CYGWIN.
...
I believe no dynamic paths are hardcoded in shared libraries, so relinking
is not needed.
[SVN r28511]
2005-04-28 12:31:52 +00:00
Rene Rivera
f191d632c3
Make the version/variant tag conform to BBv1 behaviour.
...
[SVN r28439]
2005-04-23 16:36:59 +00:00
Vladimir Prus
95f49491b0
Change tree installing. Replace preserve-path feature with a
...
install-source-root feature which specifies the base path to which all
paths are relative.
[SVN r27592]
2005-03-10 09:47:37 +00:00
Vladimir Prus
9bf995a857
Introduce a new property, preserve-path, which can be used to make the
...
'install' rule preserve relative paths of sources when installing them.
[SVN r27587]
2005-03-09 09:08:27 +00:00
Vladimir Prus
9d1b318b43
Implement symlinks support for installing shared libraries.
...
Also fix top-level Boost Jamfile. Seems like V2 can now install Boost.
[SVN r26835]
2005-01-24 14:11:27 +00:00
Vladimir Prus
c40b9809ee
Some renames:
...
- 'stage' -> 'install'
- 'traverse-dependencies' -> 'install-dependencies'
- 'include-type' -> 'install-type'.
[SVN r26833]
2005-01-24 10:08:07 +00:00
Vladimir Prus
3e4ae30d8d
Fix handling of <dll-path> in 'stage' rule, which was broken in
...
the recent commit.
[SVN r26832]
2005-01-24 07:59:11 +00:00
Vladimir Prus
b34abc6bb0
Further 'stage' improvements.
...
- Fix the 'stage.rename' rule (not versioning yet).
- Don't even try to install searched libs, ever.
- Make top-level Boost Jamfile work.
[SVN r26783]
2005-01-21 16:05:22 +00:00
Vladimir Prus
84334a4cd0
Various 'stage' related improvements.
...
- Require @module.rule syntax for value of the <tag> feature.
- Don't support change of name in 'stage'.
- Cleanup in 'stage'.
[SVN r26782]
2005-01-21 15:03:08 +00:00
Vladimir Prus
f4b06edc27
Refactoring of virtual targets.
...
- 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]
2005-01-21 08:42:51 +00:00
Vladimir Prus
21b0be6bfc
Kill the link-compatibility check completely. It just causes too much
...
problems, instead of helping.
[SVN r26576]
2004-12-22 09:42:44 +00:00
Vladimir Prus
0656ab2818
Supress 'link-compatibility' warning for:
...
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]
2004-12-03 14:30:56 +00:00
Vladimir Prus
6f86fbc1f4
Handle <dependency> for 'stage'.
...
* 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]
2004-12-03 14:24:32 +00:00
Vladimir Prus
7d8f3051b8
Add variant/compiler part to the names of installed targets.
...
[SVN r26419]
2004-12-03 12:35:53 +00:00
Vladimir Prus
d2b38551f3
Create symbolic links the <so-version> is specified.
...
* tools/stage.jam
(symlink-lib): New rule.
(stage-shared-linking-generator.run): Use the above to
create symlinks.
[SVN r26415]
2004-12-03 11:23:13 +00:00
Vladimir Prus
6afa38681d
Don't hardcode '.so' suffix.
...
* 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]
2004-12-03 11:02:56 +00:00
Vladimir Prus
2600f1c728
Cleanup stage rule.
...
* 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]
2004-12-03 10:12:31 +00:00
Vladimir Prus
db137f4034
The 'stage' rule now understands the <tag> feauture.
...
[SVN r26409]
2004-12-03 08:42:05 +00:00
Vladimir Prus
230ec44483
Refactor/improve <tag> support.
...
* 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]
2004-12-03 08:28:37 +00:00