[CMake] List all packages

Alexander Neundorf neundorf at kde.org
Sun Jan 13 15:29:10 EST 2019


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 helpful to have for debugging find_package, especially when you don’t
> have access to the system having issues (user bug reports for example).

you may have a look at FeatureSummary.cmake, maybe this is useful.

Alex



More information about the CMake mailing list