Toni Dietze
2018-10-22 19:33:28 UTC
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
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
Regards
Toni