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?




> Date: Mon, 2 Nov 2009 18:17:33 -0800
> From: ty...@cryptio.net
> To: aditya15...@hotmail.com
> CC: cmake@cmake.org
> Subject: Re: [CMake] help me to resolve this issue
> 
> On Tue, Nov 03, 2009 at 01:21:35AM +0000, Alex H wrote:
> > How can I get over this issue? 
> > add_executable cannot create target "hassel" because another target
> > with  the same name already exists.  The existing target is an
> > executable created  in source directory "..............".  See
> > documentation for policy CMP0002 for more details.
> 
> Uh... don't add two targets with the same name?
> 
> If you want more help, we probably need to see some code or at least an
> explanation of what you're trying to do.
> 
> tyler
                                          
_________________________________________________________________
NEW! Get Windows Live FREE.
http://www.get.live.com/wl/all
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to