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 with

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

2010-11-22 Thread Alexander Neundorf
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/view.php?id=11446 I don't like that idea, because

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: $

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

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: