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

10944 Commits

Author SHA1 Message Date
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
Vladimir Prus
d48a0701ae When project-scope 'glob' is called with directory in wildcard, return
absolute paths names.


[SVN r22849]
2004-05-17 09:02:27 +00:00
Vladimir Prus
7b5eae382f When project-scope 'glob' is called with directory in wildcard, return
absolute paths names.


[SVN r22849]
2004-05-17 09:02:27 +00:00
Vladimir Prus
e7fe779afe Add
/Zc:forScope /Zc:wchar_t

options for 7.0 and 7.1 versions.


[SVN r22810]
2004-05-13 12:01:36 +00:00
Vladimir Prus
f71121db76 Add
/Zc:forScope /Zc:wchar_t

options for 7.0 and 7.1 versions.


[SVN r22810]
2004-05-13 12:01:36 +00:00
Vladimir Prus
2fd9259313 Attempt to properly detect free VC 7.1 tools.
[SVN r22808]
2004-05-13 10:51:44 +00:00
Vladimir Prus
c928643a1f Attempt to properly detect free VC 7.1 tools.
[SVN r22808]
2004-05-13 10:51:44 +00:00
Vladimir Prus
4f294434b4 * build/feature.jam (validate-value-string): Don't crash when value string
has more than one element, e.g. icc-linux-8.0, where 'linux' and '8.0'
  are subfeatures.


[SVN r22807]
2004-05-13 10:29:44 +00:00
Vladimir Prus
69f6a8af18 * build/feature.jam (validate-value-string): Don't crash when value string
has more than one element, e.g. icc-linux-8.0, where 'linux' and '8.0'
  are subfeatures.


[SVN r22807]
2004-05-13 10:29:44 +00:00
Vladimir Prus
f9b7313ca8 Allow directory names in arguments in 'glob'.
[SVN r22800]
2004-05-12 08:50:04 +00:00
Vladimir Prus
b4da2e146b 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
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
65d0021707 Don't import toolsets in project-root.jam
[SVN r22798]
2004-05-12 07:11:53 +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
a613dc03b0 Change a flag to be compatible with icc
[SVN r22796]
2004-05-12 06:14:24 +00:00
Vladimir Prus
622209e818 Change a flag to be compatible with icc
[SVN r22796]
2004-05-12 06:14:24 +00:00
Rene Rivera
67764117bf Fix missing STDLIBPATH search during link.
[SVN r22766]
2004-05-08 15:22:45 +00:00
Rene Rivera
535ecc7d2e Add some missing argument quotes for rmtemp and ranlib actions.
[SVN r22763]
2004-05-07 21:14:03 +00:00
Rene Rivera
f3cacdab66 Add support for GUI subsystem link as suggested by Daniel Schlyder.
Update license text.


[SVN r22756]
2004-05-07 00:37:21 +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
Douglas Gregor
d6d19a5d4b doxygen.jam: Actually use the "name" parameter given to the initialization routine.
[SVN r22755]
2004-05-07 00:33:30 +00:00
Rene Rivera
ab28bff20d Improvements from Markus Schoepflin.
[SVN r22725]
2004-05-03 16:02:23 +00:00
Toon Knapen
21bc8f2fc7 compiling in 64bit on sparc also the linker needs the -m64 flag
[SVN r22671]
2004-04-20 11:16:28 +00:00
Toon Knapen
3e643a368d added 64 bit address-model for sparc and powerpc
[SVN r22667]
2004-04-19 08:00:14 +00:00
Vladimir Prus
b16a538826 Bugfix. When calling feature.expand on
<toolset-msvc:version>7.1 <toolset>msvc

we used to get error if default value of <toolset-msvc:version> is 6.0.

* build/feature.jam
  (expand-subfeatures-aux): Do no apply subfeature defaults, since it causes
  the above troubles and is also performed in 'add-defaults'.


[SVN r22607]
2004-04-06 08:11:09 +00:00
Vladimir Prus
89ef8296da Bugfix. When calling feature.expand on
<toolset-msvc:version>7.1 <toolset>msvc

we used to get error if default value of <toolset-msvc:version> is 6.0.

* build/feature.jam
  (expand-subfeatures-aux): Do no apply subfeature defaults, since it causes
  the above troubles and is also performed in 'add-defaults'.


[SVN r22607]
2004-04-06 08:11:09 +00:00
Vladimir Prus
57a3d415ec Bugfix: don't think that <toolset-msvc:version>6.0 is a composite property,
during alternative selection.

Thanks to Zbynek Winkler for the bug report.


[SVN r22602]
2004-04-05 08:26:54 +00:00
Vladimir Prus
4073b99371 Bugfix: don't think that <toolset-msvc:version>6.0 is a composite property,
during alternative selection.

Thanks to Zbynek Winkler for the bug report.


[SVN r22602]
2004-04-05 08:26:54 +00:00
Rene Rivera
2fec39b591 Fix bad toolset name on some flags.
[SVN r22593]
2004-04-04 03:19:02 +00:00
Vladimir Prus
09c30c749e Add missing import
[SVN r22571]
2004-03-31 09:32:05 +00:00