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

2007-10-20 Thread Mathias Baumann

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?


--Ano
___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake


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

2007-10-20 Thread Mathias Baumann
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 [EMAIL PROTECTED] 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@cmake.org
http://www.cmake.org/mailman/listinfo/cmake



___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake


[CMake] adding a compiled lib @ nadine kempe

2007-10-16 Thread Mathias Baumann

ist it a 64bit library?
check this by writing
file /usr/local/lib/libmsml.*

--Ano
___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake


[CMake] adding a compiled lib

2007-10-16 Thread Mathias Baumann
well if you still got the source recompile it for 64bit, else, build your  
project as 32bit, but for that all libs need to be present as 32 bit ones  
:/


btw, What is your project about? (pure interest)
___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake