Commit Graph

12124 Commits

Author SHA1 Message Date
Christopher Currie
e3e013c6d7 Add option to inhibit non-PIC link warning on Solaris
[SVN r23020]
2004-06-03 15:14:04 +00:00
Vladimir Prus
d5f4e78bb2 * tools/testing.jam (dump-test): Correctly compute path to the source
from project root.


[SVN r23018]
2004-06-03 08:47:14 +00:00
Vladimir Prus
3831562205 * tools/testing.jam (dump-test): Correctly compute path to the source
from project root.


[SVN r23018]
2004-06-03 08:47:14 +00:00
Vladimir Prus
576a99a21d Refactorings.
* build/project-roots.jam (load): Return object, not project root module
* build/project.jam (initialize): Renamed 'project-root-modue' attribute to
 'project-root'.


[SVN r23017]
2004-06-03 08:32:34 +00:00
Vladimir Prus
8375c3d5dc Refactorings.
* build/project-roots.jam (load): Return object, not project root module
* build/project.jam (initialize): Renamed 'project-root-modue' attribute to
 'project-root'.


[SVN r23017]
2004-06-03 08:32:34 +00:00
Vladimir Prus
e507aa7208 Add missing 'path.make' for source-location attribute. Thanks to
Victor A. Wagner for discovering the problem.


[SVN r23016]
2004-06-03 07:46:48 +00:00
Vladimir Prus
877eb5801a Add missing 'path.make' for source-location attribute. Thanks to
Victor A. Wagner for discovering the problem.


[SVN r23016]
2004-06-03 07:46:48 +00:00
Vladimir Prus
3f783b7b2e Refactorings.
The targets (both abstract and virtual) used to refer to project there belong
to using the name of Jamfile module corresponding to the project. That was a
bit messy, and whatevet it was necessary to get any project attribute, one
had to call 'project.attribute', which was messy too.

Now, projects are identified by instance of project-target class, and
attributes are obtained via 'get' method in that class.


[SVN r23001]
2004-06-02 14:26:15 +00:00
Vladimir Prus
d4e260045f Refactorings.
The targets (both abstract and virtual) used to refer to project there belong
to using the name of Jamfile module corresponding to the project. That was a
bit messy, and whatevet it was necessary to get any project attribute, one
had to call 'project.attribute', which was messy too.

Now, projects are identified by instance of project-target class, and
attributes are obtained via 'get' method in that class.


[SVN r23001]
2004-06-02 14:26:15 +00:00
Vladimir Prus
c5d658939b Update tests to recent unit-test changes
[SVN r23000]
2004-06-02 14:19:16 +00:00
Vladimir Prus
c463f8e3c7 Update tests to recent unit-test changes
[SVN r23000]
2004-06-02 14:19:16 +00:00
Rene Rivera
7bec1dd305 Bump version to 3.1.10 for release.
Update copyrights to new Boost License.


[SVN r22987]
2004-06-01 05:42:36 +00:00
Rene Rivera
5a441aa093 Bump version to 3.1.10 for release.
Update copyrights to new Boost License.


[SVN r22987]
2004-06-01 05:42:36 +00:00
Rene Rivera
17fd1a2bba Fix infinite loop when PYTHON_ROOT is specified and it's not a framework, MacOSX.
[SVN r22985]
2004-05-31 19:01:17 +00:00
Vladimir Prus
0af58086dc Comment out
using gcc ;

Seems it was uncommented by mistake.


[SVN r22984]
2004-05-31 13:26:29 +00:00
Vladimir Prus
bae27d5551 Comment out
using gcc ;

Seems it was uncommented by mistake.


[SVN r22984]
2004-05-31 13:26:29 +00:00
Rene Rivera
7561c0342b Add quotes for tool executable invocations to account for paths with spaces.
[SVN r22976]
2004-05-30 18:32:08 +00:00
Rene Rivera
b121d2b5ce Add quotes for tool executable invocations to account for paths with spaces.
[SVN r22976]
2004-05-30 18:32:08 +00:00
Rene Rivera
49e7665ed7 Improvements from Jerry Dy.
[SVN r22971]
2004-05-29 23:09:37 +00:00
Vladimir Prus
3c4b3dfe56 Implement 'unit-test' in terms of more powerfull 'run' rule. Understand
the 'testing.launcher' property for 'run' rule.


[SVN r22968]
2004-05-28 12:28:10 +00:00
Vladimir Prus
15f7e2a4df Implement 'unit-test' in terms of more powerfull 'run' rule. Understand
the 'testing.launcher' property for 'run' rule.


