A small playground for start of How to develop GUI applications in Linux with GTK3+ and C programming language.
This little repository shows how to setup CMakeLists.txt to compile against C99 and GTK3+ for C on Ubuntu 20.04.
GUI is made in Glade and GTK3+ loads the XML definition at runtime.
sudo apt install cmake libgtk-3-dev
Optionally for development also:
sudo apt install glade
CD into repository and then:
mkdir ./build
cd ./build
cmake ..
make
In build folder run:
./gsw
Usually it should be possible to make it executable
chmod +x ./gsw
but there is an issue with GNOME 3 file browser (Nautilus), that does not recognize build file as executable but text file.