[Cmake] Different -D defines for multiple targets

Boyana Norris norris at mcs.anl.gov
Wed Sep 26 17:00:33 EDT 2001


Hello,

Is it possible to have different -D defines for the different executable
targets? It's not clear from the documentation how this can be done, if it's
possible (I think it would have been nice if ADD_DEFINITIONS took a target
name as the first argument). 

Thanks!
Boyana



More information about the CMake mailing list