i'm not sure you can do that directly from a C or CPP IDE. but putting either sources or compiled binaries into a .deb package is pretty easy if you didn't already know how:
that blog links to both parts of a pretty decent tutorial. good luck bro
ed. as for managing sources, you mean you want to set up a source repository? you can use synaptic or aptitude for that.