Re: RFE: CMake AutoRequires?

2022-01-31 Thread Kevin Kofler via devel
Fabio Valentini wrote: > Sure, but is this doable? CMakeLists.txt files are very complex and > border on a Turing-complete language. Technically, CMake *is* a Turing-complete language – if and only if you use recursive functions. > Does cmake support passing in "-D foo" options and returning a

Re: RFE: CMake AutoRequires?

2022-01-30 Thread Fabio Valentini
On Sat, Jan 29, 2022 at 12:23 PM Miro Hrončok wrote: > > On 27. 01. 22 4:59, Kevin Kofler via devel wrote: > > Hi, > > > > when working on finally fixing Trojitá to build (it had been FTBFS since > > F34, so removal was impending), I have noticed that the Akonadi contacts > > plugin was not

Re: RFE: CMake AutoRequires?

2022-01-29 Thread Miro Hrončok
On 27. 01. 22 4:59, Kevin Kofler via devel wrote: Hi, when working on finally fixing Trojitá to build (it had been FTBFS since F34, so removal was impending), I have noticed that the Akonadi contacts plugin was not getting built because of missing transitive build dependencies:

Re: RFE: CMake AutoRequires?

2022-01-28 Thread Kevin Kofler via devel
Dan Čermák wrote: > There is something like that already in place: > https://src.fedoraproject.org/rpms/cmake/blob/rawhide/f/cmake.req > > But I guess it does not produce the requires that you expect it should? That cmake.req script produces only dependencies on cmake-filesystem and nothing

Re: RFE: CMake AutoRequires?

2022-01-27 Thread Dan Čermák
Hi Kevin, On January 27, 2022 3:59:04 AM UTC, Kevin Kofler via devel wrote: >Hi, > >when working on finally fixing Trojitá to build (it had been FTBFS since >F34, so removal was impending), I have noticed that the Akonadi contacts >plugin was not getting built because of missing transitive