How to build snap for C++ app

Hi guys, i’m really lost on how to do this using the yaml, as i don’t know the exact meaning of the command, the project uses qt and cmake, and has releases in debian and fedora. However would like to release snap. Please help me on how I could do it. The app is called stacer

Stacer seems to be a c++ app using Qt5 and cmake. I think this tutorial is the closest to what you’ll need: