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

565 Commits

Author SHA1 Message Date
Vladimir Prus
99c74c89f4 For borland.link.dll, join implib action with main compile action with
&&. Otherwise, Boost.Build won't notice failures in linking. Looks like
implib always returns 0 as status, or something like that.


[SVN r31299]
2005-10-12 09:52:59 +00:00
Dave Abrahams
1eb4b28be1 Turn off inlining unconditionally to avoid codegen bugs
[SVN r31281]
2005-10-11 13:32:32 +00:00
Rene Rivera
d89ed6bbb9 boostbook.jam; Remove some path.make calls as they are superfluous in the path.glob case.
path.jam; Kludge path.join into working as it did before when confronted with an initial empty string on the path.


[SVN r31212]
2005-10-06 19:47:58 +00:00
Vladimir Prus
59195f2fe0 Track dependencies from .rc files to generated headers.
An example of generated file is .tlb generated by midl.exe.

Patch from Alexey Pakhunov.


[SVN r31194]
2005-10-04 14:32:05 +00:00
Vladimir Prus
8600b04d7f Implement cross-compiling for amd64 and ia64 with MSVC 8.0.
Patch from Alexey Pakhunov.


[SVN r31193]
2005-10-04 14:22:41 +00:00
Vladimir Prus
a07411582f Added version aliases: 6 -> 6.0, 7 -> 7.0 and 8 -> 8.0. The line:
using msvc : 6 ;

will configure detected version 6.0 but the condition will remain
'<toolset>msvc-6'.

Additionally the comment for the 'msvc.init' rule is updated.

Patch from Alexey Pakhunov.


[SVN r31192]
2005-10-04 14:05:22 +00:00
Vladimir Prus
e79c6de824 Fix error on /Wp64 command line option and warning on /wd4675
option when using msvc-6.0.

Patch from Reece Dunn.


[SVN r31191]
2005-10-04 14:00:34 +00:00
Vladimir Prus
669c8a0dbf Change license to BSL. Added my copyright.
[SVN r31121]
2005-09-26 06:02:41 +00:00
Vladimir Prus
d53c1620ac Implement autodetection code for the 'msvc' toolset. It is
able to detect Visual Studio 6.0, 7.0, 7.1, 8.0 and Visual C++ Toolkit
2003. Detected settings are used in the cases when:
   - only version number is passed (using msvc : 8.0 ;)
   - incomplete configuration command is given (using msvc : 8.0 : cl.exe ;)
   - any available compiler is configured (using : default ;)
   - all available compilers are configured (using : all ;)

A user is free to overwrite any of detected settings.

Patch from Alexey Pakhunov.


[SVN r31120]
2005-09-26 05:58:37 +00:00
Vladimir Prus
864060609a Introduce the 'msvc.configure' rule that will be used as part
of the 'toolset.configure' framework. The new rule supports two special
version values:

- 'all': configures all detected versions of Visual C++ with default
settings;
- 'default': configure the default detected version of  Visual C++. It
prefers newer versions to older ones.

'msvc.init' is still completely valid and should be used until
'toolset.configure' will be introduced. 'msvc.init' provides the same
functionality as 'msvc.configure' does.

Patch from Alexey Pakhunov.


[SVN r31093]
2005-09-23 14:17:59 +00:00
Vladimir Prus
3a2c66c9ce Add ASM -> OBJ generator registration that was omitted from the previous
patch by mistake.


[SVN r31085]
2005-09-23 05:36:55 +00:00
Vladimir Prus
9c721c5b3e New 'configuration' class, for storing all auto-detected configuration of
tools.

Patch from Alexey Pakhunov.


[SVN r31078]
2005-09-22 13:57:23 +00:00
Vladimir Prus
17a84a5968 Add assembler support for msvc toolset.
Patch from Reece Dunn.


[SVN r31077]
2005-09-22 13:51:58 +00:00
Vladimir Prus
b49d4311d0 New features <warning> and <warnings-as-errors>.
Patch from Reece Dunn.


