added cmake script to build external dependencies
Fixed application cmake scripts
extended to work with external projects
added a bit more doc