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

767 Commits

Author SHA1 Message Date
Vladimir Prus
8859a3a9b3 Use EHsc option instead of GX. Don't add Og and GX options on 8.0.
[SVN r23364]
2004-07-06 07:50:58 +00:00
Vladimir Prus
1911daa129 Fix msvc initialization. When version is specified, look in default paths
before looking in PATH.


[SVN r23363]
2004-07-06 07:36:26 +00:00
Douglas Gregor
288a60a94b boostbook/xsl/doxygen/doxygen2boostbook.xsl:
- XSL stylesheet parameter boost.doxygen.reftitle sets the title of the
    generated library-reference element.

build/v2/tools/doxygen.jam:
  - Free feature "reftitle" sets the title of the generated library-reference
    element.


[SVN r23332]
2004-07-04 00:15:08 +00:00
Vladimir Prus
1e560a18e0 Add <toolset>msvc as optional property for msvc.compile* generators,
otherwise, only RC->OBJ is tried when OBJ target is needed.


[SVN r23279]
2004-06-30 06:15:49 +00:00
Vladimir Prus
8c7ea9b330 Remove unused var
[SVN r23260]
2004-06-29 11:15:02 +00:00
Vladimir Prus
0cc7f5aafc Improve warning message.
[SVN r23259]
2004-06-29 11:09:40 +00:00
Vladimir Prus
62c8a3d5d4 Allow a simple [ lib a b c ] syntax for declaring searched libraries.
[SVN r23254]
2004-06-29 10:23:27 +00:00
Vladimir Prus
d18f9e9a15 Experimental fix to make ordering of searched libraries work.
The order is preserved by making properties of the form
<find-static-library>lib1&&lib2&&lib3 and then adding "lib1", "lib2",
"lib3" in the right order.


[SVN r23251]
2004-06-29 08:13:29 +00:00
Vladimir Prus
818df151c7 Revive getttext.jam.
[SVN r23250]
2004-06-29 08:11:10 +00:00
Vladimir Prus
b9d2d0c3d4 Fix up RC files support. Now both msvc and non-msvc toolset can be used
together.

* tools/rc.jam: Move a lot of staff from tools/msvc.jam
* tools/msvc.jam: Change RC->OBJ generator into RC->RES and add
  optional property for this generator, so that it's not used on
  other toolsets.
* build/generators.jam
  (generator.__init__, register-standard): Accept 'optional-properties'
  parameter.


[SVN r23247]
2004-06-29 06:47:00 +00:00
Vladimir Prus
5626978bc2 Allow each toolset to accept multielement command. Each element will be
individually quoted, and check-for-existance will be applied only to
the first element.


[SVN r23246]
2004-06-29 06:21:21 +00:00
Vladimir Prus
e4d86166f9 Beef up 'init'
[SVN r23167]
2004-06-23 09:12:43 +00:00
Vladimir Prus
1e6096c1a2 New msvc.init.
[SVN r23166]
2004-06-23 09:07:02 +00:00
Vladimir Prus
42c6918bcf Use common.get-invocation-command
[SVN r23165]
2004-06-23 08:18:05 +00:00
Vladimir Prus
1e3026178c * tools/borland.jam (init): Rewrite.
* tools/common.jam (get-absolute-tool-path): New rule.


[SVN r23164]
2004-06-23 08:10:25 +00:00
Vladimir Prus
60b2b9622e Make gcc init parameters consistent with other toolsets. Now one needs:
using gcc : 3.3 : g++-3.3 ;

not

  using gcc : 3.3 g++-3.3 ;

Also fix a typo.


[SVN r23140]
2004-06-21 11:01:45 +00:00
Vladimir Prus
1d9874190d Add more std comformance options for intel when not in vc-compatible mode.
The options were contributed by Jurgen.


[SVN r23139]
2004-06-21 10:56:32 +00:00
Vladimir Prus
278c67add8 Improve initialization of intel and sun compilers.
[SVN r23138]
2004-06-21 10:52:11 +00:00
Vladimir Prus
7456dda199 Make verson parameter to intel-linux.init optional. New rules common.find-tool
and common.check-tool to help autodetect toolsets.


[SVN r23136]
2004-06-21 09:48:39 +00:00
Vladimir Prus
32d38a05c0 Fix typo.
[SVN r23135]
2004-06-21 09:14:40 +00:00
Vladimir Prus
588775eb16 Fix the logic for adding /Zc:wchar_t option.
[SVN r23118]
2004-06-18 10:38:30 +00:00
Vladimir Prus
aea2f1aa58 Minor typo: really enable verbose output when command fails.
[SVN r23105]
2004-06-16 06:25:28 +00:00
Vladimir Prus
18af23fee7 Whoops... Use 'g++' by default, since with 'gcc' we'll get linker errors
[SVN r23086]
2004-06-11 11:36:41 +00:00
Vladimir Prus
1f8b5a6199 Apply cleaner rules for toolset initialization.
* tools/common.jam (check-init-parameters): New rule.
* tools/gcc.jam (init): Make use of the above.
* kernel/errors.jam (user-error): New rule.


[SVN r23084]
2004-06-11 10:54:04 +00:00
Vladimir Prus
6e8c4aa407 Correct the verbose-test logic.
[SVN r23083]
2004-06-11 09:25:19 +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
bf305983d2 Add missing import.
[SVN r23055]
2004-06-08 08:17:34 +00:00
Vladimir Prus
1ce06d9ca0 Improvements in RC files support.
- Specialized RC->RES generators were added for msvc. This allows
  to invoke setup script before calling rc.exe, which adds necessary
  include paths.
- Includes scanner for RC files added.

Thanks to Alexey Pakhunov for the patch.


[SVN r23036]
2004-06-07 07:24:24 +00:00
Vladimir Prus
1a2cf5ead1 Fix a couple of project.attribute calls. The method should not be called now,
and does not work, either. Thanks to Michael Stevens for the bug report.


[SVN r23023]
2004-06-04 12:57:48 +00:00
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
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
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
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
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
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
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
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
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
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