[CMake] msvc linking problem k3b on windows

Ralf Habacker ralf.habacker at freenet.de
Wed Apr 22 09:28:17 EDT 2009


Brad King schrieb:
> Ralf Habacker wrote:
>> May be the following (new) properties
>>
>> OUTPUT_RUNTIME_NAME
>> OUTPUT_ARCHIVE_NAME
>> OUTPUT_LIBRARY_NAME
>>
>> which enforce the developer to change individual types of generated 
>> files would solve this problem in a generic way
>
> Good idea.  We already do this for the output directory, so why not
> for the output name?  Please submit a feature request here:
>
>   http://www.cmake.org/Bug
>
> and send me the bug number.
http://www.cmake.org/Bug/view.php?id=8920

>
>>> You can tweak the name of the import library by setting the 
>>> IMPORT_PREFIX
>>> and/or IMPORT_SUFFIX properties on the target:
>>>
>>> set_target_properties(k3b_bin PROPERTIES IMPORT_SUFFIX _bin)
>> Using this property removes the extension - The doc says
>
> Oops, you're right.  My bad.  I guess you can use your workaround for 
> now.
yes, thanks for the hint.

BTW: Because we are on naming target created files - are there any plans 
to support real versioned dll's on windows ?

Ralf

>
> -Brad



More information about the CMake mailing list