Age | Commit message (Collapse) | Author | Files | Lines |
|
Such options are (normally) not overridden by buildfiles and are passed
last (after cc.coptions and {c,cxx}.coptions) in the resulting command
lines. They are also cross-hinted between config.c and config.cxx. For
example:
$ b config.cxx="g++ -m64"
|
|
|
|
In particular, this removes the requirement to build from the Visual Studio
command prompt. Note that since MSVC compiler binaries are target-specific
(i.e., there are no -m32/-m64 options nor something like /MACHINE), in this
case we default to a 64-bit build (a 32-bit build can still be achieved by
running from a suitable command prompt).
Finally, this mechanism is also used to find Clang bundled with MSVC.
|
|
Note that clang-cl's /showInclude output differs from cl's in the face of
missing headers. In particular, it does not issue C1083 that we expect.
As a result, this part of clang-cl's support is currently non-functional
(the rest seems to work, however).
|
|
|
|
|
|
|
|
|
|
This name aligns better with the post-Cologne importable/translatable
semantics.
|
|
|
|
|