[CMake] help me to resolve this issue

Alex H aditya15417 at hotmail.com
Tue Nov 3 00:54:16 EST 2009


if I have add_definition then the add_executable underneath it gets compiled with the definition specified above it?






> Date: Mon, 2 Nov 2009 20:11:41 -0800
> From: tyler at cryptio.net
> To: aditya15417 at hotmail.com
> CC: cmake at cmake.org
> Subject: Re: [CMake] help me to resolve this issue
> 
> 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
 		 	   		  
_________________________________________________________________
Windows Live: Friends get your Flickr, Yelp, and Digg updates when they e-mail you.
http://www.microsoft.com/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-id:SI_SB_3:092010
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20091103/fb68233a/attachment.htm>


More information about the CMake mailing list