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

950 Commits

Author SHA1 Message Date
Vladimir Prus
ab41660e51 Improve initialization of intel and sun compilers.
[SVN r23138]
2004-06-21 10:52:11 +00:00
Vladimir Prus
df30228ba8 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
49e45ae346 Fix typo.
[SVN r23135]
2004-06-21 09:14:40 +00:00
Vladimir Prus
290db44e13 Fix the logic for adding /Zc:wchar_t option.
[SVN r23118]
2004-06-18 10:38:30 +00:00
Vladimir Prus
28e9aab35b Minor typo: really enable verbose output when command fails.
[SVN r23105]
2004-06-16 06:25:28 +00:00
Vladimir Prus
d2561ac0e1 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
5ea1bb900b 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
a8f659b68b Correct the verbose-test logic.
[SVN r23083]
2004-06-11 09:25:19 +00:00
Vladimir Prus
9e5dbba552 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
c90aab90fb Add missing import.
[SVN r23055]
2004-06-08 08:17:34 +00:00
Vladimir Prus
0a9ffafd85 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
882d62b6b9 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
4476bbe622 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
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
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
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
9dc0ae95fb 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
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
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
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
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
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
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
Vladimir Prus
2dd280cbb6 Improve the algorithm for computing build properties.
[SVN r22542]
2004-03-22 08:10:42 +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
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
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
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
Vladimir Prus
f4d6b67bbb Disable 'unused sources' warning for LIBS which are sources of EXE.
[SVN r22168]
2004-02-05 10:45:30 +00:00
Vladimir Prus
0da0a2e3a4 Disable order-sensitive properties for a while. They cause performance
degradation that should be investigated.


[SVN r22145]
2004-02-03 08:36:46 +00:00
Vladimir Prus
9e97b4a117 Fix a bug which preverten inheriting from gcc.
[SVN r22137]
2004-02-02 15:02:32 +00:00
Vladimir Prus
d02fe33b11 Make the 'search' feature order-sensitive.
[SVN r22134]
2004-02-02 13:18:51 +00:00
Vladimir Prus
93c3c932e2 Instroduce order-sensitive properties.
* build/feature.jam: New feature attribute 'order-sensitive'.

* jam_src/modules/property-set.c: (property_set_create): Don't sort
  order-sensitive attributes.


[SVN r22132]
2004-02-02 13:12:30 +00:00
Vladimir Prus
960156f204 Simplification. Now that non-searched libraries are directly
passes to action (not via property), there's no need to explicitly
set dependency on such targets.

* tools/builtin.jam
  (link-action): Remove
  (linking-generator.action-class): Don't override.
  (linking-generator.generated-targets): Don't pass searched-libraries
  as sources.


[SVN r22130]
2004-02-02 09:29:22 +00:00
Vladimir Prus
ff886e38a9 Move the 'location-prefix' feature declaration to builtin.jam.
[SVN r22129]
2004-02-02 07:33:02 +00:00
Vladimir Prus
9034f3ba61 First version of proper library ordering for gcc.
[SVN r22079]
2004-01-30 14:10:24 +00:00
Vladimir Prus
fdb27d6c1a Add paths to all dependent libs to uic command line.
[SVN r22071]
2004-01-30 12:14:57 +00:00
Vladimir Prus
b3fff372ce Make some of the features incidental, since they have no effect on
built targets.


[SVN r22068]
2004-01-30 08:08:24 +00:00
Douglas Gregor
f7f5b24781 Glob in multiple directories correctly
[SVN r22014]
2004-01-28 01:41:31 +00:00