2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-11 23:52:20 +00:00
Commit Graph

874 Commits

Author SHA1 Message Date
Vladimir Prus
ae7a398ac7 Don't check link compatibility for alias and stage targets, since it makes
no sense for them.


[SVN r21111]
2003-12-03 07:05:47 +00:00
Vladimir Prus
a5189e3917 Improve the way grist for targets is computed. In particual, for
targets with known location, that location is used as grist.


[SVN r21076]
2003-12-02 10:35:14 +00:00
Vladimir Prus
138011e9aa Fix doc formatting to comple with ReST.
[SVN r21027]
2003-12-01 06:10:11 +00:00
Vladimir Prus
3f011b059b Workaround hang in --help handling.
[SVN r20980]
2003-11-28 06:42:09 +00:00
Vladimir Prus
89dfd49462 * build/property.jam
(refine): Pass conditional properties throught.


[SVN r20900]
2003-11-21 14:24:24 +00:00
Vladimir Prus
333a6148eb Add <dependency> feature.
Patch from Pedro Ferreira.


[SVN r20878]
2003-11-20 13:01:58 +00:00
Vladimir Prus
bc399e9265 Add new W32_GETREG builtin.
Patch from Paul Lin


[SVN r20859]
2003-11-19 14:31:07 +00:00
Rene Rivera
9f48c555e7 Rename installing section to more sensible building boost.jam.
Add note about only needing to build one bjam for any boost.build toolset.
Add note for default location of bjam source in distribution.


[SVN r20846]
2003-11-18 21:15:40 +00:00
Vladimir Prus
a3eef9478b * tools/msvc.jam
(archive): Delete .lib before adding new files.

Patch from Jurgen Hunold.


[SVN r20800]
2003-11-13 11:04:43 +00:00
Vladimir Prus
97de4f76c2 Using -R instead of -rpath.
* tools/gcc.jam
   (link): substitute -R for -rpath
   (link.dll): substitute -R for -rpath

Patch from Andre Hentz.


[SVN r20783]
2003-11-11 06:11:47 +00:00
Vladimir Prus
b0972efc3d * tools/gcc.jam
(link.dll) : -soname is not accepted by solaris LD. Using -h allows
      it to work with GNU LD and solaris LD (and presumably others).

Patch from Andre Hentz.


[SVN r20750]
2003-11-08 09:58:47 +00:00
Vladimir Prus
6efa2610e4 * tools/msvc.jam
(achive action): Add /NOLOGO switch
  (link, link.dll): Change -nologo to /NOLOGO for consistency.

Patch from Jurgen Hunold.


[SVN r20749]
2003-11-08 09:34:36 +00:00
Vladimir Prus
87ff3a75ef * tools/msvc.jam
(link.dll action): Use DEF_FILE.
  (link action): Don't use DEF_FILE.

Patch from Pedro Ferreira.


[SVN r20748]
2003-11-08 09:31:03 +00:00
Vladimir Prus
c9f2f005be Update version.
[SVN r20708]
2003-11-06 16:48:33 +00:00
Vladimir Prus
e4fb41995a Fix BB58: the unit-test rule was ignoring <library> property.
* tools/builtin.jam
  (linking-generator): Move <library> properties to sources in the 'run'
  method. This makes the logic usable by everyone who invokes the generator.
  (exe-target-class, lib-target-class): Don't do the above.


[SVN r20707]
2003-11-06 16:46:29 +00:00
Vladimir Prus
a2404f7e90 Fix a typo which broke threading support on gcc.
[SVN r20706]
2003-11-06 16:43:41 +00:00
Vladimir Prus
dd426ba135 Don't make 'use-interface' propagated, since we don't want to build
two version of library just because it's used by both console and gui
application.

Probably, a better approach would be to make 'user-interface' feature
irrelevant to all targets except for exe, but that requires some design
and coding.

Patch from Brock Peabody.


[SVN r20699]
2003-11-06 07:37:35 +00:00
Vladimir Prus
455935db58 Incremental improvement to the darwin toolset.
* Set the proper suffix for shared libraries
 * Added C and C++ compile options used in v1:
    -Wno-long-double, -no-cpp-precomp, and -fcoalesce-templates
 * Converted the link.dll rule to use the bundled libtool
 * Added support for linking to frameworks

Patch from Christopher Currie.


[SVN r20695]
2003-11-06 07:32:04 +00:00
Vladimir Prus
2b71595ea8 * tools/rc.jam
Handle LINUX, as well.

  Patch from Jurgen Hunold.


