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

1428 Commits

Author SHA1 Message Date
Vladimir Prus
2b1e669c44 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
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
a6872ff45b 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
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
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
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
2eec4041cb 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
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
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
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
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
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
2fd9259313 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
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
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
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
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
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
Dave Abrahams
030362de06 Added missing return value in order.c
[SVN r22565]
2004-03-30 19:53:34 +00:00
Vladimir Prus
2dd280cbb6 Improve the algorithm for computing build properties.
[SVN r22542]
2004-03-22 08:10:42 +00:00
Vladimir Prus
38079ac203 Fix a typo. Note that teh code is now not used, replaced with native rule,
so this should be considered a documentation tweak.


[SVN r22541]
2004-03-22 07:37:05 +00:00
Rene Rivera
14a41106c6 Test with buildbot done. CVS mail notify works now.
[SVN r22501]
2004-03-15 06:20:03 +00:00
Rene Rivera
0bf9dcdbac Test for buildbot CVS mail notification.
[SVN r22500]
2004-03-15 03:37:35 +00:00
Rene Rivera
5dbdcc74a5 Test for buildbot CVS mail notification.
[SVN r22499]
2004-03-15 02:55:18 +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
Rene Rivera
84a6dd5cd3 Default to mipspro compiler on Irix.
[SVN r22441]
2004-03-05 23:15:40 +00:00
Rene Rivera
fb5b1c7d67 Fix problem of setting JAMSHELL to % and executing quoted commands. That combination would cause spawn: invalid argument errors. Now quotes are removed from the command if they are present.
[SVN r22433]
2004-03-05 07:53:32 +00:00
Rene Rivera
b8d63e6457 Fix compilation with CodeWarrior. Even though it compiles the bootstrap jam0 compiling the full version now causes a compiler crash.
[SVN r22432]
2004-03-05 07:22:41 +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
Rene Rivera
11cffc67ec Add new file to dist.source file list.
[SVN r22292]
2004-02-16 14:34:05 +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
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
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
Christopher Currie
e75666d6a3 Removed redundant file, updated tools/build/v2/doc/Jamfile.v2 to stage
images and stylesheet from doc/html


[SVN r22202]
2004-02-09 03:41:57 +00:00
Christopher Currie
14c91dbfbd Removed redundant files
[SVN r22201]
2004-02-09 03:41:05 +00:00
Christopher Currie
5d33333afc Re-organized boostbook files:
* Moved XML sources to src
* Added reference.css from Reece Dunn to html dir
* Added images from boost/doc/html so that local builds look ok


[SVN r22175]
2004-02-05 19:51:14 +00:00
Vladimir Prus
12e8adb917 Bugfix. Don't condirer <toolset-msvc:version>xxx to be conditional property.
[SVN r22172]
2004-02-05 13:31:54 +00:00
Vladimir Prus
99ee5f89fd Fix typo.
[SVN r22169]
2004-02-05 12:43:45 +00:00