install deb to show applications

How to let DEB program show the linux show applications and I click the icon to start it

how can I implement it with cmake

Same as your previous question: a .desktop file is how these things are usually handled.