[CMake] msvc linking problem k3b on windows

Brad King brad.king at kitware.com
Wed Apr 22 08:38:51 EDT 2009


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.

>> 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.

-Brad


More information about the CMake mailing list