mesonbuild / mesonbuild/meson

Use external/system includes feature from Visual Studio 15.6

Open
#11,632 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

compilers OS:windows
Dominant language
Python
Stars
6.6k
Forks
1.9k
Avg merge
2d 6h
Merged PRs (30d)
33

Description

> In response of gcc/clang's command switch "-isystem" VS2017 v15.6 gained a new switch "/external:I" for supporting external/system include paths to prevent warning from third-party headers.
CMake should make use of it.
A closer description can be found here: https://blogs.msdn.microsoft.com/vcblog/2017/12/13/broken-warnings-theory/

Copied from https://gitlab.kitware.com/cmake/cmake/-/issues/17904

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the linked CMake issue and the Visual Studio 15.6 documentation for /external:I, then inspect Meson's Visual Studio backend and its handling of external include paths. Done means Meson has a defined way to emit the switch for supported external/system include paths and the behavior is covered by the relevant backend tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake
Domain
build-system
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.