Skip to content

Add tool for clang-cl #3482

Open
Open
@mwichmann

Description

@mwichmann

_this issue is split off from #3480 _

The LLVM project now supports an alternative clang executable called clang-cl. It does all the same stuff, but accepts command-line arguments in the Windows (cl.exe) style, rather than in the gcc style. It is intended to be a drop-in replacement for using the MSVC compiler, and doing so is a moderately supported option:

So possibly this is actually a feature request for a different clang tool, a Windows-native one; or that the existing clang tool learn about this alternative mode. Note Microsoft now considers this a valid configuration, not just something people bolt on, see for example this blog post.

SCons does not look for clang-cl when initializing the clang tool, nor will it know what to do with it if given as a tool name. Per discussion in #3480, this should be supported in a separate tool, thus this feature request.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions