1) Link with EGL and wayland-egl libraries (with check for GDK Wayland). 2) Provide a way to force disable the EGL backend.
Silence pkg_check_modules message.
Add CMake build system for libraries, tests and samples update_files.py converts build/files into CMake format. build/update-setup-h has been modified to update build/cmake/setup.h.in.