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

89 Commits

Author SHA1 Message Date
Vladimir Prus
698d25a474 Properly generated flag for intel/<compatibility>vc.
* intel-win.jam (init): Strip 'vc' from the
	version passed to msvc.configure-verion-specific.
	* msvc.jam (configure-version-specific): Accept '6' and '7',
	not just 6.N and 7.N.


[SVN r35071]
2006-09-12 09:28:11 +00:00
Vladimir Prus
efdbfe6adf * build/toolset.jam
(push-checking-for-flags-module): New.
	(pop-checking-for-flags-module): New.
	(flags): Don't error out if 'unchecked' was last
	pushed.
	(inherit-flags): Improve comments.

	* tools/intel-win.jam
	(init): Add /lib for intel-win.archive command.
	Call msvc.configure-version-specific at the end.

	* tools/msvc.jam
	(configure-version-specific): New parameter 'toolset'.
	(configure-really): Adjust for above.


[SVN r35032]
2006-09-07 07:50:38 +00:00
Andrey Melnikov
f651aa659e -Yl patch by Bojan Resnik for precompiled headers with debug info
[SVN r34502]
2006-07-10 17:54:35 +00:00
Andrey Melnikov
9734c8de4a Fix: Support for precompiled headers in msvc.jam was broken by the previous patch
[SVN r34500]
2006-07-10 15:37:26 +00:00
Andrey Melnikov
6774a1604e - New "cc-compile" rule in msvc.jam to reduce code duplication in actions
- Minor whitespace fixes in msvc.jam:
  - tabs > spaces
  - trailing whitespace has been removed


[SVN r34427]
2006-06-29 21:50:00 +00:00
Reece H. Dunn
3a8bbe7d0b VC8 only has the multi-threaded version of the static run-time libraries, so use that version for single-threaded builds on VC8 and use the single-threaded libraries on the other versions.
Reported by Sohail Somani.


[SVN r34391]
2006-06-25 10:06:30 +00:00
Andrey Melnikov
769ecd0b52 Common command lines refactored out in msvc.jam.
Hardcoded repeatedly used switches like  /Zm800 -nologo and /NOLOGO
/INCREMENTAL:NO have been moved to one place.


[SVN r34376]
2006-06-22 14:52:49 +00:00
Reece H. Dunn
a3050629b1 Fix unsupported command-line warnings when using Intel C++. It is inheriting these frags from msvc.jam.
[SVN r34310]
2006-06-15 11:13:06 +00:00
Vladimir Prus
4f17b37d63 Fix <cflags>/<cxxflags> options for using:
- Specifying them used to wipe away pre-detected msvc paths.
   - The OPTIONS variable set by common.handle-options was not
     used anywhere.

Fix default path detection:
   - Wrong variable name was used.

Patch from Ilya Sokolov.


[SVN r33982]
2006-05-17 12:57:53 +00:00
Vladimir Prus
b3bcc4a935 Support <archiveflags>
[SVN r33822]
2006-04-26 07:34:41 +00:00
Vladimir Prus
d16721d0ba Clarify comment
[SVN r33659]
2006-04-11 08:17:22 +00:00
Vladimir Prus
0388b73ee7 Disable 'deprecation' warnings when warnings=off. Otherwise, user building
with warnings=off will still get some warnings.


[SVN r33658]
2006-04-11 08:16:35 +00:00
Rene Rivera
81d10205de Add support for toolset specific resource compiler tool. Make gcc toolset configure a resource compiler if available, and optionally can be user configured. This allows the use of RC files with MinGW and CYGWIN. MSVC minor adjustment to changed name of RC rule.
[SVN r33539]
2006-04-05 05:36:52 +00:00
Vladimir Prus
c839b87ec6 Set /Op flag only for the currenly initialized version, not for all.
[SVN r33254]
2006-03-07 12:59:37 +00:00
Vladimir Prus
9454a5943d Don't pass -Op for 8.0, as that option is not available any more.
[SVN r33229]
2006-03-06 09:10:28 +00:00
Vladimir Prus
6375efa5a6 Add -Op option for msvc compiler.
The option is "Improve float consistency" and without it, we get failure
of C++ Boost's numeric/convertion/udt_example_0 test.


[SVN r33183]
2006-03-01 09:16:40 +00:00
Vladimir Prus
293e8e8978 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
6585ab5128 MSVC 8.0 does not produce manifest file when statically linking to runtime.
Make sure we only try to embed manifest in executable if it was created.

