Re: [CMake] How to properly write a Module/Config.cmake file

2008-11-24 Thread Andreas Pakulat
On 24.11.08 18:23:09, Ioan Calin Borcoman wrote: > Why not provide a pkg-config .pc file that can be used by your users? > > The syntax of .pc files is quite simple and your user can use > pkg_check_module once the .pc is installed (or even use some some > other build system that knows how to hand

Re: [CMake] How to properly write a Module/Config.cmake file

2008-11-24 Thread Andreas Pakulat
On 24.11.08 17:00:43, Pablo Yanez Trujillo wrote: > Hi > > I'm reading > http://www.cmake.org/cmake/help/cmake2.6docs.html#command:find_package for > the usage of FIND_PACKAGE, but > I'm not interested in using the FIND_PACKAGE command but to write a Module so > that anybody is able to use > FI

Re: [CMake] How to properly write a Module/Config.cmake file

2008-11-24 Thread Ioan Calin Borcoman
Why not provide a pkg-config .pc file that can be used by your users? The syntax of .pc files is quite simple and your user can use pkg_check_module once the .pc is installed (or even use some some other build system that knows how to handle pkg-config, like autotools). Cheers, Ionutz On Mon, N

[CMake] How to properly write a Module/Config.cmake file

2008-11-24 Thread Pablo Yanez Trujillo
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi I'm reading http://www.cmake.org/cmake/help/cmake2.6docs.html#command:find_package for the usage of FIND_PACKAGE, but I'm not interested in using the FIND_PACKAGE command but to write a Module so that anybody is able to use FIND_PACKAGE(myLib ..