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

2114 Commits

Author SHA1 Message Date
Vladimir Prus
703047bca1 (register-actual-name) Always generate verbose error message. Also, fix
a typo which caused the same location to be reported for both targets.


[SVN r23168]
2004-06-23 10:56:34 +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
be08500538 Improve diagnostics. Previously, targets reference A/B/C//D where the A/B/C
part was incorrect, generated an internal error and backtrace. Now it's
property reported as invalid target id.


[SVN r23134]
2004-06-21 09:13:21 +00:00
Rene Rivera
ba6858dbd1 Add --c option to force como compiler into C mode compilations.
[SVN r23130]
2004-06-21 00:12:38 +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
cb42446b57 Improve the 'duplicate name' error.
* kernel/errors.jam (nearest-user-location): New method.
* build/target.jam (abstract-target.__init__): Set self.location.
  (location): New method.
* build/virtual-target.jam (register-actual-name): Output more information.


[SVN r23117]
2004-06-18 08:27:00 +00:00
Vladimir Prus
83934fa206 Make .current-project a stack and pop an element in project.load, after
reading Jamfile. This allows to explicitly call project.load inside Jamfile,
without changing value of [ project.current ].


[SVN r23116]
2004-06-18 07:47:11 +00:00
Vladimir Prus
f26a8a160a Add missing "import".
[SVN r23115]
2004-06-18 07:45:29 +00:00
Vladimir Prus
c954974634 * build/generators.jam (construct): In addition of not passing intermediate
targets to generators, also return them in together which produced targets.
  This means that intermediate target will be passed though all target and
  eventually end up as dependency of 'all', thereby avoiding the warning
  about independent targets.

  Besides, the reason why intermediate target were invented still applies:
  we want main targets like 'stage' to see all produced targets.

  Thanks to Mark Elston for poiting out on the warning.


[SVN r23106]
2004-06-16 06:32:29 +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
3b66c7469a * build/targets.jam (basic-target.generate): Remove duplicates in the list
of sources. Thanks to Jurgen Hunold for the bug report.


[SVN r23058]
2004-06-08 13:56:02 +00:00
Vladimir Prus
bf305983d2 Add missing import.
[SVN r23055]
2004-06-08 08:17:34 +00:00
Vladimir Prus
280228bce3 * build/project.jam (initialize): Don't call path.make when location is
empty (which happens for standalone projects such as stlport). Thanks to
Jurgen Hunold for the bug report.


[SVN r23051]
2004-06-08 05:57:29 +00:00
Vladimir Prus
014e9d8e98 Some doc updates.
[SVN r23038]
2004-06-07 07:34:00 +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
8375c3d5dc Refactorings.
* build/project-roots.jam (load): Return object, not project root module
* build/project.jam (initialize): Renamed 'project-root-modue' attribute to
 'project-root'.


[SVN r23017]
2004-06-03 08:32:34 +00:00
Vladimir Prus
877eb5801a Add missing 'path.make' for source-location attribute. Thanks to
Victor A. Wagner for discovering the problem.


[SVN r23016]
2004-06-03 07:46:48 +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
Vladimir Prus
c463f8e3c7 Update tests to recent unit-test changes
[SVN r23000]
2004-06-02 14:19:16 +00:00
Rene Rivera
5a441aa093 Bump version to 3.1.10 for release.
Update copyrights to new Boost License.


[SVN r22987]
2004-06-01 05:42:36 +00:00
Rene Rivera
17fd1a2bba Fix infinite loop when PYTHON_ROOT is specified and it's not a framework, MacOSX.
[SVN r22985]
2004-05-31 19:01:17 +00:00
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
Rene Rivera
49e7665ed7 Improvements from Jerry Dy.
[SVN r22971]
2004-05-29 23:09:37 +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