[Cmake] Different -D defines for multiple targets

Bill Hoffman bill.hoffman at kitware.com
Thu Sep 27 11:29:38 EDT 2001


Right now it is not possible.    However, we have talked about having compile flags
that can be added per-source file.   We will post to the list when this has been
implemented.

-Bill


At 04:00 PM 9/26/2001 -0500, Boyana Norris wrote:
>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
>_______________________________________________
>Cmake mailing list
>Cmake at public.kitware.com
>http://public.kitware.com/mailman/listinfo/cmake 




More information about the CMake mailing list