2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-15 00:52:16 +00:00
Commit Graph

991 Commits

Author SHA1 Message Date
Vladimir Prus
8066b6a56e Support the && syntax in the property.translate-paths rule.
[SVN r25339]
2004-09-22 14:25:04 +00:00
Vladimir Prus
41a6ad007c Support AIX and IRIX.
[SVN r25301]
2004-09-21 13:36:36 +00:00
Vladimir Prus
b91aafa44c Revert the previous behaviour of unit-test: it does not store output into
a file but shows it on the screen. However, the proper setting of run
paths is not done for unit-test too.


[SVN r25035]
2004-09-13 09:32:37 +00:00
John Maddock
93a525dc98 BSL update.
[SVN r25016]
2004-09-11 12:12:38 +00:00
Vladimir Prus
553e750fce Another attempt to kill SunCC's warning.
[SVN r25004]
2004-09-10 12:44:00 +00:00
Vladimir Prus
28b4b7adb4 Don't generate empty source file -- SunCC warns in that case.
[SVN r25000]
2004-09-10 11:46:22 +00:00
Vladimir Prus
45d30cdade Add some missing newlines. Sun compiler generates warning otherwise.
[SVN r24998]
2004-09-10 11:42:04 +00:00
Vladimir Prus
197d88d856 Use windows file extensions under cygwin.
[SVN r24988]
2004-09-09 12:23:00 +00:00
Vladimir Prus
6d7b79da48 Simplify the test, and avoid conflicts with the 'RC' type defined in
'msvc.jam/rc.jam'.


[SVN r24986]
2004-09-09 10:55:59 +00:00
Vladimir Prus
474a7fdbef Robustify Tester.expect_content: don't crash when the file does not
exist.


[SVN r24985]
2004-09-09 10:50:52 +00:00
Vladimir Prus
b474060d8e Add missing dllexport/dllimport.
[SVN r24974]
2004-09-08 14:56:04 +00:00
Vladimir Prus
692ec14ece Only SystemExit exception from test module indicates failure. Other exceptions
indicator error in the test, so should not be caught.


[SVN r24973]
2004-09-08 14:48:46 +00:00
Vladimir Prus
95f617c6a2 Work around generators_test failure on msvc
[SVN r24885]
2004-09-03 08:03:26 +00:00
Vladimir Prus
62b3b18c4c Do no check for return status of build at all. For some reason, on
msvc, 0 is returned and that broke the test. But really, we're interested
only if user-defined generator is run, not that the result is compiled.


[SVN r24779]
2004-08-27 08:16:38 +00:00
Vladimir Prus
c14c9b8e6c BSL
[SVN r24749]
2004-08-26 11:19:23 +00:00
Vladimir Prus
834d66a456 Fix the <link-runtime>static property on gcc.
[SVN r24665]
2004-08-23 12:40:23 +00:00
Vladimir Prus
3641f8988f Add a specific test for issue BB60, so that I can close it.
[SVN r24662]
2004-08-23 11:20:43 +00:00
John Maddock
c06ce55478 removed the last boost.org copyright
[SVN r24615]
2004-08-20 11:32:03 +00:00
John Maddock
348fb7ab39 Converted files to the BSL.
[SVN r24614]
2004-08-20 11:10:24 +00:00
Dave Abrahams
539889d4aa fix copyright/license
[SVN r24509]
2004-08-16 14:44:19 +00:00
John Maddock
d066958ed0 Updated copyrights to reflect true author (see discussion on Jamboost list).
[SVN r24500]
2004-08-16 11:23:58 +00:00
Vladimir Prus
07f6065611 * build/virtual-target.jam
(from-file): Use full file name as search key, to avoid creating two
  different targets from two different project, which actually correspond
  to the same file.
  (register): Use actual name of the target as key. This again avoid
  the problem with two equivalent targets in two different projects.


