Trying to understand kdevelop's CMake library

TarcĂ­sio Fischer <[email protected]> Tue, 7 Mar 2023 17:20:31 +0000
Newsgroups gmane.comp.kde.devel.kdevelop
Message-ID <CAPsDyW+H=xj=f1_8+uUjA0mEWXrVrEP0V76fVjgYQyndDjAi8A@mail.gmail.com>
--000000000000ac68d605f652a10b
Content-Type: text/plain; charset="UTF-8"

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.

--000000000000ac68d605f652a10b
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto">Hey all.<div dir=3D"auto"><br></div><div dir=3D"auto">Im =
trying to understand your code that handles cmake in the plugins/cmake/ sub=
dir. Does anyone have an historical overview on how this was done, and how =
is it maintained?</div><div dir=3D"auto"><br></div><div dir=3D"auto">AFAIK,=
 there&#39;s no oficial (from CMake) cmakelib or nothing like that. It seem=
s from the code that you guys are copying parts of cmake to create some sor=
t of library to work on top of that in kdevelop. Is that it?</div><div dir=
=3D"auto"><br></div><div dir=3D"auto">Context: Im interested in a cmake lib=
rary to get information from a project to work in a plugin for Kate. Firstl=
y=C2=A0 I thought about runnning CMake executable in background and parse t=
he outputs, but having the equivalent in a lib would be easier to maintain/=
work on I believe.</div><div dir=3D"auto"><br></div><div dir=3D"auto">I&#39=
;m considering asking CMake ppl if they have something like that in mind, a=
nd perhaps extract cmake lib out of kdevelop to another project (dont know =
if it is too kdevelop specific)</div><div dir=3D"auto"><br></div><div dir=
=3D"auto">I hope this make sense. I&#39;d appreciate any help or suggestion=
s with this.</div><div dir=3D"auto"><br></div><div dir=3D"auto">Kind regard=
s,</div><div dir=3D"auto">Tarcisio.</div></div>

--000000000000ac68d605f652a10b--