<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
if I have add_definition then the add_executable underneath it gets compiled with the definition specified above it?<div><br></div><div><br><br><div></div><br><br><br><br>> Date: Mon, 2 Nov 2009 20:11:41 -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 03:32:04AM +0000, Alex H wrote:<br>> > Well, what I want to do is that in my code, I have a #define NORMAL_COMPILE, and some other ones...<br>> > How can I let cmake define those macro so that when I type make, it will create an executable with the define included?<br>> <br>> You use add_definions(), but what does this have to do with your other<br>> problem?<br>> <br>> tyler<br></div>                                            <br /><hr />Chat online and in real-time with friends and family! <a href='http://get.live.com/messenger/overview' target='_new'>Windows Live Messenger</a></body>
</html>