I am using CMake/CPack for my project. On Windows, I use CPack with NSIS, and it s all good. But for Linux, I use the DEB generator for CPack, and I have run into a few issues. Namely, I cannot find a proper way to add an icon in the menu of Gnome/KDE/etc. I know that I can create app.desktop file, and put it in /usr/share/applications. But is there some other (recommended) way of doing it with CPack?
For security reasons, it is desirable to check the integrity of code before execution, avoiding tampered software by an attacker. So, my question is How to sign executable code and run only trusted ...