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

273 Commits

Author SHA1 Message Date
Vladimir Prus
a613dc03b0 Change a flag to be compatible with icc
[SVN r22796]
2004-05-12 06:14:24 +00:00
Douglas Gregor
9490c6b82a doxygen.jam: Actually use the "name" parameter given to the initialization routine.
[SVN r22755]
2004-05-07 00:33:30 +00:00
Vladimir Prus
09c30c749e Add missing import
[SVN r22571]
2004-03-31 09:32:05 +00:00
Vladimir Prus
6e10fa5525 Introduce the <source> feature and make <library> work in the same way
as <source>.


[SVN r22570]
2004-03-31 08:02:59 +00:00
Vladimir Prus
12d08a7b73 Bugfix: the main target rules did not work unless called from Jamfile.
The used 'CALLER_MODULE' to determine the project where the main target
is to be declared, which did not work if the rule is called from another
module.

Thanks to Zbynek Winkler for the bug report.

* build/project.jam (current): New rule
* test/wrapper.py: New test
* other files: Use 'project.current'.


[SVN r22569]
2004-03-31 06:53:56 +00:00
Vladimir Prus
2dd280cbb6 Improve the algorithm for computing build properties.
[SVN r22542]
2004-03-22 08:10:42 +00:00
Christopher Currie
bea617df5d Fixed value of LIBRARY flag. Added support for Sun's bundled STLport.
[SVN r22477]
2004-03-10 16:03:55 +00:00
Vladimir Prus
ca7ca7de3d Fix "import" statements.
[SVN r22470]
2004-03-10 07:43:53 +00:00
Vladimir Prus
b775145d8f Darwin improvements.
Patch from Andre Hentz.

 * v2/build/toolset.jam
   (inherit-flags): Take an extra parameter describing properties that
   should not be inherited.

 * v2/build/type.jam
   (register-suffixes): Removed local qualifier.

 * v2/test/BoostBuild.py
   (prepare_suffix_map): Add .dylib if OS is Darwin.
   (Tester::_init_): path to bjam on Darwin.

 * v2/test/prebuilt.py
   make sure $toolset is expanded correctly.

 * v2/test/prebuilt/project-root.jam
   use $toolset instead of gcc.

 * v2/test/prebuilt/ext/project-root.jam
   use $toolset instead of gcc.

 * v2/test/prebuilt/ext/Jamfile2.jam
   handle extension .dylib.

 * v2/test/prebuilt/ext/Jamfile2.jam
   handle extension .dylib.

 * v2/tools/darwin.jam
   inline call to toolset.inherit.
   filter <debug-symbols>off because -s is not accepted for dlls.
   speficy that .dylib files are of type SHARED_LIB.
   (actions link): pass -s for static linkage.
   (actions link.dll): pass -L flag with path to libraries.
   (actions archive): -c inhibits warning.


[SVN r22332]
2004-02-20 08:51:33 +00:00
Vladimir Prus
21ffcb1c6c Property register sun toolset.
[SVN r22300]
2004-02-17 12:03:53 +00:00
Vladimir Prus
53ca4fcb36 Move the logic for library ordering to a separate module. Add library
ordering to 'sun' toolset.


[SVN r22284]
2004-02-16 09:12:27 +00:00
Vladimir Prus
f641d2ca34 Remove code duplication. Optimize library ordering by not ordering sources
which are not of LIB type.


[SVN r22280]
2004-02-16 07:25:23 +00:00
Vladimir Prus
f4d6b67bbb Disable 'unused sources' warning for LIBS which are sources of EXE.
[SVN r22168]
2004-02-05 10:45:30 +00:00
Vladimir Prus
0da0a2e3a4 Disable order-sensitive properties for a while. They cause performance
degradation that should be investigated.


[SVN r22145]
2004-02-03 08:36:46 +00:00
Vladimir Prus
9e97b4a117 Fix a bug which preverten inheriting from gcc.
[SVN r22137]
2004-02-02 15:02:32 +00:00
Vladimir Prus
d02fe33b11 Make the 'search' feature order-sensitive.
[SVN r22134]
2004-02-02 13:18:51 +00:00
Vladimir Prus
93c3c932e2 Instroduce order-sensitive properties.
* build/feature.jam: New feature attribute 'order-sensitive'.

* jam_src/modules/property-set.c: (property_set_create): Don't sort
  order-sensitive attributes.


[SVN r22132]
2004-02-02 13:12:30 +00:00
Vladimir Prus
960156f204 Simplification. Now that non-searched libraries are directly
passes to action (not via property), there's no need to explicitly
set dependency on such targets.

* tools/builtin.jam
  (link-action): Remove
  (linking-generator.action-class): Don't override.
  (linking-generator.generated-targets): Don't pass searched-libraries
  as sources.


[SVN r22130]
2004-02-02 09:29:22 +00:00
Vladimir Prus
ff886e38a9 Move the 'location-prefix' feature declaration to builtin.jam.
[SVN r22129]
2004-02-02 07:33:02 +00:00
Vladimir Prus
9034f3ba61 First version of proper library ordering for gcc.
[SVN r22079]
2004-01-30 14:10:24 +00:00
Vladimir Prus
fdb27d6c1a Add paths to all dependent libs to uic command line.
[SVN r22071]
2004-01-30 12:14:57 +00:00
Vladimir Prus
b3fff372ce Make some of the features incidental, since they have no effect on
built targets.


[SVN r22068]
2004-01-30 08:08:24 +00:00
Douglas Gregor
f7f5b24781 Glob in multiple directories correctly
[SVN r22014]
2004-01-28 01:41:31 +00:00
Vladimir Prus
7885ee04d1 Register generators inside 'init'. Issue warning of Boost.Book XSL dir
is not found.