[SVN r20693]
2003-11-06 07:17:53 +00:00
Vladimir Prus
c6fc0b693e * tools/msvc.jam
Add /INCREMENTAL:NO to linker options when linking exes, not only dlls.
  It was omitted from exes by mistake.


[SVN r20692]
2003-11-06 07:16:10 +00:00
Rene Rivera
efa5dc99a7 Fix compilation for GCC type compilers that take .c files to be ANSI-C only, not a hybrid C/C++. This immediately affects MinGW (gcc).
[SVN r20687]
2003-11-05 23:37:40 +00:00
Vladimir Prus
ef2b72f1bb Update version check.
[SVN r20662]
2003-11-04 17:54:52 +00:00
Vladimir Prus
98cdd48d77 Bump version to 3.1.8.
[SVN r20661]
2003-11-04 17:51:28 +00:00
Vladimir Prus
400d9eb0d4 Bump version.
[SVN r20660]
2003-11-04 17:48:15 +00:00
Vladimir Prus
a507f2b266 * build/virtual-target.jam
(abstract-file-target.creating-subvariant): Renamed from
  'dg', which was meaningless.


[SVN r20657]
2003-11-04 17:26:58 +00:00
Vladimir Prus
cf8230a3c9 Add missing import.
[SVN r20656]
2003-11-04 17:25:18 +00:00
Vladimir Prus
20c1e93a40 Fix a bug with searched libraries. When they are bypassed by static library,
we need to bypass <library-path> property, as well.

* tools/builtin.jam
  (lib-target-class.compute-usage-requirements): The above change.

* build/virtual-target.jam
  (subvariant.set-usage-requirements, subvariant.usege-requirements):
      New methods.
  (abstract-file-target.dg): Don't allow changing the value.

* build/targets.jam
  (basic-target.generate): Explicitly don't change value of 'dg'.


[SVN r20655]
2003-11-04 17:14:29 +00:00
Vladimir Prus
a6f4a01ce1 Bugfix: RSP files were never recreated.
[SVN r20653]
2003-11-04 17:03:18 +00:00
Vladimir Prus
f9767b2bd7 Refactor the way response files are handled. There are now created by the
rules which create corresponding EXE/LIB targets.

The drawback with the previous approach, where there was a separate generator
for RSP file, was that the list of consumable target types is different,
depending on main target which uses RSP, and it's hard to express this
information.

* tools/builtin.jam
  (response-file): Move to...

* tools/common.jam: Here.

* tools/msvc.jam
* tools/borland.jam
  Split 'link' rule into 'link' and 'link.dll'. Call 'response-file'
  from rules.

* tools/stage.jam
  Fix a bug which cause RSP file to be staged incorrectly.


[SVN r20650]
2003-11-04 16:28:30 +00:00
Vladimir Prus
2d9c47730d Refactorings.
* build/virtual-target.jam
  (clone-action): New rule.

* tools/stage.jam
  (stage-exe-generator.run): Use 'clone-action'.


[SVN r20647]
2003-11-04 13:17:06 +00:00
Vladimir Prus
acadbf896a Fix the bug that compsite properties in the 'requirements' attribute are not expanded.
* build/targets.jam
  (basic-target.refined-properties): expand composites in the 'requirements' property-set.

Patch from Paul Lin.

* tests/composite.py: New test.


[SVN r20615]
2003-11-03 15:19:36 +00:00
Vladimir Prus
857d939801 * tools/rc.jam
Added the directory of the generated files to the include path,
  allowing files created by other generators to be included by the resource
  script.

Patch from Pedro Ferreira.


[SVN r20614]
2003-11-03 12:23:33 +00:00
Vladimir Prus
54916eb642 Support for solaris
* tools/rc.jam
   (resource-compile): on SOLARIS, create empty object

Patch from Andre Hentz.


[SVN r20563]
2003-10-30 07:56:42 +00:00
Vladimir Prus
f0d8753140 Remove a bunch of V2 files now that they are moved into "v2" directory, and
old copies are no longer needed.


[SVN r20560]
2003-10-30 07:14:00 +00:00
Vladimir Prus
58a7f6a498 Add top-level bootstrap.jam, so that users can put Boost.Build root in
boost-build rule invocation, not path to "kernel". Tweak Boost.Build place
in CVS in docs.


