Skip to main content

Meson Project

For IDEs using clangd language server:

Meson file (meson.build):

project('tutorial', 'c')

gtkdep = dependency('gtk+-3.0')

executable('demo', 'main.c', dependencies: gtkdep)

Clangd config (.clangd):

CompileFlags:
  CompilationDatabase: builddir