<table><tr><td style="">rjvbb added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D16915">View Revision</a></tr></table><br /><div><div><blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><div class="remarkup-code-block" style="margin: 12px 0;" data-code-lang="text" data-sigil="remarkup-code-block"><pre class="remarkup-code" style="font: 11px/15px "Menlo", "Consolas", "Monaco", monospace; padding: 12px; margin: 0; background: rgba(71, 87, 120, 0.08);">Not supported, since in your case KDevelop simply does not know a compile_commands.json exist,</pre></div></blockquote>
<p>Not KDevelop, but last time I looked the clazy plugin accesses and processes the file directly, and it worked just fine with a compile_commands.json file generated with <tt style="background: #ebebeb; font-size: 13px;">compiledb</tt>. So maybe less "not supported" than you thought :)</p>
<blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><div class="remarkup-code-block" style="margin: 12px 0;" data-code-lang="text" data-sigil="remarkup-code-block"><pre class="remarkup-code" style="font: 11px/15px "Menlo", "Consolas", "Monaco", monospace; padding: 12px; margin: 0; background: rgba(71, 87, 120, 0.08);">I'm not sure how your (very special) use-case can be addressed.</pre></div></blockquote>
<p>I'm not sure if it's so very special at all. There are at least 2 utilities that create a compile_commands database from a Makefile, including the aforementioned <tt style="background: #ebebeb; font-size: 13px;">compiledb</tt>. They do that by wrapping <tt style="background: #ebebeb; font-size: 13px;">make</tt> and analysing the output, so it's trivial to integrate them. Just set the make command to <tt style="background: #ebebeb; font-size: 13px;">compiledb make</tt>, basically.</p>
<blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><p>Would also help realizing idea 2 of <a href="https://mail.kde.org/pipermail/kdevelop/2018-October/019723.html" class="remarkup-link" target="_blank" rel="noreferrer">https://mail.kde.org/pipermail/kdevelop/2018-October/019723.html</a>.</p></blockquote>
<p>I also posted about something like this at about the same time ("compiledb-generator and the generic Makefile proj.manager"). Francis Herne replied about a patch he'd written for someone, possibly the author of that 019723.html post.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R32 KDevelop</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D16915">https://phabricator.kde.org/D16915</a></div></div><br /><div><strong>To: </strong>kossebau, KDevelop, apol<br /><strong>Cc: </strong>rjvbb, kfunk, kdevelop-devel, glebaccon, antismap, iodelay, vbspam, geetamc, Pilzschaf, akshaydeo, surgenight, arrowd<br /></div>