Support of Compilation Databases

Toni Dietze Toni.Dietze at mailbox.org
Mon Oct 22 20:33:28 BST 2018


Hello,

I have a project with an involved build system and was quite happy to
read that kdevelop supports compilation databases [1]. However, I was
not able to find out how to convince kdevelop to use my compilation
database. I have two questions:

1. If I have a cmake project with enabled
CMAKE_EXPORT_COMPILE_COMMANDS, how do I notice that kdevelop actually
uses the generated compilation database?

2. Is it possible to load an arbitrary compilation database as
a project? This would be a great feature. It would already be helpful
if the code is only opened read-only just for browsing.

[1] http://kfunk.org/2016/08/23/whats-new-in-kdevelop-5-0/#cmakesupport
-- 
Regards

Toni




More information about the KDevelop mailing list