Support of Compilation Databases

Toni Dietze <Toni.Dietze-cl+VPiYnx/[email protected]>
Newsgroups gmane.comp.kde.users.kdevelop
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.