[CMake] "COMPILE_DEFINITIONS"

Steven Van Ingelgem steven at vaningelgem.be
Wed Mar 11 06:54:07 EDT 2009


Hi all,


How can I add multiple "COMPILE_DEFINITIONS" for 1 source file?
I tried with a foreach loop, I tried with an array to "COMPILE_DEFINITIONS".
In the first case, the latest is retained, in the last case only the first
one is set.


Thanks,
Steven*
*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090311/0e02fd7a/attachment.htm>


More information about the CMake mailing list