[CMake] Strange behaviour of CMake

Brad King brad.king at kitware.com
Thu Mar 23 09:43:16 EST 2006


Xavier Delannoy wrote:
> On Wed, 22 Mar 2006 09:51:26 -0500
> "William A. Hoffman" <billlist at nycap.rr.com> wrote:
> 
> 
>>ADD_LIBRARY(fooShared SHARED foo.o)
>>SET_TARGET_PROPERTIES(fooShared PROPERTIES OUTPUT_NAME foo)
>>ADD_LIBRARY(fooStatic STATIC foo.o)
>>SET_TARGET_PROPERTIES(fooStatic PROPERTIES OUTPUT_NAME foo)
> 
> 
> does this work with CMake 2.2p3 ?
> 
> cause, I try but the output_name is fooShared or fooStatic, and not foo ;(

No, as I said in my other response this requires CVS CMake.  Support 
will be included in the next release.  Unfortunately support for the 
option required several sweeping changes so a fix in a patch release is 
not practical.

-Brad


More information about the CMake mailing list