This template should be a good starting point to everyone that wants to learn how to build GTK apps using C++.
This setup requires that you have some things installed on your system, such as:
- Meson build system
- GTKmm 4
- GLibmm
- pkg-config
For that, depending on your operating system, you might do the following:
- Windows: Look at tools such as vcpkg and pkg-config-lite.
- Linux: Install all dependencies using your system's packet manager.
- MacOS: Don't have a clue :(
Just clone the repository and use the commands to setup and build:
meson setup builddir
meson compile -C builddir
I appreciate any contribution to make this template easier to setup. I'm still learning this vast world called C++ and curious to learn more.