[SVN r20535]
2003-10-29 07:49:56 +00:00
Vladimir Prus
3f70a26a20 Allow the 'stage' rule to traverse dependencies.
* build/virtual-target.jam
  (subvariant.__init__): New parameter 'sources'.
  (subvariant.all-referenced-targets): New method.

* build/targets.jam
  (basic-target.create-subvariant): New parameter 'sources'.

* built/type.jam
  (is-subtype): New rule.

* tools/stage.jam
  (stage-target-class.construct): Traverse dependencies when requested.
  (stage-target-class.collect-targets): New method.


[SVN r20534]
2003-10-29 06:08:44 +00:00
Vladimir Prus
583bf9fe87 Make 'regression.py' work with msvc.
* tools/builtin.jam
  (exe-target-class.compute-usage-requirements): Pass <dll-path> properties
  as usage requirements.

* tools/testing.jam
  (capture-output): Handle <dll-path> properties.

* tools/common.jam
  (path-variable-setting-command): New rule.


[SVN r20522]
2003-10-28 12:16:10 +00:00
Vladimir Prus
466105e97d Make library target pass <dll-path> properties it got from
usage requirements of sources. Add a test for the new behaviour.


[SVN r20521]
2003-10-28 10:05:59 +00:00
Vladimir Prus
83f22eb83e Fix BB54: the 'alias' rule was not passing usage requirements of the sources.
* build/alias.jam
  (alias-target-class.compute-usage-requirements): New method.


[SVN r20519]
2003-10-28 08:50:58 +00:00
Vladimir Prus
bf82713eb3 Refactorings.
* build/virtual-target.jam
  (subvariant): Renamed from 'subvariant-dg'.
  (subvariant.created-targets, requested-properties, build-properties,
   sources-usage-requirements): Renamed some methods and added some new ones.

* build/targets.jam
  (basic-target.compute-usage-requirements): Accept 'subvariant' instance.
  This allows derived classes to access all kind of information they'd like,
  without adding terrible number of parameters.


[SVN r20518]
2003-10-28 08:44:44 +00:00
Vladimir Prus
4543f0173f Minor rename.
* build/virtual-targets.jam
  (action.properties): Renamed from 'properties-ps'.


[SVN r20517]
2003-10-28 07:54:35 +00:00
Vladimir Prus
b2b6e2769b Simplify target paths.
* build/targets.jam
  (project-target.reference-properties): Remove.

* build/virtual-target.jam
  (abstract-file-target.specific-main-target,
   file-target.specific-main-target): Remove.


[SVN r20516]
2003-10-28 07:46:40 +00:00
Rene Rivera
af7539f00c Remove some more unused/obsolete files.
[SVN r20514]
2003-10-28 04:56:29 +00:00
Vladimir Prus
37dd0d63ef Add "build" directory to the search path, not "core". That's how it's
named now... I though "build" was planned all the time, but apparently
not.


[SVN r20501]
2003-10-27 07:08:22 +00:00
Vladimir Prus
b949771e65 Work-in-progress on better library handling.
* new/builtin.jam
  (link-action.adjust-properties): Remove.
  (linking-generator.generated-targets): Do what adjust-properties used to do.
  (linking-generator.run): Convert <library> properties to sources.
  (exe-generator): New class.


[SVN r20455]
2003-10-22 16:18:08 +00:00
Vladimir Prus
d88803f3cb Fix a bug in the "stage" rule. It was changing target suffix in some cases.
Thanks to Peter Steiner for bug report.


[SVN r20454]
2003-10-22 16:12:38 +00:00
Vladimir Prus
20506d8fcf Remove code for implicit dependencies handling that was accidentally
left when <implicit-dependency> was introduced.


[SVN r20453]
2003-10-22 15:51:26 +00:00
Vladimir Prus
4f08be9586 Implemented DEF file support.
Patch from Kirill Lapshin.


[SVN r20452]
2003-10-22 06:11:10 +00:00
Vladimir Prus
07e1e527a3 Handle hardcode-dll-paths a little bit differently.
* new/targets.jam
  (basic-target.compute-usage-requirements): Add second parameter 'targets'.

* new/builtin.jam
  (lib-target-class.compute-usage-requirements): Add proper <dll-path>
  properties when <hardcode-dll-paths> in in properties.

  (lib-target.adjust-properties): Don't handle <hardcode-dll-paths>.


[SVN r20441]
2003-10-21 10:44:06 +00:00
Vladimir Prus
700492c830 Allow alias to have usage-requirements.
[SVN r20440]
2003-10-21 09:25:20 +00:00