<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
<span class="Apple-style-span" style="font-family: 'Segoe UI', Tahoma, Verdana, Arial, sans-serif; color: rgb(68, 68, 68); ">Well, what I want to do is that in my code, I have a #define NORMAL_COMPILE, and some other ones...<div><br></div><div>How can I let cmake define those macro so that when I type make, it will create an executable with the define included?</div></span><br><div></div><br><br><br><br>> Date: Mon, 2 Nov 2009 18:17:33 -0800<br>> From: tyler@cryptio.net<br>> To: aditya15417@hotmail.com<br>> CC: cmake@cmake.org<br>> Subject: Re: [CMake] help me to resolve this issue<br>> <br>> On Tue, Nov 03, 2009 at 01:21:35AM +0000, Alex H wrote:<br>> > How can I get over this issue? <br>> > add_executable cannot create target "hassel" because another target<br>> > with the same name already exists. The existing target is an<br>> > executable created in source directory "..............". See<br>> > documentation for policy CMP0002 for more details.<br>> <br>> Uh... don't add two targets with the same name?<br>> <br>> If you want more help, we probably need to see some code or at least an<br>> explanation of what you're trying to do.<br>> <br>> tyler<br>                                            <br /><hr />Windows Live Hotmail: <a href='http://www.microsoft.com/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-id:SI_SB_4:092009' target='_new'>Your friends can get your Facebook updates, right from HotmailŪ.</a></body>
</html>