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

225 Commits

Author SHA1 Message Date
Vladimir Prus
593da1b0f3 * 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
6b555018fd * 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
bebf8ca7d8 * 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
028df60b79 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
218d38a858 Fix a typo which broke threading support on gcc.
[SVN r20706]
2003-11-06 16:43:41 +00:00
Vladimir Prus
08ed526238 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
e0e8d345a4 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
f01178607a * tools/rc.jam
Handle LINUX, as well.

  Patch from Jurgen Hunold.


[SVN r20693]
2003-11-06 07:17:53 +00:00
Vladimir Prus
a74edee228 * 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
Vladimir Prus
f484ffbbaf * 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
7afb7a98ab 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
d01539f02d Bugfix: RSP files were never recreated.
[SVN r20653]
2003-11-04 17:03:18 +00:00
Vladimir Prus
47cca752f5 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
5d76c84597 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
efe10deb66 * 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
059023b970 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
88783cf4e3 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
5365de8675 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
b970ff8c10 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
5faa183c07 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
bce9f20c7b Minor rename.
* build/virtual-targets.jam
  (action.properties): Renamed from 'properties-ps'.


[SVN r20517]
2003-10-28 07:54:35 +00:00
Vladimir Prus
e06fd02fd3 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
0ce601c7c4 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
d2a9da07a8 Implemented DEF file support.
Patch from Kirill Lapshin.


[SVN r20452]
2003-10-22 06:11:10 +00:00
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
27255fc93b Grab gcc threading support from V1.
[SVN r20431]
2003-10-21 05:50:33 +00:00
Vladimir Prus
a1b29a83bf Rename <dependency> to <use>.
[SVN r20335]
2003-10-10 12:49:06 +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
3f08549a11 Support arguments to 'run'-ed command an input file.
[SVN r20274]
2003-10-07 10:46:34 +00:00
Douglas Gregor
1367b86ed5 Make testsuite building work again
[SVN r20234]
2003-10-01 04:03:21 +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
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
Douglas Gregor
4e1ca184cf Handle doxygen:param properties with equal signs in them
[SVN r20164]
2003-09-22 22:41:29 +00:00
Douglas Gregor
b3b30350a8 Oops, headers to doxyfile transformation should be composing and should handle its sources properly
[SVN r20163]
2003-09-22 22:03:57 +00:00
Douglas Gregor
6ebe680de0 Added a prefix feature, that hooks up to the Doxygen-parsed header prefix
[SVN r20143]
2003-09-22 02:19:49 +00:00
Douglas Gregor
7bf1002d74 doxygen.jam:
- Stage BoostBook XML generated via Doxygen into the project
directory, so it can be XIncluded
  - Eventually, would like to just generate it in the project directory,
and then perhaps dependency generation would work correctly.


[SVN r20140]
2003-09-22 01:32:54 +00:00
Douglas Gregor
77c8f32dc2 boostbook.jam:
- Hey, derived types are cool. Use 'em for BoostBook

doxygen.jam:
	- Completely rewritten to be slightly less hackish than before (but
	  still quite hackish).
	- Added <doxygen:param> free feature to allow customization of Doxygen
          configuration file.


[SVN r20138]
2003-09-22 00:14:09 +00:00
Douglas Gregor
5a7d657373 Implemented an (ugly) hack to try to make the Doxygen->BoostBook
transformation work better. This whole module needs a serious overhaul.

----------------------------------------------------------------------


[SVN r20094]
2003-09-18 15:46:42 +00:00
Rene Rivera
0b0d36b670 Replace license statement with Boost.License.
[SVN r20057]
2003-09-15 00:16:10 +00:00
Vladimir Prus
d97aec24f5 Bugfix: recognize a.so.1.2 as file of type SHARED_LIB.
Thanks to Peter Schoen for bug report.

* new/type.jam
  (type): Accept filename, not just suffix. Improve logic.


[SVN r20036]
2003-09-12 07:13:42 +00:00
Vladimir Prus
734d7f1031 Add Darwin toolset, from Christopher Currie.
[SVN r19851]
2003-08-29 07:33:28 +00:00
Vladimir Prus
d841b76c27 Fix up bison's handling of yy sources. Bison produces hpp file when input
has yy extension. Up till now, V2 though it produces h file, which means
that if any source includes hpp file, V2 could try to compile it before
generating the hpp. The compilation fails.

* new/builtin.jam
  Make HPP a separate type.

* tools/bison.jam
  Note that YY is converted to HPP, not H.


[SVN r19847]
2003-08-29 07:01:13 +00:00
Douglas Gregor
2365fd8f04 Don't ECHO random information to the user. Man, was I tired
[SVN r19830]
2003-08-28 12:28:15 +00:00
Douglas Gregor
5e7331866c - Undo my erroneous change to the error message formatting (thanks Dave)
- Use BOOST_ROOT to help find the BoostBook DTD & XSL only if its available
- Use BOOST_BUILD_PATH to help find the BoostBook DTD & XSL (also thanks Dave)


[SVN r19816]
2003-08-28 03:30:21 +00:00
Douglas Gregor
638c5770c1 Fix path handling in initialization
[SVN r19813]
2003-08-28 00:13:51 +00:00
Douglas Gregor
3d1d630504 Import new appropriately
[SVN r19754]
2003-08-23 15:03:14 +00:00
Dave Abrahams
2a72b0dd7d Implemented subfeature defaults
feature.jam -

   * subfeatures acquired a subfeature attribute
   * improved error reporting
   * eliminated some unused code
   * simplified, improved commenting in, and fixed bugs in minimize

property.jam -

   * added missing "symmetric" label on toolset and variant in tests

msvc.jam -

   * version number is now defaulted, so I can have msvc-7.1 and
     msvc-6 configured, and simply type "bjam msvc".


[SVN r19675]
2003-08-18 04:39:43 +00:00
Dave Abrahams
f920a0eef1 Removed bogus semicolon
[SVN r19579]
2003-08-14 07:23:06 +00:00
Vladimir Prus
81dc7f094b Rename 'xclass' to 'class'.
[SVN r19458]
2003-08-05 05:25:33 +00:00
Vladimir Prus
a8291718dd Rename 'xnew' to just 'new'.
[SVN r19434]
2003-08-04 11:12:30 +00:00