[CMake] Convert libtool convenience libraries to cmake

2009-04-15 Thread Andreas Pokorny
Hi, 2009/4/15 Yevgen Muntyan : > How do you do it, do you manually add -fPIC or something to compiler > flags? Could you > show the CMakeLists.txt? We only have special values for gcc: IF(CMAKE_COMPILER_IS_GNUCC) # PS: cannot remember why we do that?    SET(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG "

Re: [CMake] Convert libtool convenience libraries to cmake

2009-04-14 Thread Yevgen Muntyan
How do you do it, do you manually add -fPIC or something to compiler flags? Could you show the CMakeLists.txt? Thanks! Yevgen On Tue, Apr 14, 2009 at 8:14 AM, Andreas Pokorny wrote: > Hello, > > > 2009/4/13 Andreas Pakulat : >>> [...] >>> question. Anybody knows how to build >>> a shared library

Re: [CMake] Convert libtool convenience libraries to cmake

2009-04-14 Thread Andreas Pokorny
Hello, 2009/4/13 Andreas Pakulat : >> [...] >> question. Anybody knows how to build >> a shared library of separate cmake targets? > > Then you might be out of luck. Of course you could try creating static > libs and then link those into your shared lib. But thats not supported > on all platforms

Re: [CMake] Convert libtool convenience libraries to cmake

2009-04-13 Thread Andreas Pakulat
On 12.04.09 15:54:43, Yevgen Muntyan wrote: > Andreas Pakulat wrote: >> On 07.04.09 20:29:49, Yevgen Muntyan wrote: >>> I want to convert an autotools project to cmake. But, I don't know >>> how to solve the problem of the >>> convenience libraries. The issue is: the project builds a shared >>>

Re: [CMake] Convert libtool convenience libraries to cmake

2009-04-13 Thread Yevgen Muntyan
Right now I don't have access to a linux system so I can't check. But my very reason to use cmake is to have a bulid system which works on windows in addition to unix (on which I have autotools), so it's kind of unimportant whether it works on linux or not :) Best regards, Yevgen Adolfo Rodríg

Re: [CMake] Convert libtool convenience libraries to cmake

2009-04-13 Thread Adolfo Rodríguez
Have you tried building your project using a different generator to check if it's a VS-specific problem?. I've set compile flags on a per-source basis using various generators under Linux and had no problem. Do you have access to a Linux box, or is your project Windows-specific? Cheers, Adolfo

Re: [CMake] Convert libtool convenience libraries to cmake

2009-04-12 Thread Yevgen Muntyan
Andreas Pakulat wrote: On 07.04.09 20:29:49, Yevgen Muntyan wrote: Hi, I want to convert an autotools project to cmake. But, I don't know how to solve the problem of the convenience libraries. The issue is: the project builds a shared library of bunch of libtool convenience libraries. Ea

Re: [CMake] Convert libtool convenience libraries to cmake

2009-04-08 Thread Yevgen Muntyan
Andreas Pakulat wrote: On 07.04.09 20:29:49, Yevgen Muntyan wrote: Hi, I want to convert an autotools project to cmake. But, I don't know how to solve the problem of the convenience libraries. The issue is: the project builds a shared library of bunch of libtool convenience libraries. Ea

Re: [CMake] Convert libtool convenience libraries to cmake

2009-04-08 Thread Andreas Pakulat
On 07.04.09 20:29:49, Yevgen Muntyan wrote: > Hi, > > I want to convert an autotools project to cmake. But, I don't know how > to solve the problem of the > convenience libraries. The issue is: the project builds a shared library > of bunch of libtool convenience > libraries. Each convenience l

Re: [CMake] Convert libtool convenience libraries to cmake

2009-04-07 Thread Pau Garcia i Quiles
http://www.cmake.org/Wiki/CMake_FAQ#Does_CMake_support_.22convenience.22_libraries.3F On Wed, Apr 8, 2009 at 5:29 AM, Yevgen Muntyan wrote: > Hi, > > I want to convert an autotools project to cmake. But, I don't know how to > solve the problem of the > convenience libraries. The issue is: the pro

[CMake] Convert libtool convenience libraries to cmake

2009-04-07 Thread Yevgen Muntyan
Hi, I want to convert an autotools project to cmake. But, I don't know how to solve the problem of the convenience libraries. The issue is: the project builds a shared library of bunch of libtool convenience libraries. Each convenience library uses different compilation flags (which is very im