2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-10 23:32:20 +00:00
Commit Graph

1566 Commits

Author SHA1 Message Date
Vladimir Prus
77f555bd2b Added the ability for a toolset to set a prefix for a target type, e.g., a
"lib" prefix for a LIB type.  This was implemented by generalizing
the existing capability to set a target file suffix.

  * build/type.jam
(set-generated-target-suffix):  Refactored to forward call to new
set-generated-target-ps rule.

(change-generated-target-suffix):  Refactored to forward call to new
change-generated-target-ps rule.

(generated-target-suffix-real):  Renamed to generated-target-ps-real
with argument indicating prefix or suffix.

(generated-target-suffix):  Refactored to forward call to new
generated-target-ps rule.

(generated-target-ps):  New helper rule - returns assigned prefix or suffix
acccording to prefix/suffix argument.

(set-generated-target-prefix):  New rule sets target type prefix.

(change-generated-target-prefix):  New rule changes target type prefix.

(generated-target-prefix):  New rule returns target type prefix.

(set-generated-target-ps):  New helper rule - sets prefix/suffix
	for a target type.

	(change-generated-target-ps):  New helper rule - changes
	prefix/suffix for a target type.

* build/virtual-target.jam
(add-prefix-and-suffix):  Invokes new type.generated-target-prefix
to get assigned prefix.  Still some unfinished business with unix
handling - suggest moving commented "hacky" stuff to unix toolset if that
makes sense.

* Formal test case not yet added.  Was tested with my custom hptns toolset.

Patch from Mark Evans.


[SVN r33065]
2006-02-21 13:31:53 +00:00
Vladimir Prus
f3c3972678 Allow <name> work for 'install', when there's a single source
[SVN r33064]
2006-02-21 13:08:53 +00:00
Vladimir Prus
5d1afe842f Fixes for 'install' rule.
- Copy the <linkflags> feature when relinking targets.
- Don't install typeless targets if explicit list of
  allowed types is specified.
- Fix the 'rename' rule to handle <runtime-debugging> feature.


[SVN r33057]
2006-02-21 09:08:29 +00:00
Vladimir Prus
8210463e19 Cleanup generator overrides
[SVN r33055]
2006-02-21 08:18:22 +00:00
Vladimir Prus
a4d23cf021 Remove unused rule 'has-attribute', that was using undefined 'get-feature',
and so could not work anyway.


[SVN r33054]
2006-02-21 07:42:18 +00:00
Vladimir Prus
bb07e82f78 Try to property set interpreter for NT.
[SVN r33051]
2006-02-21 07:27:39 +00:00
Vladimir Prus
735df8ea9d Don't inherit -Wall from gcc.
[SVN r33028]
2006-02-20 16:14:18 +00:00
Vladimir Prus
8d4206a7e9 qcc fixes from Jim Douglas.
[SVN r33027]
2006-02-20 16:11:53 +00:00
Vladimir Prus
f5cc8ea47c Fix setting of PYTHONPATH on Windows.
[SVN r33022]
2006-02-20 14:26:22 +00:00
Vladimir Prus
c222cb1ee0 Remove 'tru64' -- it's now renamed to "hp_cxx".
[SVN r32964]
2006-02-16 13:05:43 +00:00
Vladimir Prus
5e0fbc91cc First version of qcc toolset
[SVN r32963]
2006-02-16 12:45:46 +00:00
Vladimir Prus
efad50a3f8 Add /DLL right to the msvc.link.dll action, don't use any fancy flag
settings. This means that all targets linked with link.dll will always be
linked with /DLL flag, most notably PYTHON_EXTENSION.


[SVN r32959]
2006-02-16 10:29:32 +00:00
Vladimir Prus
7e2195544b Suppress some warnings
[SVN r32953]
2006-02-16 08:11:35 +00:00
Vladimir Prus
faef21bfba Resolve confict between builtin.lib-generator and $(toolset).prebuilt
in favour of the latter (toolset.prebuilt). This cuts down the number
of generator invocations for prebuilt target and is more clear.

Thanks to Mark Evans for pointing this out.


[SVN r32952]
2006-02-16 07:47:09 +00:00
Vladimir Prus
d2cf2ec008 New rule virtual-target.select-by-type.
[SVN r32950]
2006-02-16 07:18:31 +00:00
Vladimir Prus
555ec0f19a Fix references to old toolset name
[SVN r32922]
2006-02-14 10:52:18 +00:00
Vladimir Prus
63567e8537 Rename 'tru64' to 'hp_cxx', as discussed on the mailing list.
[SVN r32921]
2006-02-14 10:47:17 +00:00
Vladimir Prus
3894c4462d Improve error reporting
[SVN r32915]
2006-02-14 08:48:31 +00:00
Vladimir Prus
b63009d2f0 Make the 'warnings' and 'warnings-as-errors' features propagated.
[SVN r32895]
2006-02-13 15:57:10 +00:00
Markus Schöpflin
b0dc8525c1 Mark all unresolved symbols as expected when creating dynamic libraries.
[SVN r32892]
2006-02-13 13:19:37 +00:00
Markus Schöpflin
8c6212e1cf The compiler is forced to compile the files as C++ (-x cxx) because
otherwise it will silently ignore files with no file extension.


[SVN r32890]
2006-02-13 12:05:30 +00:00
Vladimir Prus
dfc079fed0 More fixes:
- Resolve ambiguity between builtin.prebuilt and tru64.prebuilt.
- Remove archive files before creating. This is like is done for gcc,
  and removes "creating foobar.a" warnings as well.


