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

Mathias Baumann anonym001 at supradigital.org
Sat Oct 20 18:22:21 EDT 2007


The problem is only how to pass the parameters to the linker..  
add_custom_command does not help me in passing sth to the linker, or am i  
wrong here?

> 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
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake




More information about the CMake mailing list