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

448 Commits

Author SHA1 Message Date
Vladimir Prus
22d7014535 Rename lib.err.cpp to lib-err.cpp.
[SVN r25655]
2004-10-11 06:57:05 +00:00
Vladimir Prus
b6ec0ada67 Rename test-config.jam.in to test-config-example.jam.
[SVN r25654]
2004-10-11 06:52:10 +00:00
Aleksey Gurtovoy
9056a721a5 c++boost.gif -> boost.png replacement
[SVN r25572]
2004-10-05 15:23:19 +00:00
Vladimir Prus
9e1b8801e2 Reduce directory depth, for CD FS benefit.
[SVN r25565]
2004-10-05 07:55:20 +00:00
Vladimir Prus
4ca82ca25f Remove one directory level in testcase, so stay below 8-level limit of some
broken systems.


[SVN r25563]
2004-10-05 07:12:26 +00:00
Vladimir Prus
ffc3024749 Change the way generators selection works. Now, instead of computing
'rank' for each viable generator, we use explicit information of the
form 'generator A is better than generator B', which is provided by
the user. The obvious goal is to fix 'custom_generator' failure on
msvc, but generally, I'm fixing BB76 -- which says that current generators
selection is very broken.


[SVN r25361]
2004-09-23 07:44:59 +00:00
Vladimir Prus
d348f6a020 Support the && syntax in the property.translate-paths rule.
[SVN r25339]
2004-09-22 14:25:04 +00:00
Vladimir Prus
3e311937bb Support AIX and IRIX.
[SVN r25301]
2004-09-21 13:36:36 +00:00
Vladimir Prus
0063e9878a 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
55275ff326 BSL update.
[SVN r25016]
2004-09-11 12:12:38 +00:00
Vladimir Prus
c163d1b73f Another attempt to kill SunCC's warning.
[SVN r25004]
2004-09-10 12:44:00 +00:00
Vladimir Prus
a2eb2e08cf Don't generate empty source file -- SunCC warns in that case.
[SVN r25000]
2004-09-10 11:46:22 +00:00
Vladimir Prus
c162145da2 Add some missing newlines. Sun compiler generates warning otherwise.
[SVN r24998]
2004-09-10 11:42:04 +00:00
Vladimir Prus
0f8adb66cf Use windows file extensions under cygwin.
[SVN r24988]
2004-09-09 12:23:00 +00:00
Vladimir Prus
3c476d32ac 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
74c4147419 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
9f4ff41fc9 Add missing dllexport/dllimport.
[SVN r24974]
2004-09-08 14:56:04 +00:00
Vladimir Prus
7a393b0b03 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
e7c04a87b7 Work around generators_test failure on msvc
[SVN r24885]
2004-09-03 08:03:26 +00:00
Vladimir Prus
92b18afe73 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
70006ad126 BSL
[SVN r24749]
2004-08-26 11:19:23 +00:00
Vladimir Prus
05f8783fb2 Fix the <link-runtime>static property on gcc.
[SVN r24665]
2004-08-23 12:40:23 +00:00
Vladimir Prus
50aea5e3db 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
e2dece22ae removed the last boost.org copyright
[SVN r24615]
2004-08-20 11:32:03 +00:00
John Maddock
a03b7b44f5 Converted files to the BSL.
[SVN r24614]
2004-08-20 11:10:24 +00:00
Dave Abrahams
82eeb79c31 fix copyright/license
[SVN r24509]
2004-08-16 14:44:19 +00:00
John Maddock
f247ce8bf7 Updated copyrights to reflect true author (see discussion on Jamboost list).
[SVN r24500]
2004-08-16 11:23:58 +00:00
Vladimir Prus
0718849595 * 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
645495a945 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
c463f8e3c7 Update tests to recent unit-test changes
[SVN r23000]
2004-06-02 14:19:16 +00:00
Vladimir Prus
6d723204b2 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
7f7e7a8a76 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
05eb6c1abc Minor fixes.
[SVN r22930]
2004-05-26 10:52:11 +00:00
Vladimir Prus
3e37e47c8d 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
b4da2e146b Allow directory names in arguments in 'glob'.
[SVN r22800]
2004-05-12 08:50:04 +00:00
Vladimir Prus
4235d88e10 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
c2fa30eecd Don't import toolsets in project-root.jam
[SVN r22798]
2004-05-12 07:11:53 +00:00
Vladimir Prus
a5591ef74a 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
533abcaadd 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
04096aab2d Improve the algorithm for computing build properties.
[SVN r22542]
2004-03-22 08:10:42 +00:00
Vladimir Prus
f2b0152895 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
85d4ef20e3 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
f2df997306 Optimize library ordering by native rules.
[SVN r22281]
2004-02-16 08:30:13 +00:00
Vladimir Prus
6c645a5918 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
7870e1fadb Fix typo
[SVN r22135]
2004-02-02 13:27:46 +00:00
Vladimir Prus
db9f1384a0 Revive project_test1.py.
[SVN r22133]
2004-02-02 13:17:41 +00:00
Vladimir Prus
03a73e9a08 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
b82d2abbc0 First version of proper library ordering for gcc.
[SVN r22079]
2004-01-30 14:10:24 +00:00
Vladimir Prus
d034f8f84e * 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
084ae2c4dc 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