[CMake] how to make a static and shared lib at the same time?

Prakash Punnoor lists at punnoor.de
Sun Nov 20 11:59:49 EST 2005


Brad King schrieb:
> Prakash Punnoor wrote:
> 
>>I basically want libtool behaviour which creates static and shared libs
>>at the same time. This sound like an easy task but I haven't been able
> 
> 
> Things like this are harder for CMake because it has to implement them 
> on all platforms including Windows.  It also has to get the native tools 

OK, thanks for elaborating this. I'll probably file in a feature request
and check your suggestions.

>  > Futhermore The OUTPUT_NAME stuff doesn't seem to work.
> 
> Read the documentation of SET_TARGET_PROPERTIES carefully.  The 
> OUTPUT_NAME feature currently works only for executables.  Unfortunately 

Well, till now I was only browsing to the online help, and here it isn't
even mentioned... I see the man page is more up to date - I should have
read the  man page instead of online docs, I guess, then I would have
searched less for newer features (which I thought were undocumented...).

So it would be nice if you'd tell the right people to update the online
docs to confuse users less.

Thanks again,

Prakash
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
Url : http://public.kitware.com/pipermail/cmake/attachments/20051120/3cff0c13/signature.pgp


More information about the CMake mailing list