[CMake] Auto generating package configuration file?
Damien R
damienrg+list at gmail.com
Wed Feb 14 18:00:51 EST 2018
Hi,
I know that I could write FooConfig.cmake.in, call
configure_package_config_file() to generate package configuration file and
call write_basic_package_version_file() to generate a version file.
Typically FooConfig.cmake.in contains:
@PACKAGE_INIT@
find_dependency(...)
My question is why do I need to do that? Is it not possible for cmake to
autogenerate theses files?
I may be wrong but I think that "modern cmake" has the necessary
informations to do that.
Regards,
Damien R.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cmake.org/pipermail/cmake/attachments/20180215/229a226a/attachment.html>
More information about the CMake
mailing list