<div dir="ltr"><div>You just reached the sad state of good C++ tooling.<br>I think the most popular choice around here is neovim / vim potentially with plugins like YouCompleteMe, clang-format, and so on.<br>If you really have to use an IDE I would give JetBrains' CLion a try or just use QtCreator.<br><br></div><div>We found that tooling is difficult in practice in cases like osrm-backend's templates that often have a templated DataFacadeT type.<br></div><div>There is no possible way for tools to help you e.g. with autocomplete if the type is not yet specified.<br></div><div><br></div><div>Here are a few tricks that should make development easier, despite of having no ide:<br><br></div><div>- install ccache: cmake will automatically pick it up; immensely speeds up incremental builds<br></div><div>- use ninja by means of cmake -G Ninja as a make replacement; speeds up incremental builds<br></div><div>- use inotifytools: recursively watch modify events for *.cc *.h, automatically triggering a build as soon as you save a file<br></div><div>- use clang for faster compile and link times: requires you to also build all dependencies locally with clang first<br></div><div><br></div><div>Cheers,<br></div><div>Daniel<br> </div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Jan 10, 2016 at 10:05 PM, Francis Giraldeau <span dir="ltr"><<a href="mailto:francis.giraldeau@gmail.com" target="_blank">francis.giraldeau@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello! I wonder what is the recommended IDE for osrm-backend? I usually use Eclipse and QtCreator, but I had issues with both of them.<div><br></div><div>I tried to generate project file for Eclipse (mars) using CMake like this: </div><div><br></div><div>cd osrm-backend/build/</div><div>cmake -G"Eclipse CDT4 - Unix Makefiles" CMAKE_BUILD_TYPE=Debug ../</div><div><br></div><div>However, the sources are not imported at all (only executables under the build directory). I tried to create the project manually, but c++11 is not supported by default, and this is cumbersome to tweak. </div><div><br></div><div>Any hints would be greatly appreciated. Maybe this could be added to the wiki afterwards.</div><div><br></div><div>Thanks!</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Francis</div></font></span></div>
<br>_______________________________________________<br>
OSRM-talk mailing list<br>
<a href="mailto:OSRM-talk@openstreetmap.org">OSRM-talk@openstreetmap.org</a><br>
<a href="https://lists.openstreetmap.org/listinfo/osrm-talk" rel="noreferrer" target="_blank">https://lists.openstreetmap.org/listinfo/osrm-talk</a><br>
<br></blockquote></div><br></div>