Commit Graph

12124 Commits

Author SHA1 Message Date
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
83c465b7de Add explicit generator override to save work.
[SVN r26416]
2004-12-03 11:25:02 +00:00
Vladimir Prus
27c7ab37fa Add explicit generator override to save work.
[SVN r26416]
2004-12-03 11:25:02 +00:00
Vladimir Prus
dc64283452 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
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
f0fef4524b 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
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
58566b47bd * tools/common.jam (path-variable-setting-command): Allow to refer to
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]
2004-12-03 10:46:05 +00:00
Vladimir Prus
fc9f31c127 * tools/common.jam (path-variable-setting-command): Allow to refer to
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]
2004-12-03 10:46:05 +00:00
Vladimir Prus
760839f6c9 Forgotten part of stage fixes commit
[SVN r26412]
2004-12-03 10:42:35 +00:00
Vladimir Prus
787d66ea54 Forgotten part of stage fixes commit
[SVN r26412]
2004-12-03 10:42:35 +00:00
Vladimir Prus
d96e80ee0c 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
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
ac7eba458e The 'stage' rule now understands the <tag> feauture.
[SVN r26409]
2004-12-03 08:42:05 +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
aabded2811 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
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
Vladimir Prus
8bb8145360 Document new project-root.jam semantics, change the name to Jamroot,
and cflags/linkflags features.


[SVN r26406]
2004-12-03 07:47:16 +00:00
Vladimir Prus
b4cd4ee508 Document new project-root.jam semantics, change the name to Jamroot,
and cflags/linkflags features.


[SVN r26406]
2004-12-03 07:47:16 +00:00
Vladimir Prus
9fe5de91db Added <so-version> feature, and make stage add the version and relink
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]
2004-12-02 11:32:07 +00:00
Vladimir Prus
9e6512273b Added <so-version> feature, and make stage add the version and relink
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]
2004-12-02 11:32:07 +00:00
Vladimir Prus
8d9bd4d70b Allow the 'path.glob' and 'glob' Jamfile rule to accept wildcards in
directory names. For example:

  exe a : [ glob */*.cpp ] ;

now works.


[SVN r26398]
2004-12-02 09:41:31 +00:00
Vladimir Prus
76b9d2d819 Allow the 'path.glob' and 'glob' Jamfile rule to accept wildcards in
directory names. For example:

  exe a : [ glob */*.cpp ] ;

now works.


[SVN r26398]
2004-12-02 09:41:31 +00:00
Vladimir Prus
e27347e104 Fix stlport init example
[SVN r26397]
2004-12-02 07:37:09 +00:00
Vladimir Prus
d09d675152 Fix stlport init example
[SVN r26397]
2004-12-02 07:37:09 +00:00
Vladimir Prus
ab892de529 Unbreak stlport for msvc, and for 'hostios' configuration.
[SVN r26396]
2004-12-02 07:35:23 +00:00
Vladimir Prus
7015ebb122 Unbreak stlport for msvc, and for 'hostios' configuration.
[SVN r26396]
2004-12-02 07:35:23 +00:00
Dave Abrahams
ea8e6a7950 Don't delete EXE's when debugging.
[SVN r26395]
2004-12-01 16:51:37 +00:00
Dave Abrahams
f796c2a971 Make changes at Doug's request.
[SVN r26394]
2004-12-01 16:50:56 +00:00
Dave Abrahams
b4c6c27664 Make changes at Doug's request.
[SVN r26394]
2004-12-01 16:50:56 +00:00
Aleksey Gurtovoy
51bfbaad29 apply Caleb Epstein's SunPro patch
[SVN r26391]
2004-12-01 10:15:21 +00:00
Vladimir Prus
23bca90019 Really allow to configure different versions of STLPort.
Thanks to Reece Dunn for the bug report.


[SVN r26389]
2004-12-01 09:42:06 +00:00
Vladimir Prus
323da7935d Really allow to configure different versions of STLPort.
Thanks to Reece Dunn for the bug report.


[SVN r26389]
2004-12-01 09:42:06 +00:00
Vladimir Prus
a4f3de44f3 Allow Jamroot as alternative (and preferred) spelling of project-root.jam.
[SVN r26351]
2004-11-29 15:44:58 +00:00
Vladimir Prus
70c6ca08dd Allow Jamroot as alternative (and preferred) spelling of project-root.jam.
[SVN r26351]
2004-11-29 15:44:58 +00:00
Vladimir Prus
0a4f7139d0 Fix example gcc initialization.
Patch from Daniel James.


[SVN r26342]
2004-11-29 07:29:19 +00:00
Vladimir Prus
8219864207 Fix example gcc initialization.
Patch from Daniel James.


[SVN r26342]
2004-11-29 07:29:19 +00:00
Aleksey Gurtovoy
21b68833f9 merge RC_1_32_0 fixes
[SVN r26333]
2004-11-28 04:44:21 +00:00
Aleksey Gurtovoy
7eb16fce02 merge RC_1_32_0 fixes
[SVN r26333]
2004-11-28 04:44:21 +00:00
Vladimir Prus
be03015bff Update architecture docs.
[SVN r26313]
2004-11-26 12:18:47 +00:00
Vladimir Prus
c6293e15d8 Update architecture docs.
[SVN r26313]
2004-11-26 12:18:47 +00:00
Vladimir Prus
066f260c33 Problem: Long command line problem using msvc toolset on BoostBuild V2
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]
2004-11-23 09:57:33 +00:00
Vladimir Prus
39fb2277a2 Problem: Long command line problem using msvc toolset on BoostBuild V2
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]
2004-11-23 09:57:33 +00:00
Vladimir Prus
78365ce534 Fix some problems with project loading
* build/targets.jam
  (project-target.find): Better error reporting.

* build/project.jam
  (load-jamfile): Use 'path.native' when loading Jamfile,
   otherwise, target id with absolute directory name won't
   work for Windows.


[SVN r26271]
2004-11-22 09:02:52 +00:00
Vladimir Prus
094b2aa656 Fix some problems with project loading
* build/targets.jam
  (project-target.find): Better error reporting.

* build/project.jam
  (load-jamfile): Use 'path.native' when loading Jamfile,
   otherwise, target id with absolute directory name won't
   work for Windows.


[SVN r26271]
2004-11-22 09:02:52 +00:00
Vladimir Prus
3436d124ca The 'stdlib' feature is no longer link-incompatible, as I generally
don't think link-compatibility check does any good.


[SVN r26270]
2004-11-22 07:52:11 +00:00
Vladimir Prus
6b0bc477f9 The 'stdlib' feature is no longer link-incompatible, as I generally
don't think link-compatibility check does any good.


[SVN r26270]
2004-11-22 07:52:11 +00:00
Vladimir Prus
f08adb0f78 Refactoring.
* build/targets.jam: Move targets.find to project-target.find.


[SVN r26252]
2004-11-19 11:23:24 +00:00
Vladimir Prus
bc58161dd8 Refactoring.
* build/targets.jam: Move targets.find to project-target.find.


[SVN r26252]
2004-11-19 11:23:24 +00:00
Vladimir Prus
daf4d58c63 * build/project.jam
(load-parent): New rule, extracted from 'initilize'.
  (load-jamfile): If loading project-root.jam, check for
      Jamfile and load it in the same module.
  (inherit-attributes): Simplify.
  (project-rules.constant, project-rules.path-constant): New rules.

* build/targets.jam
  (project-target.__init__): New paramater 'parent'.
  (project-target.inherit)
  (project-target.add-constant)
  (project-target.intern-constants): New rules

*


[SVN r26251]
2004-11-19 09:51:54 +00:00