Vladimir Prus
31f991df08
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
1bb41e4189
Allow alias to have usage-requirements.
...
[SVN r20440]
2003-10-21 09:25:20 +00:00
Vladimir Prus
2eb6750dbd
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
75046002a2
* new/class.jam
...
(is-instance): Tighten the check.
[SVN r20438]
2003-10-21 07:48:58 +00:00
Vladimir Prus
b17027983d
Tweak.
...
* new/generators.jam
(generator.convert-multiple-sources-to-consumable-types): New parameter
'multiple'.
[SVN r20437]
2003-10-21 07:47:33 +00:00
Vladimir Prus
61991baf6b
Optimize generators. Don't create vectors and call virtual-target.str all
...
over the place, which effort is wasted in we're no outputting debug info.
[SVN r20436]
2003-10-21 07:46:36 +00:00
Vladimir Prus
65f1575010
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
5d9f30ac29
Optimize the numbers module by new CALC builtin.
...
Patch from Pedro Ferreira.
[SVN r20434]
2003-10-21 06:48:04 +00:00
Vladimir Prus
c44d62be50
Remove two unused imports.
...
[SVN r20433]
2003-10-21 06:29:42 +00:00
Vladimir Prus
27feec6546
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
27255fc93b
Grab gcc threading support from V1.
...
[SVN r20431]
2003-10-21 05:50:33 +00:00
Vladimir Prus
e1855f185b
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
Rene Rivera
9a75d3bb35
Fix multiple inclusion by "import" when relative paths to modules are specified. Changes so that in the direcotry specified case it fully normalizes the path to be absolute.
...
[SVN r20354]
2003-10-11 18:21:00 +00:00
Rene Rivera
d92777a940
Fix the setting of early exit on error for compile actions, to only happen when we are on a *nix shell. THis fixes building on mingw.
...
[SVN r20353]
2003-10-11 16:58:09 +00:00
Rene Rivera
b1539ce5de
Fix stage disregarding ALL_LOCATE_TARGET when set. Stage now will locate itself at the ALL_LOCATE_TARGET relative location.
...
[SVN r20352]
2003-10-11 16:34:15 +00:00
Rene Rivera
a91d952180
Fix C & C++ compile actions so that they abort on an error and not try and execute the objcopy command.
...
[SVN r20344]
2003-10-10 22:20:04 +00:00
Vladimir Prus
7708a95e5a
Update download locations.
...
[SVN r20338]
2003-10-10 13:23:41 +00:00
Vladimir Prus
9da06ea65f
Bump version.
...
[SVN r20337]
2003-10-10 13:23:16 +00:00
Vladimir Prus
c680a9f536
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
a1b29a83bf
Rename <dependency> to <use>.
...
[SVN r20335]
2003-10-10 12:49:06 +00:00
Vladimir Prus
8f266da2f3
Drop useless test which causes problems on windows.
...
[SVN r20334]
2003-10-10 12:28:04 +00:00
Vladimir Prus
b2a27c059b
Tweak wording.
...
[SVN r20333]
2003-10-10 12:19:17 +00:00
Vladimir Prus
be6d8827f8
Make the test platform-neutral.
...
[SVN r20332]
2003-10-10 12:18:40 +00:00
Vladimir Prus
d8e841f82b
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
800c6da493
* new/generators.jam
...
(register-standard, register-composing): Return the created instance.
[SVN r20329]
2003-10-10 10:33:33 +00:00
Rene Rivera
f9797fb791
Add objcopy post-processing of compiled .o files to remove read-only status of debug strings. This is to prevent the linker from running the constant string merge algorithm which is very slow (n^2). The problem is most obvious when dealing with template C++ code which produces large numbers of debug symbols.
...
[SVN r20327]
2003-10-09 23:22:58 +00:00
Vladimir Prus
e498a3c659
Make the 'regression' test case work on windows with gcc.
...
[SVN r20299]
2003-10-08 05:49:57 +00:00
Vladimir Prus
141f06e8fa
Remove no-longer used file. It was renamed to project-roots.jam
...
some time ago but not deleted, it seems.
[SVN r20298]
2003-10-08 05:47:02 +00:00
Vladimir Prus
c16af47862
Bugfix: path-constant rule was mishandling absolute paths on Windows.
...
[SVN r20297]
2003-10-08 05:40:16 +00:00
Vladimir Prus
a96df6afec
Add tests for regression system.
...
[SVN r20280]
2003-10-07 13:03:04 +00:00
Vladimir Prus
d83a0f6b10
Bugfix.
...
* new/BoostBuild.py
(Tester.touch): Fix so that it can accept List instances.
[SVN r20279]
2003-10-07 12:50:17 +00:00
Vladimir Prus
3f08549a11
Support arguments to 'run'-ed command an input file.
...
[SVN r20274]
2003-10-07 10:46:34 +00:00
Vladimir Prus
54c9bae333
Trim lines to 80 characters.
...
[SVN r20263]
2003-10-06 13:29:18 +00:00
Vladimir Prus
c575310e15
Improve debug output:
...
- handle T_FATE_NEEDTMP
- indicate which children has the maximum time.
[SVN r20251]
2003-10-03 09:29:04 +00:00
Vladimir Prus
78972dc992
Fix a bug which prevented temporary files from being updated.
...
[SVN r20250]
2003-10-03 09:25:35 +00:00
Douglas Gregor
1367b86ed5
Make testsuite building work again
...
[SVN r20234]
2003-10-01 04:03:21 +00:00
Dave Abrahams
70abb18d65
Removed all property-adjuster references and the associated test.
...
[SVN r20207]
2003-09-29 15:27:47 +00:00
Vladimir Prus
e0f6581f55
Enable some previously commented out test.
...
[SVN r20205]
2003-09-29 15:17:18 +00:00
Vladimir Prus
f536bb16d3
Document new link-compatibility rules.
...
[SVN r20192]
2003-09-26 11:15:23 +00:00
Vladimir Prus
16abe38d49
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
2ee0f0be56
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
68dfec0436
Fix a typo.
...
[SVN r20189]
2003-09-26 07:16:06 +00:00
Vladimir Prus
cb8c58b87e
First version of regression testing support in V2.
...
* new/testing.jam: Loots of changes.
* new/virtual-target.jam:
(action.path): Handle <location-prefix> property.
[SVN r20188]
2003-09-26 07:03:55 +00:00
Rene Rivera
ee0f752def
Integrate a variety of changes for building on VMS systems, from Johan Nilsson.
...
- Some missing header includes.
- Some missing function declarations.
- Complete the bootstrap process by calling the jam0 bootstrap to build (build.jam)
- Some minor changes to handle VMS paths (build.jam)
Implement the new LICENSE name into the build/packaging process.
Use new license text where needed.
[SVN r20186]
2003-09-25 18:45:20 +00:00
Vladimir Prus
71fd30dd66
Refactorings/additions.
...
* new/targets.jam
(file-reference.location): New method, extracted from 'find'.
(resolve-reference): New rule, extracted from 'generate-from-reference'.
(basic-target.sources, basic-target.requirements): New methods.
(typed-target.type): New method.
[SVN r20183]
2003-09-25 13:10:50 +00:00
Vladimir Prus
ceeacc4d43
Refactorings.
...
* new/targets.jam
(project-target.main-targets): Store instances, not names.
[SVN r20178]
2003-09-24 09:12:32 +00:00
Vladimir Prus
2cf3d5ed72
Refactorings.
...
* new/targets.jam
(file-referenece): New class
(find): Return 'file-reference' instance when processing reference to a
file
(generate-from-reference): Make it less klugy than before.
[SVN r20177]
2003-09-24 08:51:49 +00:00
Vladimir Prus
c7cb4e0534
Refactorings.
...
* new/targets.jam
(create-typed-target): New rule, extracted from type.jam/main-target-rule.
* new/type.jam
(main-target-rule): Call 'create-typed-target'.
(type-to-rule-name, type-from-rule-name): New rules.
[SVN r20176]
2003-09-24 07:59:39 +00:00
Vladimir Prus
7ae112a1fb
Document <implcit-dependency>.
...
[SVN r20175]
2003-09-24 07:54:18 +00:00
Vladimir Prus
a6fb42c53c
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