Add cmake target dependencies of the executable/library to ensure that
the required messages/services/actions are generated previously.
Merge pull request #1 from corot/tug_examples

Add cmake target dependencies of the executable/library to ensure that