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

393 Commits

Author SHA1 Message Date
Vladimir Prus
37cf2d1afc Another fix for standalone projects.
[SVN r21226]
2003-12-11 14:12:02 +00:00
Vladimir Prus
860db52c28 Fix a couple of bugs with absolute filesnames.
[SVN r21225]
2003-12-11 13:46:11 +00:00
Vladimir Prus
a051902d37 Forgotten change.
[SVN r21197]
2003-12-10 07:55:01 +00:00
Vladimir Prus
771ef2230d When build directory is specified via 'build-dir' project attribute,
don't add 'bin' to the path.

Patch from Zbynek Winkler.


[SVN r21195]
2003-12-10 06:39:27 +00:00
Rene Rivera
4a0924d91f Fix broken links.
[SVN r21163]
2003-12-06 16:17:39 +00:00
Vladimir Prus
49adf0f54e Remove tabs.
[SVN r21112]
2003-12-03 07:56:28 +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
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
abd7908cfc Add a test for linking a libary to library. This revealed some bug, and
in fact, caused rsp files refactoring comitted previously.


[SVN r20651]
2003-11-04 16:40:45 +00:00
Vladimir Prus
9e371b3f34 Add forgotten file.
[SVN r20645]
2003-11-04 13:07:39 +00:00
Vladimir Prus
0bf53f0cf6 Remove obsolete tests.
[SVN r20634]
2003-11-04 10:07:32 +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
dc2b77511d Put my test config here, so that I can run the entire release_procedure.txt
on all toolsets.


[SVN r20542]
2003-10-29 11:31:02 +00:00
Vladimir Prus
58ffd92d48 Allow BoostBuild.py to find bjam both in parent directory (for releases)
and in parent's parent directory (for CVS testing).


[SVN r20540]
2003-10-29 11:18:47 +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
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
Vladimir Prus
236fc77725 Accomodate new directory layout.
[SVN r20503]
2003-10-27 07:14:21 +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
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
a5e699ac5c Fix a problem with 'use-project' which refers to child project. Thanks
to Austin Bingham for the bug report.

* new/project.jam
  (load): Don't mark project as loaded here.
  (load-jamfile): Mark it as loaded here.


[SVN r20439]
2003-10-21 09:24:47 +00:00
Vladimir Prus
f4c350524f Bugfix. It was not possible to specify empty suffix to a type if
base type had nonempty suffix.


[SVN r20435]
2003-10-21 07:24:28 +00:00
Vladimir Prus
2f1119297f Remove support for using project-root.jam in place of Jamfile.
* new/project-roots.jam
  (project-root-context.project): Remove.

* new/project.jam
  (find): Simplify.
  (find-jamfile): Optimize.


[SVN r20432]
2003-10-21 06:12:49 +00:00
Vladimir Prus
47aa5f97b7 Fix a bug which caused double loading of Jamfile in some cases. Also,
simplify some things.

* new/project.jam
  (load): Tweak
  (lookup): Remove.
  (find): Simplify.


[SVN r20430]
2003-10-21 05:47:39 +00:00
Vladimir Prus
cb50ed0edd Don't run 'regression' on win, since it's not working there, yet.
[SVN r20336]
2003-10-10 13:18:22 +00:00
Vladimir Prus
1048d58831 Rename <dependency> to <use>.
[SVN r20335]
2003-10-10 12:49:06 +00:00
Vladimir Prus
c159616543 Drop useless test which causes problems on windows.
[SVN r20334]
2003-10-10 12:28:04 +00:00
Vladimir Prus
f7964e634f Make the test platform-neutral.
[SVN r20332]
2003-10-10 12:18:40 +00:00
Vladimir Prus
503da68bc4 Improve alternative selection.
* new/targets.jam
  (main-target.select-alternative): Rewrite.
  (main-target.generate-really): Issue error in all cases where best
  alternative could not be found.
  (basic-target.match): Renamed from 'match-rank' and changed.

* boost_build_v2.html: Document new algorithm.

* test/alternatives.py: More tests.


