Thanks Miguel - that clears up the differences I&#39;m seeing on the two projects.&nbsp; One has a number of project calls init and the other only had a single one at the top level.&nbsp; When I add project calls to the nested directories they come out to the top level of the eclipse project.&nbsp; Will the root always be left in the eclipse project then if I have a project() call there? <br>
<br>-Neal<br><br><div class="gmail_quote">On Fri, Nov 7, 2008 at 12:31 PM, Miguel A. Figueroa-Villanueva <span dir="ltr">&lt;<a href="mailto:miguelf@ieee.org">miguelf@ieee.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Fri, Nov 7, 2008 at 4:11 PM, Neal Meyer wrote:<br>
&gt; On Friday 07 November 2008, Neal Meyer wrote:<br>
&gt;&gt; I&#39;ve tried the existing generator in cmake on the Mac on my existing<br>
&gt;&gt; project but it generated a crazy MakeFile project that builds, but is<br>
&gt;&gt; really unorganized and doesn&#39;t really help any. &nbsp;I tried using the CMake<br>
&gt;&gt; project and discovered that the build directory structure I was using<br>
&gt;&gt; appears to be most of my problem. &nbsp;I had created a directory called build<br>
&gt;&gt; under the root of the cmake project then ran cmake with the working<br>
&gt;&gt; directory set to the build folder &nbsp;[cmake .. -G &quot;Eclipse CDT4 - Unix<br>
&gt;&gt; Makefiles&quot;] The project in eclipse was mostly unusable because the source<br>
&gt;&gt; and the files were all over the place. &nbsp;Once I ran cmake in the source<br>
&gt;&gt; file. &nbsp;It behaved much better.<br>
&gt;<br>
&gt; Please read that wiki page, it documents all the issues Eclipse has with<br>
&gt; out-of-source builds. If there is something more, please let us know.<br>
&gt; <a href="http://www.cmake.org/Wiki/Eclipse_CDT4_Generator" target="_blank">http://www.cmake.org/Wiki/Eclipse_CDT4_Generator</a><br>
</div><div class="Ih2E3d">&gt; Thanks Alex. &nbsp;I&#39;m playing with the generator on Windows and Mac, and now<br>
&gt; that I understand the Eclipse limitation with the linked resource directory<br>
&gt; it makes it clearer. &nbsp;On my windows project I&#39;m getting several linked<br>
&gt; directories in the main project that seems like everything that has an<br>
&gt; add_subdirectory in the root CMakeLists.txt file, but on my Mac project I&#39;m<br>
&gt; just getting a single linked resource for the root of the entire source<br>
&gt; tree. &nbsp;Is that expected? &nbsp;Both are using out of source build directories.<br>
<br>
</div>Hello Neal,<br>
<br>
Well, there is no intended difference between Mac and Windows. The<br>
linked resources are created for every &quot;project()&quot; call; not for the<br>
add_subdirectory.<br>
<br>
I&#39;ll appreciate your testing to refine the generator to work<br>
out-of-the-box in the Mac.<br>
<font color="#888888"><br>
--Miguel<br>
</font></blockquote></div><br>