mesonbuild / mesonbuild/meson

Should de-duplicate -isystem flags just like -I flags

Open
#2,155 11 comments 0 reactions 0 assignees View on GitHub
bug compilers
Dominant language
Python
Stars
6.6k
Forks
1.9k
Avg merge
2d 6h
Merged PRs (30d)
33

Description

The way I've setup my projects I get a lot of duplicate -I options passed to the compiler. This seems wrong, is it possible for the include_directories support to delete the duplicates?

Contributor guide

Open the contributing guide

Research direction

Begin by tracing how include_directories handling produces compiler flags and compare it with the existing -I de-duplication behavior. Verify that equivalent -isystem flags are also emitted only once, while preserving distinct include directories.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.