[SVN r22968]
2004-05-28 12:28:10 +00:00
Vladimir Prus
9dc0ae95fb Added the Intel toolset support.
[SVN r22966]
2004-05-28 12:04:36 +00:00
Vladimir Prus
245577ae5c Added the Intel toolset support.
[SVN r22966]
2004-05-28 12:04:36 +00:00
Vladimir Prus
2b1e669c44 Gcc version os no longer link-incompatible.
[SVN r22965]
2004-05-28 12:02:10 +00:00
Vladimir Prus
affc063d5b Gcc version os no longer link-incompatible.
[SVN r22965]
2004-05-28 12:02:10 +00:00
Vladimir Prus
1143b23a6c Fix handling of conditinal properties, broken a recent commit.
1. Don't break where there are several elements in condition.
2. Don't validate <toolset> feature in condition, since we might
   not have initialized all possible toolsets.


[SVN r22964]
2004-05-28 10:45:31 +00:00
Vladimir Prus
186e2c3da4 Fix handling of conditinal properties, broken a recent commit.
1. Don't break where there are several elements in condition.
2. Don't validate <toolset> feature in condition, since we might
   not have initialized all possible toolsets.


[SVN r22964]
2004-05-28 10:45:31 +00:00
Vladimir Prus
521b58e5e9 Properly hardcode dll paths, even if library was not produced by 'lib' target,
but was specified as file.


[SVN r22963]
2004-05-28 08:46:49 +00:00
Vladimir Prus
e4163c3201 Properly hardcode dll paths, even if library was not produced by 'lib' target,
but was specified as file.


[SVN r22963]
2004-05-28 08:46:49 +00:00
Vladimir Prus
a6872ff45b Support inline targets in sources of 'stage'.
[SVN r22962]
2004-05-28 08:46:00 +00:00
Vladimir Prus
765486f506 Support inline targets in sources of 'stage'.
[SVN r22962]
2004-05-28 08:46:00 +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
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
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
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
240105ee1b Add 'xdll-path' properties to run-time DLL search path for tests. Previously,
we added only dll-path properties and the logic that created dll-path
properties from xdll-path properties did not work right on Windows.

It makes more sense anyway to always add all paths for dendency libraries.


[SVN r22932]
2004-05-26 10:57:22 +00:00
Vladimir Prus
2690a5f90d Add 'xdll-path' properties to run-time DLL search path for tests. Previously,
we added only dll-path properties and the logic that created dll-path
properties from xdll-path properties did not work right on Windows.

It makes more sense anyway to always add all paths for dendency libraries.


[SVN r22932]
2004-05-26 10:57:22 +00:00
Vladimir Prus
c67d617721 Bugfix: when staging, change locations on all targets produced by an action,
not only on the one we're staging.

On Windows, the action that produces EXE also produces RSP file. If location
of RSP file is not changed when staging, both staged EXE and original EXE will
try to use the same RSP file and that will cause 'duplicate virtual target'
error.


[SVN r22931]
2004-05-26 10:54:55 +00:00
Vladimir Prus
d94c8ae1ff Bugfix: when staging, change locations on all targets produced by an action,
not only on the one we're staging.

On Windows, the action that produces EXE also produces RSP file. If location
of RSP file is not changed when staging, both staged EXE and original EXE will
try to use the same RSP file and that will cause 'duplicate virtual target'
error.


[SVN r22931]
2004-05-26 10:54:55 +00:00
Vladimir Prus
2eec4041cb Minor fixes.
[SVN r22930]
2004-05-26 10:52:11 +00:00
Vladimir Prus
05eb6c1abc Minor fixes.
[SVN r22930]
2004-05-26 10:52:11 +00:00
Vladimir Prus
eab58ea895 Fix a couple of bigs:
1. <toolset>intel-linux-8.0 did not work in conditional requirements
2. Paths line C:/something/../a.cpp did not work on Windows.


[SVN r22929]
2004-05-26 10:50:42 +00:00
Vladimir Prus
632194a03e Fix a couple of bigs:
1. <toolset>intel-linux-8.0 did not work in conditional requirements
2. Paths line C:/something/../a.cpp did not work on Windows.


[SVN r22929]
2004-05-26 10:50:42 +00:00
Vladimir Prus
7e92fe2772 When inheriting generators, allow to replace original <toolset> property
with arbitrary property list, for example

     <toolset>intel <toolset-intel:platform>win


[SVN r22928]
2004-05-26 10:48:16 +00:00
Vladimir Prus
7ef073ddc5 When inheriting generators, allow to replace original <toolset> property
with arbitrary property list, for example

     <toolset>intel <toolset-intel:platform>win


[SVN r22928]
2004-05-26 10:48:16 +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
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
bc84dc2847 Change the error message printed when target reference can't be resolved.
Also, don't print backtrace, since this is not necessary and just confuses
users.


[SVN r22926]
2004-05-26 07:26:55 +00:00
Vladimir Prus
718e473260 Change the error message printed when target reference can't be resolved.
Also, don't print backtrace, since this is not necessary and just confuses
users.


[SVN r22926]
2004-05-26 07:26:55 +00:00
Toon Knapen
d1227bcd67 added doc on file boost-build.jam to locate the build system
[SVN r22866]
2004-05-18 13:51:32 +00:00