2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-17 01:32:12 +00:00
Commit Graph

4209 Commits

Author SHA1 Message Date
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
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
75beb85dcd * new/class.jam
(is-instance): Tighten the check.


[SVN r20438]
2003-10-21 07:48:58 +00:00
Vladimir Prus
718b09e6b1 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
1eac6ccbb0 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
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
0e023e35f0 Optimize the numbers module by new CALC builtin.
Patch from Pedro Ferreira.


[SVN r20434]
2003-10-21 06:48:04 +00:00
Vladimir Prus
e65d8f5965 Remove two unused imports.
[SVN r20433]
2003-10-21 06:29:42 +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
ab988525ec Grab gcc threading support from V1.
[SVN r20431]
2003-10-21 05:50:33 +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
14699c4a67 Bump version.
[SVN r20337]
2003-10-10 13:23:16 +00:00
Vladimir Prus
1048d58831 Rename <dependency> to <use>.
[SVN r20335]
2003-10-10 12:49:06 +00:00
Vladimir Prus
28c9d29fb7 Tweak wording.
[SVN r20333]
2003-10-10 12:19:17 +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
914fcb5194 * new/generators.jam
(register-standard, register-composing): Return the created instance.


[SVN r20329]
2003-10-10 10:33:33 +00:00