[CMake] help me to resolve this issue

Tyler Roscoe tyler at cryptio.net
Mon Nov 2 23:11:41 EST 2009


On Tue, Nov 03, 2009 at 03:32:04AM +0000, Alex H wrote:
> Well, what I want to do is that in my code, I have a #define NORMAL_COMPILE, and some other ones...
> How can I let cmake define those macro so that when I type make, it will create an executable with the define included?

You use add_definions(), but what does this have to do with your other
problem?

tyler


More information about the CMake mailing list