Hey, I was wondering whether there was some equivalent to way of getting the MAKECMDGOALS in the makefile generated by cmake and having targets which would be dynamic like this VAR=$(MAKECMDGOALS) VAREXE=$VAR.exe $(VAREXE) : DEPEND1 DEPEND2 COMMAND 1 COMMAND 2 is it possible with cmake ?? Cheers, Johny