[SVN r21972]
2004-01-26 14:48:51 +00:00
Vladimir Prus
58985d4994 Weaken check for unused sources for libraries -- so that we don't warn
the statically linked library bypasses library sources.


[SVN r21960]
2004-01-26 11:32:58 +00:00
Vladimir Prus
26f585d7bf Robustify Boost.Book a little more. Don't register generators unless
'init' rule is called, so that we don't get into half-initialized state.

Revert previous change to doxygen.jam, since importing boostbook now is
harmless.


[SVN r21957]
2004-01-26 11:20:45 +00:00
Vladimir Prus
4c3b5a626f Don't import boostbook. The reason is that importing toolset module makes
Boost.Build believe the module is property loaded, but without 'init' call,
the module will not work. In this case, if doxygen is configured but
boostbook is not, it causes strange errors.

This commit temporary breaks doxygen -- I'm gonne fix that in a minute.


[SVN r21954]
2004-01-26 10:51:54 +00:00
Vladimir Prus
cfaf316d78 Don't crash when BOOST_ROOT is not set. Print interesting things when
--debug-configuration is specified.


[SVN r21953]
2004-01-26 10:29:09 +00:00
Vladimir Prus
0ef095eb21 Don't pass -x flag to gcc when it's know that gcc will select the
same language from the file extension. This works around distcc's dislike
of the -x option: whenever it sees it, it resorts to local compilation.


[SVN r21839]
2004-01-20 12:46:00 +00:00
Vladimir Prus
4ca7977418 Use common.file-creation-command for creating a file signalling
that unit test has executed without errors. Using 'touch' is not
portable to Windows, in general.


[SVN r21837]
2004-01-20 08:16:51 +00:00
Vladimir Prus
a3ac522cd1 Improve NDEBUG handling. Specify <define>NDEBUG as part of <variant>release,
instead of setting it on when there's <optimization>speed. Also, now we
don't use active features at all.


[SVN r21666]
2004-01-13 10:18:09 +00:00
Vladimir Prus
427174eaab Use "rm -f" for RM variable on Linux. For now, this does not change much,
but in fugure we can use just $RM inside various actions, instead of testing
for file existance before.

Patch from Michael Stevens.


[SVN r21664]
2004-01-13 09:34:16 +00:00
Vladimir Prus
a8b18c0799 Instead of don't returning targets which are not of requested type
from generators.construct, return them with 'intermediate' flag.


[SVN r21565]
2004-01-09 11:55:32 +00:00
Vladimir Prus
d162d7d854 Remove some obsolete code.
[SVN r21561]
2004-01-09 11:16:49 +00:00
Vladimir Prus
1baab343b9 Unbreak searched_lib.py and library_chain.py. Pass proper -rpath-link
options to the linker.

* tools/builtin.jam
  (lib-target-class.compute-usage-requirements): Add xdll-path
  properties instead of dll-path. Add them unconditionally,
  not only when hardcode-dll-paths is true.

  (linking-generator.run): When hardcode-dll-paths is true, add
  dll-path property for each xdll-path property.

* tools/gcc.jam
  Convert xdll-path properties into -rpath-link option.


[SVN r21560]
2004-01-09 10:50:07 +00:00
Vladimir Prus
3086648616 Fix BB65: includes of the form
# include "a.h"

(note the space), were not considered during dependency scanning.


[SVN r21541]
2004-01-08 08:00:00 +00:00
Vladimir Prus
7659fa4681 Allow <include-type> to select staged targets, even
with <traverse-dependencies>off.

Patch from Pedro Ferreira.


[SVN r21322]
2003-12-18 14:54:04 +00:00
Vladimir Prus
7e561521af Refactorings.
* tools/stage.jam
  (update-location,construct-special-target,construct-regular-target): New
  methods
  (construct): Rewrite in terms of the above methods.

Patch from Pedro Ferreira.


[SVN r21318]
2003-12-18 06:55:53 +00:00
Vladimir Prus
b0e6228616 Eliminate dependency cycle in some cases.
[SVN r21262]
2003-12-15 07:52:30 +00:00
Vladimir Prus
d424dcf8c5 Pass boundname of target to header scanning rule. This change was stealed
from Matt Armstrong's version of jam. Getting boundname this way is faster
than the way we used to have.

* jam_src/headers.c: The change itself.

* v2/build/scanner.jam
  (hdrrule): Accept third argument.

* v2/build/virtual-target.jam
  (binding, remember-binding): Remove.

* v2/tools/builtin.jam
  (c-scanner.process): Accept and use third argument.

* v2/tools/boostbook.jam: Likewise.


[SVN r21203]
2003-12-10 10:00:20 +00:00
Vladimir Prus
8c0ca0e3b8 Optimizations.
* build/scanner.jam
  (propagate): New rule, implementing part of functionality 'install' used
  to have.
  (install): Remove some functionality.

* tools/builtin.jam
  (c-scanner.process): Call 'scanner.propagate'. Pass all targets, do not
  loop.

* tools/docbook.jam: Likewise.


[SVN r21202]
2003-12-10 09:28:47 +00:00
Vladimir Prus
79a6b4d1b6 Speedup. Add implicit include directories only for targets that
can really be included.

* build/virtual-target.jam
  (subvariant.implicit-includes,all-target-directories,
  compute-target-directories): Accept 'target-type' parameter.

* tools/builtin.jam
  (compile-action.adjust-properties): Only add "include" properties for
  targets of type "H".


[SVN r21117]
2003-12-03 13:13:08 +00:00
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
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
333a6148eb Add <dependency> feature.
Patch from Pedro Ferreira.


[SVN r20878]
2003-11-20 13:01:58 +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