On Mon, Dec 1, 2008 at 12:25 PM, cyril_wobow <span dir="ltr"><<a href="mailto:cyril@wobow.com">cyril@wobow.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Robert Dailey a écrit :<br>
<div><div class="Wj3C7c"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
That is indeed how I would expect it to work, but that's not what is happening. Below is the actual CMake code I'm using to generate projects:<br>
<br>
<snip><br>
<br>
Inside of another CMakeLists.txt file in a different subdirectory, I'll call *library_component( ProjectName )*. Is this a bug in CMake or am I just doing this incorrectly? Help would be appreciated! Thank you. </blockquote>
</div></div></blockquote><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I remember an issue (still pending) where the PROJECT() macro would have to be invoked from within the root CMakeList file. This problem occured to me while writing my homemade macros and I had to work it around by splitting my macro in half and having the following in my root CMakeList file :<br>
MYMACRO1(...)<br>
PROJECT(xxx)<br>
MYMACRO2(...)<br>
... which is ugly and could really use a fix.</blockquote></div><br>That's going to be obnoxious if that is indeed the case. Was the problem you were experiencing anything like mine?<br>