<div dir="ltr"><div dir="ltr"><div dir="ltr"><div>FYI,<br></div><div><br></div><div>I opened a bug on CMake's tracker about updating the CMake generator since its outputs are kind of garbage for modern CDT releases: <a href="https://gitlab.kitware.com/cmake/cmake/issues/19107">https://gitlab.kitware.com/cmake/cmake/issues/19107</a><br></div><div><br></div><div>Unfortunately the only feedback I got was that there is a push to remove *all* generators in favor of forcing IDEs to use cmake-file-api. I opened a bug on the Eclipse tracker asking if they knew about this push and whether anyone was working on it from the CDT end, and they aren't but are receptive: <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=545905">https://bugs.eclipse.org/bugs/show_bug.cgi?id=545905</a></div><div><br></div><div>None of that helps me, though, because I'm stuck on CMake 2.8.12.2 for now.</div><div><br></div><div>I think my main philosophical issue is that CMake lets you define a project, and I'd like to see that definition reflected in Eclipse. Unfortunately, both the CMake Eclipse generator and cmake4eclipse plugin leave you with a filesystem-oriented view of the source instead of a CMake project oriented view. You can get most of this from importing a CMake project into something more primitive like NetBeans.</div><div><br></div><div>Maybe being tied to the filesystem view is an inherent limitation of Eclipse (and/or CDT), or maybe it was at one time and neither CMake nor cmake4eclipse are taking advantage of what modern Eclipse versions can do.<br></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Apr 3, 2019 at 1:32 PM Martin Weber <<a href="mailto:fifteenknots505@gmail.com">fifteenknots505@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Am Mittwoch, 3. April 2019, 18:44:04 CEST schrieb Benjamin Shadwick:<br>
> Update - I think I found a tolerable workaround:<br>
> <br>
> If I invoke cmake with -DCMAKE_ECLIPSE_GENERATE_LINKED_RESOURCES=OFF and<br>
> then inject a link to my include directory into the .project file, things<br>
> work a lot better:<br>
<br>
You (and other having problems with eclipse projects generated by cmake) might <br>
want to read these posts of the CDT project lead concerning cmake's CDT4 <br>
generator [1] [2].<br>
<br>
Martin<br>
<br>
[1] <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=530090#c3" rel="noreferrer" target="_blank">https://bugs.eclipse.org/bugs/show_bug.cgi?id=530090#c3</a><br>
[2] <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=530090#c5" rel="noreferrer" target="_blank">https://bugs.eclipse.org/bugs/show_bug.cgi?id=530090#c5</a><br>
<br>
<br>
-- <br>
Cd wrttn wtht vwls s mch trsr.<br>
<br>
<br>
<br>
<br>
-- <br>
<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" rel="noreferrer" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Kitware offers various services to support the CMake community. For more information on each offering, please visit:<br>
<br>
CMake Support: <a href="http://cmake.org/cmake/help/support.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/support.html</a><br>
CMake Consulting: <a href="http://cmake.org/cmake/help/consulting.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/consulting.html</a><br>
CMake Training Courses: <a href="http://cmake.org/cmake/help/training.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/training.html</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="https://cmake.org/mailman/listinfo/cmake" rel="noreferrer" target="_blank">https://cmake.org/mailman/listinfo/cmake</a><br>
</blockquote></div>