<div>Yes I agree with you. It would be nice to hide these CMake generated files (except those that are generated by your CMakeLists.txt and used for compilation purpose, e.g. files generated by external command like CodeSynthesis XSD).</div>
<div><br></div><div>One more thing, about the version control integration (SVN) in Eclipse using an out-of-source build (cf . <a href="http://www.cmake.org/Wiki/Eclipse_CDT4_Generator_Development">http://www.cmake.org/Wiki/Eclipse_CDT4_Generator_Development</a>), do I still need to create two different projects? One being my source code from my repository and the other one being my "build" directory?</div>
<div><br></div><div>Is there any fix regarding this issue in the incoming 2.8 version? Or any existing work-around?</div><div><br></div><div>Thank you!</div><div><br></div><div>Romain</div><div><br></div><div class="gmail_quote">
2009/10/6 Philip Lowman <span dir="ltr"><<a href="mailto:philip@yhbt.com">philip@yhbt.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br><br>
<div class="gmail_quote"><div class="im">On Mon, Oct 5, 2009 at 1:48 AM, Romain CHANU <span dir="ltr"><<a href="mailto:romainchanu@gmail.com" target="_blank">romainchanu@gmail.com</a>></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>Hi,</div><div><br></div><div>Thank you for your replies. There is still something unclear for me.</div><div><br></div><div>Let me describe the structure of my project (SVN project):</div><div><br></div><div>branches/</div>
<div>build/</div><div>tags/</div><div>trunk/<br></div><div><br></div><div>I run the cmake command in the build directory (i.e "cmake ../trunk") which generates the .project and .cproject, as well as all the CMake files generated by the cmake command.</div>
<div><br></div><div>When I import the project in Eclipse (I import the build directory which contains the Eclipse files), here is the structure within Eclipse:</div><div><br></div><div>Binaries/</div><div>Includes/</div>
<div>
myProject/files_in_trunk</div><div>generated_cmake_file_1</div><div>generated_cmake_file_2</div><div>...</div><div>...</div><div>generated_cmake_file_N</div><div><br></div><div>As I said in my first post, the import is dirty as I have all the generated files in the "main" directory. What I would like to have is the following structure:</div>
<div><br></div><div>Binaries/</div><div>Includes/</div><div>build/ (and the generated cmake files...)</div><div>myProject/files_in_trunk</div><div><br></div><div>I may miss something or misunderstand the process. Could anyone tell me what's the best way to operate? </div>
</blockquote></div><div><br>I have the same thing here. I usually just expand myProject (source tree) and forget about what's below. It would be nice if there was a way to hide CMake generated cruft from the Eclipse project.<br>
</div></div><br>-- <br><font color="#888888">Philip Lowman<br>
</font></blockquote></div><br>