[CMake] using icu-config (or any other)

Brandon Van Every bvanevery at gmail.com
Sat Oct 20 17:53:30 EDT 2007


On 10/20/07, Mathias Baumann <anonym001 at supradigital.org> wrote:
> Hi there,
> I got a lib (icu), this lib provides also a icu-config script/binary which
> tells me the compiler/linker flags..
> So i can use icu-config --ldflags to find out the parameter for the linker.
> And here comes the problem. How can i either pass these parameters to the
> linker, or extract the libs out of the string?

EXECUTE_PROCESS?  ADD_CUSTOM_COMMAND?  Depends when you want the info.


Cheers,
Brandon Van Every


More information about the CMake mailing list