[SVN r32886]
2006-02-13 10:51:49 +00:00
Vladimir Prus
f1d1f6d3a4 Fix a problem where <implicit-dependency> had no effect unless
the target named by the property was also build (by virtue of being in
the same Jamfile and not marked as "explicit").


[SVN r32885]
2006-02-13 10:34:45 +00:00
Vladimir Prus
feb1af635f Corrects a problem in the handling of <conditional>@rule in
the lib rule, e.g.:

lib foo : : <conditional>@sources ;

Prior to the patch, this was treating the library as a prebuilt
library because of the absence of any source arguments.  Thus
nothing would get built.

 * tools/builtin.jam
   (lib-generator.run): Added additional constraint when setting
   library type to SEARCHED_LIB.

Patch from Mark Evans.


[SVN r32880]
2006-02-13 07:39:17 +00:00
Rene Rivera
68ad9e5ffe More adjustments to get the RPM built.
[SVN r32867]
2006-02-12 20:59:42 +00:00
Rene Rivera
f06d91c868 Fix path to docbook dtd on Ubuntu Linux.
[SVN r32866]
2006-02-12 20:19:15 +00:00
Rene Rivera
901aef74fb Readjust to package new docs.
[SVN r32864]
2006-02-12 20:15:56 +00:00
Rene Rivera
0c77723f50 Minor mod to find the docbook installation in Ubuntu Linux.
[SVN r32863]
2006-02-12 19:51:51 +00:00
Rene Rivera
049d9fd079 Build of distribution archives. Remove now outdated Jam docs.
[SVN r32860]
2006-02-12 17:24:46 +00:00
Vladimir Prus
789f75afd4 New "c++abi" feature. Implement "cxxarm" value of that feature to Tru64,
and add proper -model compiler flags.


[SVN r32808]
2006-02-10 15:00:52 +00:00
Vladimir Prus
70155d8def Exit if one of processed options wants to exit.
[SVN r32769]
2006-02-09 13:53:20 +00:00
Vladimir Prus
54c3b961a8 Forgotten change.
[SVN r32768]
2006-02-09 13:39:38 +00:00
Vladimir Prus
fdf2aadc2f Print the value of "project-help" variant in ./Jamfile on --help option.
[SVN r32767]
2006-02-09 13:38:13 +00:00
Vladimir Prus
c2e2a38148 Remove obsolete FIXMEs
[SVN r32763]
2006-02-09 10:29:16 +00:00
Vladimir Prus
afb6f01081 More Tru64 fixes:
- add '-shared' for DLL compiles
- compile C files with the C compiler.


[SVN r32762]
2006-02-09 10:27:51 +00:00
Vladimir Prus
bbc7f3f253 For
bjam --clean some_main_target

don't clean files belonging to other main targets, even if those other main
targets are dependencies of 'some_main_target'.


[SVN r32760]
2006-02-09 09:42:52 +00:00
Vladimir Prus
3bec6c2038 Change the --clean option to only clean targets under references projects.
Add the --clean-all option to clean everything.


[SVN r32739]
2006-02-08 15:24:31 +00:00
Vladimir Prus
d84dcff5a0 Fix a couple of bugs
[SVN r32734]
2006-02-08 13:20:00 +00:00
Vladimir Prus
b9bc4e5124 Port Digital Marc toolset from V1
[SVN r32732]
2006-02-08 12:40:46 +00:00
Vladimir Prus
69139e07a2 Port Tru64 toolset from V1
[SVN r32729]
2006-02-08 11:14:14 +00:00
Vladimir Prus
64c848c9fe Ouch, my last 'make' changes broke setting flags on module.
[SVN r32725]
2006-02-08 09:43:59 +00:00
Vladimir Prus
aea0397977 Unbreak 'make_test.py'. Adjust it to not use extra argument to the rule passed
to 'make', sine it's no longer supported.

Allow to call 'flags' on local rule. Use flag settings on local rule to
implement the effect previously achieved with extra arguments.


[SVN r32723]
2006-02-08 09:29:35 +00:00
Vladimir Prus
79d7a448aa Allow typed main targets to have arbitrary suffix in the name, that does not
affect the names of the generated targets and only usefull for preventing
V2 from treating two independent targets as target alternatives.


[SVN r32720]
2006-02-08 08:06:31 +00:00
Vladimir Prus
3d42d08c00 Implement <build>no.
[SVN r32708]
2006-02-07 13:46:02 +00:00
Vladimir Prus
1b082f109f Unbreak prebuilt targets with intel-linux.
[SVN r32707]
2006-02-07 13:28:30 +00:00
Vladimir Prus
ec4969db72 Implement 'indirect conditional requirements', which are simular to V1's
convention that rules used in requiremenst are called to provide extra features.


[SVN r32694]
2006-02-07 10:26:17 +00:00
Vladimir Prus
c132dec91c Optimization.
* build/feature.jam (attributes): Don't call 'valid', as it leads to big slowdown.


[SVN r32692]
2006-02-07 08:40:10 +00:00
Vladimir Prus
28b4646662 Make the 'explicit' rule always operate on the current project.
[SVN r32654]
2006-02-06 15:26:56 +00:00
Vladimir Prus
3da6fa6849 "Unmess" Qt3Support.
Patch from Juergen Hunold.


[SVN r32605]
2006-02-06 12:50:22 +00:00
Jim Douglas
2c51cd7cd8 Corrections for QNX/QCC commands
[SVN r32535]
2006-02-03 23:35:46 +00:00