<p>sorry for the repost, I'm still stuck with this</p><p>Can someone explain this behavior? I'm sure I'm missing something essential <br></p><br><div class="gmail_quote">On Fri, Apr 17, 2009 at 11:48 AM, elizabeta petreska <span dir="ltr"><<a href="mailto:elizabeta.petreska@gmail.com">elizabeta.petreska@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hello <br>I have the cmakelists.txt witch define two libraries :<br><br><br>//cmakelists.txt<br><br>add_library(A SHARED ${A_SRC})<br>
<br>message(${CMAKE_MFC_FLAG}) # prints nothing <br><br>set(CMAKE_MFC_FLAG 2)<br><br>message(${CMAKE_MFC_FLAG}) # prints 2<br>
<br>add_library(B SHARED ${B_SRC})<br><br>I was expecting CMAKE_MFC _FLAG to be set just for project B , and not for project A because of the order of processing in the cmakelists.txt,<br>but the mfc falg is set for project A also .<br>
<br>Is this bug or this is normal behavior ?<br><br>Thanks<br>
</blockquote></div><br>