CompileFlags: Add: [ -std=c11, -Wall, -Wpedantic, -xc, -D_POSIX_C_SOURCE=199309L, "-fsanitize=address,undefined", ] Compiler: gcc --- If: PathMatch: .*\.h CompileFlags: Remove: -xc Add: [-std=c11, -Wall, -Wpedantic, -xc-header] Compiler: gcc --- If: PathMatch: bin/.*\.c CompileFlags: Add: -Isrc