Re: [cmake-developers] Using cmake pkg-config-like in non-cmake builds

2010-11-23 Thread Alexander Neundorf
On Monday 22 November 2010, Alan W. Irwin wrote: > On 2010-11-22 21:55+0100 Alexander Neundorf wrote: > > Hi, > > > > there can be the case that a package which has been built with cmake, > > should be used in a project which doesn't use cmake. > > There is a feature request that cmake should help

Re: [cmake-developers] Using cmake pkg-config-like in non-cmake builds

2010-11-22 Thread Alan W. Irwin
On 2010-11-22 21:55+0100 Alexander Neundorf wrote: Hi, there can be the case that a package which has been built with cmake, should be used in a project which doesn't use cmake. There is a feature request that cmake should help with generating pkg-config pc-files: http://public.kitware.com/Bug/

Re: [cmake-developers] Using cmake pkg-config-like in non-cmake builds

2010-11-22 Thread Alexander Neundorf
On Monday 22 November 2010, Brad King wrote: > On 11/22/2010 03:55 PM, Alexander Neundorf wrote: > > I have a slightly different idea: instead of having cmake generate > > pc-files, modify/extend cmake so that it can be used similar to > > pkg-config by projects which don't use cmake as their build

Re: [cmake-developers] Using cmake pkg-config-like in non-cmake builds

2010-11-22 Thread Alexander Neundorf
On Monday 22 November 2010, Clinton Stimpson wrote: > On Monday, November 22, 2010 01:55:22 pm Alexander Neundorf wrote: ... > > Do you think it is worth to put some effort into this ? > > How does this work when find_package() doesn't automatically find the > package? The caller provides a CMAKE_M

Re: [cmake-developers] Using cmake pkg-config-like in non-cmake builds

2010-11-22 Thread Brad King
On 11/22/2010 03:55 PM, Alexander Neundorf wrote: > I have a slightly different idea: instead of having cmake generate pc-files, > modify/extend cmake so that it can be used similar to pkg-config by projects > which don't use cmake as their buildsystem. Interesting. > It already somewhat works: