<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=iso-8859-1"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>I&#8217;m new to CMake, and loving it.  I&#8217;m using version 2.8.11 and have a couple issues with the CDT generator.<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>First, there&#8217;s really no definitive help (that I&#8217;ve found) for the CDT generator.  The HTML generator just simply mentions the generator, it doesn&#8217;t mention any of the options that I&#8217;ve stumbled upon in mentions out on the open web, such as:<o:p></o:p></p><p class=MsoNormal>  CMAKE_ECLIPSE_MAKE_ARGUMENTS=&lt;&gt;<o:p></o:p></p><p class=MsoNormal>    You can use this to add things such as &#8220;-j4&#8221; to increase the number of parallel jobs during builds<o:p></o:p></p><p class=MsoNormal>  CMAKE_ECLIPSE_VERSION=&lt;&gt;<o:p></o:p></p><p class=MsoNormal>    Setting this to &#8220;3.7&#8221; for my CDT version made a difference.<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>Are there others?  Where are they documented?<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>The only official help I&#8217;ve found was at <a href="http://www.cmake.org/Wiki/Eclipse_CDT4_Generator">http://www.cmake.org/Wiki/Eclipse_CDT4_Generator</a>, and this seems to be quite out of date.<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>Secondly, path discovery wasn&#8217;t nearly automatic.  Even after a build, opening a C++ file showed unresolved inclusions for every STL include (such as &lt;iostream&gt;)  It took me a while, but I finally found that going to the Project Properties, then &#8220;C/C++ project paths&#8221;, &#8220;Path Containers&#8221;, &#8220;Add&#8230;&#8221; and adding the &#8220;Discovered scanner configuration scanner&#8221; and doing a fresh build and Index rebuild that everything was fine.<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>Finally, doing any edits to the project from WITHIN Eclipse are lost whenever having to re-run cmake.  For example, adding project filters to hide &#8220;CMakeFiles&#8221;, Qt4 files (such as *<b>.moc, ui_</b>*.h, etc), these filters are lost if you have to rerun cmake when adding a new source file to the project.<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>Thanks again for the great product!<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>J. Lee Dixon<o:p></o:p></p><p class=MsoNormal>Sr Software Engineer - SAIC<o:p></o:p></p><p class=MsoNormal><a href="mailto:joel.l.dixon@saic.com">joel.l.dixon@saic.com</a><o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p></div></body></html>