Patch from Alexey Pakhunov.


[SVN r32306]
2006-01-13 07:05:22 +00:00
Vladimir Prus
7d949a215a - Add comment explaining the reason for "touch" commands.
- Move "file-touch-command" to "common.jam". It already has
 "file-creation-command" so this one will be a good
  companion.

Patch from Alexey Pakhunov.


[SVN r32061]
2005-12-15 18:04:05 +00:00
Vladimir Prus
aa2666c9c0 Don't error out of setup script is not found. It might not be
needed in some configurations.

Patch from Alexey Pakhunov.


[SVN r31945]
2005-12-07 08:30:12 +00:00
Vladimir Prus
7247b1f143 Add support for precompiled headers on MSVC.
Patch mostly from Reece H. Dunn
Hacks in target.jam by myself.


[SVN r31928]
2005-12-06 08:28:02 +00:00
Vladimir Prus
e8b3e6c725 Simplify handling of <library-file> feature.
* common.jam (resolve-library-files): Remove
* msvc.jam, cw.jam: Add 'flags' invocation for library-file feature.


[SVN r31918]
2005-12-05 15:18:16 +00:00
Vladimir Prus
13d6eaa4dd Support for Microsoft message compiler.
Patch from Alexey Pakhunov.


[SVN r31917]
2005-12-05 15:07:53 +00:00
Vladimir Prus
3c86de280a Add autodetection of VC8 Express.
Patch from Alexey Pakhunov.


[SVN r31751]
2005-11-23 08:25:31 +00:00
Vladimir Prus
d497c9e77e Add support for Microsoft IDL compiler.
Patch from Alexey Pakhunov.


[SVN r31750]
2005-11-23 07:58:07 +00:00
Vladimir Prus
66e67b495c Resource ID of a manifest should be 1 for an executable and 2 for dll.
Patch from Alexey Pakhunov.


[SVN r31647]
2005-11-14 15:15:06 +00:00
Rene Rivera
340337a2ec Fixes for QT4, DEF files, etc. from Reece Dunn.
[SVN r31607]
2005-11-09 13:56:41 +00:00
Rene Rivera
15c10c2e16 Apply patch from Reece Dun to remove the generation of response files as targets. But instead use the @() bjam functionality.
[SVN r31562]
2005-11-05 07:46:38 +00:00
Vladimir Prus
ccb5d9d0d1 Add architecture-specific optimization flags.
Patch from Alexey Pakhunov.


[SVN r31478]
2005-10-26 06:40:14 +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
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
Andrey Melnikov
331d2871c5 - "toolset.flags"->"flags" replacement
[SVN r30783]
2005-09-02 07:35:54 +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
Vladimir Prus
3d8ab20f6d Use os.environ, and remove the "reconstruct spaces" hack.
[SVN r30106]
2005-07-15 13:35:58 +00:00
Dave Abrahams
f843c47eb7 Suppress dumb warnings
[SVN r29780]
2005-06-24 15:38:56 +00:00
Vladimir Prus
4b321e17fe Use common.rm-command instead of hardcoded 'del' for removing response files.
[SVN r29607]
2005-06-16 08:37:53 +00:00
Vladimir Prus
4d6bfe4eef Rename link-runtime to runtime-link to stay compatible with V1.
[SVN r29586]
2005-06-15 12:24:06 +00:00
Dave Abrahams
f6497c0741 make the use of msvc-specific features in Jamfiles portable
[SVN r29531]
2005-06-11 19:34:13 +00:00
Dave Abrahams
775970dfdb Fix EH feature.
[SVN r29489]
2005-06-09 02:48:32 +00:00
Vladimir Prus
f007a99d93 Remove response files in msvc.compile.c++ action.
Relax check for msvc 6.0, so that simple "6" is matched.

Patches from Olaf Janssen.


[SVN r29477]
2005-06-08 14:38:43 +00:00
Dave Abrahams
ef376fe3a4 Make response files work
[SVN r29401]
2005-06-03 12:00:35 +00:00
Vladimir Prus
05d64fbddb Unroll incomplete changes to response files support.
I think that Dave committed then unintentionally in revision 1.36 and they
cause C++ files to be always recompiled. A better version is in the works
but cannot be committed yet, so I'll just restore the previous one for now.


[SVN r29198]
2005-05-26 05:54:16 +00:00