Meson is a build system popular in the Gtk world.
# Void Linux
$ sudo xbps-install meson
# Arch Linux
$ sudo pacman -S meson
# We assume build dir is `build`.
# Meson requires build directory to be separate from source files.
# So we run this to prepare a directory named "build"
$ meson build
# Now we build
$ cd build
$ meson compile
# Now run
$ ./gtkexample