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 <lec...@gmail.com> geschrieben:

>
>
> 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).
>
>
> Cheers,
>
> Lectem
> --
>
> Powered by www.kitware.com
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Kitware offers various services to support the CMake community. For more
> information on each offering, please visit:
>
> CMake Support: http://cmake.org/cmake/help/support.html
> CMake Consulting: http://cmake.org/cmake/help/consulting.html
> CMake Training Courses: http://cmake.org/cmake/help/training.html
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> https://cmake.org/mailman/listinfo/cmake
>
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
https://cmake.org/mailman/listinfo/cmake

Reply via email to