On 2019 M01 13, Sun 09:43:03 CET Lectem wrote:
> Hi,
>
> Is there a way to list all the packages (both config files and find-modules)
> that find_package could find ? Could we even imagine this would also permit
> to list the variables and targets created in it ? I think that would be a
> very
on the platform.
It would be better if I could invoke cmake from the commandline to do this.
Should such feature-request be sent to the mailing list or gitlab ?
De : Konstantin Podsvirov
Envoyé le :dimanche 13 janvier 2019 11:23
À : Cmake Mailing List
Objet :Re: [CMake] List all packages
Hello
Hello, Lectem.11:43, 13 January 2019 г., Lectem : Hi, Is there a way to list all the packages (both config files and find-modules) that find_package could find ?Could we even imagine this would also permit to list the variables and targets created in it ?I think that would be a very helpful to
Hey,
As far as I know there is no such mechanism. But you can write a little
script f.e. in python (or cmake itself) which can do that, because it is
just a simple file search.
Greetings
Tonka
Am So., 13. Jän. 2019, 09:43 hat Lectem geschrieben:
>
>
> Hi,
>
>
>
> Is there a way to list all
Hi,
Is there a way to list all the packages (both config files and find-modules)
that find_package could find ?
Could we even imagine this would also permit to list the variables and targets
created in it ?
I think that would be a very helpful to have for debugging find_package,
especially