[SVN r20331]
2003-10-10 12:14:59 +00:00
Vladimir Prus
ada627ba32 Make the 'regression' test case work on windows with gcc.
[SVN r20299]
2003-10-08 05:49:57 +00:00
Vladimir Prus
7c4e61af9f Bugfix: path-constant rule was mishandling absolute paths on Windows.
[SVN r20297]
2003-10-08 05:40:16 +00:00
Vladimir Prus
d454a26cfe Add tests for regression system.
[SVN r20280]
2003-10-07 13:03:04 +00:00
Vladimir Prus
2eb79255bd Bugfix.
* new/BoostBuild.py
  (Tester.touch): Fix so that it can accept List instances.


[SVN r20279]
2003-10-07 12:50:17 +00:00
Dave Abrahams
5ffe27e49e Removed all property-adjuster references and the associated test.
[SVN r20207]
2003-09-29 15:27:47 +00:00
Vladimir Prus
959782b4d4 Enable some previously commented out test.
[SVN r20205]
2003-09-29 15:17:18 +00:00
Vladimir Prus
05c4757d82 Implement a somewhat better link-compatibility check.
* new/targets.jam
  (basic-target.check-for-link-compatibility): New rule.
  (basic-target.generate-sources, basic-target.generate): Call the above.


[SVN r20191]
2003-09-26 11:13:42 +00:00
Vladimir Prus
0419f26474 Drop the notion of link-compatibility. We don't really want it for
projects, and for individual targets, it will reappear later.

* new/property.jam:
  (refine): Don't check for link-compatibility.

* new/targets.jam
  (project-target.generate): Don't call 'refine' and don't emit any
  warnings.

  (basic-target.match-rank): The alternative selection mechanism dependended
  on link-compatibility in some way. Work around the difference in semantic
  we have now. This will be resolved in a more clean way later.

* new/property-set.jam
  (property-set.link-incompatible, property-set.link-incompatible-with):
  New methods.


[SVN r20190]
2003-09-26 10:22:22 +00:00
Vladimir Prus
a2f68ad42e Implement <implicit-dependency> feature.
* new/virtual-target.jam
  (subvariant-dg.implicit-includes): New method.
  (subvariant-dg.__init__): Check for <implcit-dependency>, not all
  dependency features.

* new/builtin.jam
  (compile-action.adjust-properties): Call 'implicit-includes'.


[SVN r20174]
2003-09-24 06:13:01 +00:00
Dave Abrahams
b6c3972f2c Use import rule
[SVN r20170]
2003-09-24 00:01:11 +00:00
Vladimir Prus
da15d4a222 Fix BB39: project root constants are available also in project-root module
itself.


[SVN r20077]
2003-09-16 14:54:09 +00:00
Vladimir Prus
a046f6b0c0 Make msvc happy.
[SVN r20019]
2003-09-11 08:12:58 +00:00
Vladimir Prus
a8758e0f2c Bugfix: allow a generator to create two targets of the same type.
* new/generators.jam
  (generator.__init__): Use parallel lists to store prefixes and postfixes
  for a name, not mapping with type as a key, since type is not unique.
  (generator.generated-targets): Adjust.


[SVN r19990]
2003-09-10 07:39:45 +00:00
Vladimir Prus
b8b18394e3 Add 'glob' rule to Jamfile context.
[SVN r19914]
2003-09-04 11:19:03 +00:00
Vladimir Prus
be258d889a Remove support for old-style target ids.
[SVN r19913]
2003-09-04 11:06:14 +00:00
Vladimir Prus
52547317f0 Bugfix. Allow "project-root" to work in Jamfile, again.
Thanks to Peter Schoen for bugreport.

* new/project.jam (initialize): Set 'project-root-module' attribute.
* new/project_root.py: New test.


[SVN r19899]
2003-09-01 14:00:26 +00:00
Vladimir Prus
e92b5c5d23 Fix a hard error whenever a target is skipped. Thanks to
Christopher Currie for spotting this bug.


[SVN r19854]
2003-08-29 08:48:15 +00:00
Vladimir Prus
c72f0987ca Python 2.3 fixes. Use __rmul__ for fixed mode operations on List, not
__coerce__, since it works in a wrong way and might be removed in future.


[SVN r19806]
2003-08-27 13:57:47 +00:00