[SVN r31068]
2005-09-21 13:44:06 +00:00
Vladimir Prus
fa55fb35dc Robostify
[SVN r31067]
2005-09-21 13:41:48 +00:00
Vladimir Prus
c93b57cef2 Minor comment tweak
[SVN r31066]
2005-09-21 13:41:08 +00:00
Vladimir Prus
665d0b55dd On, windows, don't delete a static library if it does not exists.
The "del" command does not have a switch to prevent warning if file
does not exists, so need extra shell magic.


[SVN r31034]
2005-09-19 08:14:37 +00:00
Vladimir Prus
ec673c840f Add the "ui_" prefix to the header the uic generates, to match
qmake's behaviour.

Thanks to Ryan Winter for the hint.


[SVN r31033]
2005-09-19 07:48:36 +00:00
João Abecasis
ec70d686d5 typo
[SVN r31025]
2005-09-18 17:32:01 +00:00
Vladimir Prus
31810aa869 New rule common.copy-command
[SVN r30975]
2005-09-14 10:01:23 +00:00
Vladimir Prus
1c4204443e Allow unqualified rule names for calls to the 'make' main target rule.
[SVN r30974]
2005-09-14 09:54:14 +00:00
Vladimir Prus
cdcd9ab618 Defined the MOCCABLE_CPP type.
[SVN r30969]
2005-09-14 06:26:45 +00:00
Vladimir Prus
2a159020c6 Make it possible to run moc on CPP sources.
[SVN r30942]
2005-09-13 10:16:37 +00:00
Vladimir Prus
3bc9aeaf63 New 'cast' main target rule.
[SVN r30940]
2005-09-13 09:19:54 +00:00
Vladimir Prus
6c016ac1a1 Don't ever try to relink non-derived files.
[SVN r30872]
2005-09-08 09:21:58 +00:00
Joel de Guzman
c253720a9f tweak to new quickbook program options
[SVN r30792]
2005-09-03 14:32:11 +00:00
Andrey Melnikov
331d2871c5 - "toolset.flags"->"flags" replacement
[SVN r30783]
2005-09-02 07:35:54 +00:00
Vladimir Prus
4086ae176c Factor out Qt types declaration into separate file. Now Qt3 and Qt4 can
be both initialized.


[SVN r30772]
2005-09-01 10:36:16 +00:00
Vladimir Prus
087232f4e7 Pass the <include> and <define> feature to the Qt4's moc tool.
Patch from Jurgen Hunold.


[SVN r30771]
2005-09-01 10:26:14 +00:00
Vladimir Prus
4320c23297 For Qt4, don't run moc on headers produces by uic, since they
never contains moccable classes.

The trick here is that if we have:

  exe a : a.cpp b.ui ;

Then we should produce b.h target that is not used by any action -- it's
only indirectly used by include in a.cpp.

So, we declared .ui -> .obj generator, so that it's invoked when
building exe, but make it return header, not .obj.

Second, the path of b.h should be added to include paths. But it was
not done, because b.h is not used anywhere and so is not included in
'subvariant' for this target -- which object is used to compute extra
incude path.

* build/virtual-target.jam
  (register): Add result to .recent-targets
  (recent-targets, clear-recent-targets): New functions.

* build/targets.jam
  (basic-target.generate): Create subvariant from
  'virtual-target.recent-targets' not just directly returned targets.

* tools/qt4.jam: Declare custom generator for ui->h conversion.


[SVN r30770]
2005-09-01 10:22:52 +00:00
Vladimir Prus
f392a1271e Remove the 'u' modifier from 'ar' invocation, which is not needed
now that we remove archive before invoking 'ar'.


[SVN r30768]
2005-09-01 08:04:48 +00:00
Rene Rivera
26b3f2fc3a Add features for specifying CPU code generation: address-model, architecture, and instruction-set. Transplanted from BBv1.
[SVN r30744]
2005-08-31 03:49:33 +00:00
Vladimir Prus
dd7dffecec Remove debug print
[SVN r30591]
2005-08-16 10:59:50 +00:00
Vladimir Prus
db0d944e94 Fix a link failure on Unix for a main -> libb -> liba scenario,
where libb is a target in Boost.Build and liba is a file referred to by name.


