[cmake-developers] Making Config.cmake files easier to write

Alexander Neundorf neundorf at kde.org
Thu Feb 16 12:28:29 EST 2012


On Thursday 16 February 2012, David Cole wrote:
> On Thu, Feb 16, 2012 at 10:52 AM, Brad King <brad.king at kitware.com> wrote:
> > On 2/16/2012 10:48 AM, Alexander Neundorf wrote:
> >> 5) configure_package_config_file(**) + write_basic_package_version_**
> >> file()
> >> 
> >> So, 5) ?
> > 
> > Looks good.  Thanks.
> > 
> > -Brad
> > 
> > --
> > 
> > Follow this link to subscribe/unsubscribe:
> > http://public.kitware.com/cgi-**bin/mailman/listinfo/cmake-**developers<h
> > ttp://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers>
> 
> Sorry to be a latecomer to the conversation here, but is anybody else
> concerned about potential confusion between PackageConfig and PkgConfig?

Does that mean you would prefer
1) configure_config_file()         + write_basic_config_version_file()
over 
5) configure_package_config_file() + write_basic_package_version_file()

because it contains only "config", but not "package_config" ?


Or do you mean you would prefer the following ?
7) configure_cmake_package_config_file() + 
write_basic_cmake_package_version_file()

This would be quite long...

Alex 



More information about the cmake-developers mailing list