[CMake] Can I make both(STATIC & SHARED) type libraries?
Pascal Fleury
fleury at users.sourceforge.net
Sat Mar 3 11:53:25 EST 2007
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 with -fpic, once without, and it's just sending the error messages from
one of the compiles to /dev/null, hence hiding this from you. probably to
make you feel better :-)
--pascal
More information about the CMake
mailing list