Trying to understand kdevelop's CMake library

TarcĂ­sio Fischer tarcisio.fischer.cco at gmail.com
Tue Mar 7 17:20:31 GMT 2023


Hey all.

Im trying to understand your code that handles cmake in the plugins/cmake/
subdir. Does anyone have an historical overview on how this was done, and
how is it maintained?

AFAIK, there's no oficial (from CMake) cmakelib or nothing like that. It
seems from the code that you guys are copying parts of cmake to create some
sort of library to work on top of that in kdevelop. Is that it?

Context: Im interested in a cmake library to get information from a project
to work in a plugin for Kate. Firstly  I thought about runnning CMake
executable in background and parse the outputs, but having the equivalent
in a lib would be easier to maintain/work on I believe.

I'm considering asking CMake ppl if they have something like that in mind,
and perhaps extract cmake lib out of kdevelop to another project (dont know
if it is too kdevelop specific)

I hope this make sense. I'd appreciate any help or suggestions with this.

Kind regards,
Tarcisio.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20230307/1bc4e30b/attachment.htm>


More information about the KDevelop-devel mailing list