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

1165 Commits

Author SHA1 Message Date
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
b121d2b5ce Add quotes for tool executable invocations to account for paths with spaces.
[SVN r22976]
2004-05-30 18:32:08 +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
245577ae5c Added the Intel toolset support.
[SVN r22966]
2004-05-28 12:04:36 +00:00
Vladimir Prus
affc063d5b Gcc version os no longer link-incompatible.
[SVN r22965]
2004-05-28 12:02:10 +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
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
765486f506 Support inline targets in sources of 'stage'.
[SVN r22962]
2004-05-28 08:46:00 +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
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
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
05eb6c1abc Minor fixes.
[SVN r22930]
2004-05-26 10:52:11 +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
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
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
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
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
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
c928643a1f Attempt to properly detect free VC 7.1 tools.
[SVN r22808]
2004-05-13 10:51: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
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
622209e818 Change a flag to be compatible with icc
[SVN r22796]
2004-05-12 06:14:24 +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
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
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
Vladimir Prus
4bdafa91fc Add missing import
[SVN r22571]
2004-03-31 09:32:05 +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
e75732021c 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
Christopher Currie
5d24dfb9cc Fixed value of LIBRARY flag. Added support for Sun's bundled STLport.
[SVN r22477]
2004-03-10 16:03:55 +00:00
Vladimir Prus
9acd3462d1 Fix "import" statements.
[SVN r22470]
2004-03-10 07:43:53 +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
06b75dbbe3 Property register sun toolset.
[SVN r22300]
2004-02-17 12:03:53 +00:00
Vladimir Prus
0ff664ff63 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
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
0fab21d0e1 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
c00e17dc57 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
d664887996 Removed redundant files
[SVN r22201]
2004-02-09 03:41:05 +00:00
Christopher Currie
bd5f729b9a 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
c868bc9ca0 Bugfix. Don't condirer <toolset-msvc:version>xxx to be conditional property.
[SVN r22172]
2004-02-05 13:31:54 +00:00
Vladimir Prus
afe6803218 Fix typo.
[SVN r22169]
2004-02-05 12:43:45 +00:00
Vladimir Prus
77087f30f0 Disable 'unused sources' warning for LIBS which are sources of EXE.
[SVN r22168]
2004-02-05 10:45:30 +00:00
Vladimir Prus
235f5e3d05 Add a FAQ entry about duplicate target names.
[SVN r22167]
2004-02-05 08:30:23 +00:00
Christopher Currie
668d124e1d Ran through xmllint to validate against the DTD.
[SVN r22166]
2004-02-05 07:19:44 +00:00
Christopher Currie
1f41cd7eeb Converting Boost.Build v2 User Manual to BoostBook
* userman.xml - initial BoostBook version
* Jamfile.v2  - build rules for user manual


[SVN r22165]
2004-02-05 04:09:47 +00:00