[SVN r23173]
2004-06-24 07:26:29 +00:00
Vladimir Prus
9e5dbba552 Update testing jam to the same logic for running exes as V1 uses.
[SVN r23066]
2004-06-09 13:40:25 +00:00
Vladimir Prus
c5d658939b Update tests to recent unit-test changes
[SVN r23000]
2004-06-02 14:19:16 +00:00
Vladimir Prus
29f34eb193 Remove 'link-incompatible' attribute from some feature, most notable
'toolset' and 'threading'. The reason is that current link-compatibility
check is way too simple minded and produces bogus warnings. For example,
linking MT library into single threaded application is OK. Likewise, some
toolsets are link-compatible.

We might need a better mechanism, but for now just make the feature
link-compatible. Useless warnings are much worse than failure to report
link-incompatibility in some cases.


[SVN r22949]
2004-05-27 07:39:17 +00:00
Vladimir Prus
33b864e88e Don't run library_order.py on Windows, since the test makes no sense there,
does not work, and can't be easily fixed.


[SVN r22933]
2004-05-26 10:59:48 +00:00
Vladimir Prus
2eec4041cb Minor fixes.
[SVN r22930]
2004-05-26 10:52:11 +00:00
Vladimir Prus
79cd3623f4 Remove check for 'unused sources'. The check causes bogus warnings in at least
a couple of cases.

1. On Windows, DLLs are never directly linked to, so they are considered
   unused and cause a warning. There used to be special code in
   exe-target-class and lib-target-class to supress that warning, but this
   failed for unit-test, for example, since main target class for unit test
   is not related with exe-target-class. And making yet another main target
   class looks ugly.
2. A target specified via project-wide <source> or <library> property is
   added to sources for all targets, and cause a warning when it's not used.
   However, there are valid cases to ignore such sources. For example

       obj a : a.cpp : <optimization>off ;

   need to comsume any libraries.

It was not clear how to fix both problems. Further, the only case when I found
the warning to be usefull is when declaring new toolsets, and it that case it
does not add much information compared to --debug-generators output. So, let's
just kill the feature for now.


[SVN r22927]
2004-05-26 09:57:03 +00:00
Vladimir Prus
f9b7313ca8 Allow directory names in arguments in 'glob'.
[SVN r22800]
2004-05-12 08:50:04 +00:00
Vladimir Prus
d6c9b302a0 Make the 'glob' rule in the project scope to operate relatively to
the 'source-location', not project location.

Thanks to Johannes Brunen for the bug report.


[SVN r22799]
2004-05-12 07:38:48 +00:00
Vladimir Prus
65d0021707 Don't import toolsets in project-root.jam
[SVN r22798]
2004-05-12 07:11:53 +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
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
cd17918331 Revert latest commit. The test fails without ordered properties, and those
can't be finished right away.


[SVN r22282]
2004-02-16 08:49:48 +00:00
Vladimir Prus
2d883c64d5 Optimize library ordering by native rules.
[SVN r22281]
2004-02-16 08:30:13 +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
81530cba02 Fix typo
[SVN r22135]
2004-02-02 13:27:46 +00:00
Vladimir Prus
ae5e7922d0 Revive project_test1.py.
[SVN r22133]
2004-02-02 13:17:41 +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
9034f3ba61 First version of proper library ordering for gcc.
[SVN r22079]
2004-01-30 14:10:24 +00:00
Vladimir Prus
2078bed239 * test/test_all.py
Don't stop at the first failure, try to move further.

  Patch from Andre Hentz, with some tweaks by myself.


[SVN r21724]
2004-01-14 07:20:49 +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
21f0722dfa Added support for testing on solaris:
* test/BoostBuild.py:
    (Tester): added a check for SunOS and one for Linux. The default now is
    to raise an exception.

Patch from  Andre Hentz.


[SVN r21663]
2004-01-13 09:24:16 +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
Rene Rivera
4306e24d92 Fix tabs in file.
[SVN r21399]
2003-12-26 23:26:49 +00:00
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