Re: Trying to understand kdevelop's CMake library
TarcĂsio Fischer <[email protected]> Tue, 7 Mar 2023 19:02:00 +0000
| Newsgroups | gmane.comp.kde.devel.kdevelop |
|---|---|
| Message-ID | <CAPsDyWK62m9+1--a9gpsmo+O-TsDKJz+YJKkpN7HdZZ-tr6=cA@mail.gmail.com> |
--00000000000093b51405f6540ca8 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thanks! I'll try that. Em ter., 7 de mar. de 2023 17:28, Igor Kushnir <[email protected]> escreveu= : > On 2023-03-07 19:20, Tarc=C3=ADsio Fischer wrote: > > 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? > > Hi Tarcisio, > > KDevelop uses > https://cmake.org/cmake/help/latest/manual/cmake-file-api.7.html > if CMake version is >=3D 3.14 (see kdevelop/plugins/cmake/cmakefileapi.*)= . > There > are several older implementations, which are used for older CMake > versions. If > you don't care much about older CMake versions, simply using the file API > is > probably the most reasonable option. > > Cheers, > Igor > --00000000000093b51405f6540ca8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"auto">Thanks! I'll try that.</div><br><div class=3D"gmail_q= uote"><div dir=3D"ltr" class=3D"gmail_attr">Em ter., 7 de mar. de 2023 17:2= 8, Igor Kushnir <<a href=3D"mailto:[email protected]">[email protected]<= /a>> escreveu:<br></div><blockquote class=3D"gmail_quote" style=3D"margi= n:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 2023-03-07 19:= 20, Tarc=C3=ADsio Fischer wrote:<br> > Hey all.<br> > <br> > Im trying to understand your code that handles cmake in the plugins/cm= ake/ <br> > subdir. Does anyone have an historical overview on how this was done, = and how is <br> > it maintained?<br> <br> Hi Tarcisio,<br> <br> KDevelop uses <a href=3D"https://cmake.org/cmake/help/latest/manual/cmake-f= ile-api.7.html" rel=3D"noreferrer noreferrer" target=3D"_blank">https://cma= ke.org/cmake/help/latest/manual/cmake-file-api.7.html</a> <br> if CMake version is >=3D 3.14 (see kdevelop/plugins/cmake/cmakefileapi.*= ). There <br> are several older implementations, which are used for older CMake versions.= If <br> you don't care much about older CMake versions, simply using the file A= PI is <br> probably the most reasonable option.<br> <br> Cheers,<br> Igor<br> </blockquote></div> --00000000000093b51405f6540ca8--