Could I just use EXECUTE_PROCESS to call make (with a hand created Makefile) or even the java compiler itself to get around the problems I'm having with cmake and java not liking each other very much? Thanks Richard