This shows how to create a .deb package in Linux using CMake and CPack For full CMakeLists.txt see: https://github.com/gnilk/editor
This works fine for regular terminal/cmd-line tools but not for UI tools (no imagery, etc included)
#
# Create a .deb install package..