[SVN r30590]
2005-08-16 10:58:22 +00:00
Vladimir Prus
3e3abd4509 Allow Whale generator to be called with several sources, and immediate
return no targets in that case.


[SVN r30542]
2005-08-12 13:16:37 +00:00
Vladimir Prus
d22834b979 Add ASM to the list of assembler suffixes. Just because I need that
extension somewhere else.


[SVN r30541]
2005-08-12 13:14:46 +00:00
Vladimir Prus
eeb5324f5e On install, relink shared libraries if the dll-path property has changed.
[SVN r30538]
2005-08-12 12:53:58 +00:00
Vladimir Prus
3ba458a38d Qt4 improvements:
- Add -name option to rcc invocation. This is needed to disambiguate
  the name of the generated initialising function. Since qmake takes
  the basename of  the  .qrc file I've copied this behaviour to have
  consistent naming.

- Add -I option to moc invocation. I've added the include and
  include/QtCore directories in order to be able to compile Qt4 with V2.

Patch from Juergen Hunold.


[SVN r30536]
2005-08-12 10:26:36 +00:00
Rene Rivera
e4215dc3da Fix missing name of tool when setting up with a user specified binary of quickbook.
[SVN r30422]
2005-08-03 19:45:41 +00:00
Vladimir Prus
905d44b656 Support assembler sources with gcc.
Patch from Craig Rodrigues.


[SVN r30406]
2005-08-03 13:33:45 +00:00
Vladimir Prus
82ca771e11 Add missing call to 'virtual-target.register' when symlinking targets.
Otherwise, if we build 'install' target twice, we'll get two different
symlink targets.


[SVN r30400]
2005-08-03 11:43:04 +00:00
Vladimir Prus
7320372b2c Improved msvc support.
- minor spellings errors in comments ("iff" and "vccars" instead of "if"
and "vcvars")
- correct escaping of metacharacters in regular expressions
- Fixed a condition so /Zc:forScope /Zc:wchar_t are added in MSVC 8.x too
- Side-by-side manifests are now used for exe targets too, not only for
DLLs.
- Reworked /Ogity|/Ogisy options selection code (a minor refactoring)
- Search paths without /bin are now only added if vc 7.1 is going to be
detected.
- Added autodetection for VC8.0 using VS80COMNTOOLS variable
- Use os.environ instead of modules.peek + :J hack.

Patch from Andrey Melnikov.


[SVN r30370]
2005-08-02 05:38:42 +00:00
Eric Niebler
32d66dfce3 merge from QUICKBOOK_INCLUDE branch
[SVN r30369]
2005-08-02 03:39:30 +00:00
Vladimir Prus
b0627925df Qt4 support, from Alo Sarv.
[SVN r30360]
2005-08-01 14:08:27 +00:00
Vladimir Prus
d4c14cbd30 Allow to reinitialize Whale support several time, provided the path
is always the same.


[SVN r30356]
2005-08-01 11:40:29 +00:00
Vladimir Prus
977d086664 Unbreak " lib a ; " syntax.
Thanks to Craig Rodrigues for the bug report.


[SVN r30309]
2005-07-29 12:00:40 +00:00
Vladimir Prus
829518cd8a Fix missing import.
[SVN r30193]
2005-07-21 13:35:43 +00:00
Vladimir Prus
3d8ab20f6d Use os.environ, and remove the "reconstruct spaces" hack.
[SVN r30106]
2005-07-15 13:35:58 +00:00
Vladimir Prus
e7a2eff161 Improved MacOS X support for -fcoalesce-templates. Check for result
of gcc --dumpversion when deciding if we're using 4.0 or not.

Patch from Craig Rodrigues.


[SVN r30105]
2005-07-15 13:31:13 +00:00
Toon Knapen
394b351f46 added creation of shared libraries
[SVN r29895]
2005-07-05 08:47:55 +00:00