# clangd's fallback command runs in the source file's own directory, so the # relative -I flags below resolve per file: # -I. -> include/, for files inside include/ # -I../include -> include/, for files inside src/ CompileFlags: Add: - -std=c99 - -I. - -I../include - -D_DEFAULT_SOURCE - -DRECORD_PV - -DCAND_A=1 - -DCAND_B=2 - -DCAND_A_WEIGHTS_5="cand_1_weights_5.c" - -DCAND_A_WEIGHTS_6="cand_1_weights_6.c" - -DCAND_B_WEIGHTS_5="cand_2_weights_5.c" - -DCAND_B_WEIGHTS_6="cand_2_weights_6.c" - -Wall - -Wextra - -Wpedantic