This is the GLFW gist made by https://gist.github.com/Sythelux but meson version.
You can use as a template project for getting started with C++ and GLFW/GLEW.
I made this project to show how meson is simple and easy.
In 3 easy commands you can run this program
meson setup build
meson compile -C build
./build/glew_meson_example
You should see a window like this:
No need to mention my name or this repository in projects using this code.