Re: [CMake] Can I make both(STATIC & SHARED) type libraries?

2007-03-04 Thread Jong-young Park
On 3/4/07, Pascal Fleury <[EMAIL PROTECTED]> wrote: On Friday 02 March 2007 09:55:26 Jong-young Park wrote: > I tested it. > However, compiling was made twice(for example, 'gcc -c a.c' is performed > twice for shared and static). > > I feel some... disappointed. :) Don't feel lik ehtat:-) libto

Re: [CMake] Can I make both(STATIC & SHARED) type libraries?

2007-03-03 Thread Pascal Fleury
On Friday 02 March 2007 09:55:26 Jong-young Park wrote: > I tested it. > However, compiling was made twice(for example, 'gcc -c a.c' is performed > twice for shared and static). > > I feel some... disappointed. :) Don't feel lik ehtat:-) libtool from autotool does also compile things twice. Once

Re: [CMake] Can I make both(STATIC & SHARED) type libraries?

2007-03-02 Thread Brandon J. Van Every
Alexander Neundorf wrote: Von: "Brandon J. Van Every" <[EMAIL PROTECTED]> Jong-young Park wrote: I need both lib.a & lib.so as project result. But ADD_LIBRARY command may support Only 1 type, I think. Not any other method? Thanks for reading. ] You will have to do ADD_LIBRARY

Re: [CMake] Can I make both(STATIC & SHARED) type libraries?

2007-03-02 Thread Alexander Neundorf
Von: "Brandon J. Van Every" <[EMAIL PROTECTED]> > Jong-young Park wrote: > > I need both lib.a & lib.so as project result. > > But ADD_LIBRARY command may support Only 1 type, I think. > > > > Not any other method? > > > > Thanks for reading. > ] > You will have to do ADD_LIBRARY twice, once for

Re: [CMake] Can I make both(STATIC & SHARED) type libraries?

2007-03-02 Thread Alexander Neundorf
Original-Nachricht Datum: Fri, 2 Mar 2007 17:55:26 +0900 Von: "Jong-young Park" <[EMAIL PROTECTED]> An: cmake CC: Betreff: Re: [CMake] Can I make both(STATIC & SHARED) type libraries? > I tested it. > However, compiling was made twice(for example,

Re: [CMake] Can I make both(STATIC & SHARED) type libraries?

2007-03-02 Thread Jong-young Park
I tested it. However, compiling was made twice(for example, 'gcc -c a.c' is performed twice for shared and static). I feel some... disappointed. :) Thanks for replying, Brandon. On 3/2/07, Brandon J. Van Every <[EMAIL PROTECTED]> wrote: Jong-young Park wrote: I need both lib.a & lib.so as

Re: [CMake] Can I make both(STATIC & SHARED) type libraries?

2007-03-02 Thread Brandon J. Van Every
Jong-young Park wrote: I need both lib.a & lib.so as project result. But ADD_LIBRARY command may support Only 1 type, I think. Not any other method? Thanks for reading. ] You will have to do ADD_LIBRARY twice, once for the shared, once for the static. You'll have to give them different targe

[CMake] Can I make both(STATIC & SHARED) type libraries?

2007-03-02 Thread Jong-young Park
I need both lib.a & lib.so as project result. But ADD_LIBRARY command may support Only 1 type, I think. Not any other method? Thanks for reading. ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake