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]
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]
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]
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]
- 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]
- 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]