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
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to