[CMake] msvc linking problem k3b on windows

Ralf Habacker ralf.habacker at freenet.de
Wed Apr 22 10:41:57 EDT 2009


Brad King schrieb:
> Ralf Habacker wrote:
>> http://www.cmake.org/Bug/view.php?id=8920
>
> Thanks.
>
>>> Oops, you're right.  My bad.  I guess you can use your workaround 
>>> for now.
>> yes, thanks for the hint.
>
> This might work better:
>
>    set_target_properties(k3b_bin PROPERTIES
>     IMPORT_SUFFIX _bin${CMAKE_IMPORT_LIBRARY_SUFFIX})
>
> The CMAKE_IMPORT_LIBRARY_SUFFIX variable already contains the 
> extension for
> each platform.  In fact that is what is used if IMPORT_SUFFIX is not set.
thanks I will try it.
>
>> BTW: Because we are on naming target created files - are there any 
>> plans to support real versioned dll's on windows ?
>
> We do support the "image version" fields in dll binaries.  What do you 
> mean
> by "real" versioned DLLs?  Are you talking about side-by-side stuff?
I mean integrating api versions in the runtime target filename to be 
able to have different versions of a library in the same dir like the 
unix version of set_target_properties property SOVERSION.

Ralf



More information about the CMake mailing list