[CMake] Cygwin ccmake 2.4.2 CMAKE_BUILD_TYPE empty

Brandon J. Van Every bvanevery at gmail.com
Tue Aug 1 18:19:43 EDT 2006


Brad King wrote:
> Brandon J. Van Every wrote:
>   
>
>> Is there any way to get both cygchicken-0.dll and libchicken.dll.a ?
>>     
>
> Not currently.  This looks like the way cygwin does library versions, so
> we could make this the implementation of the VERSION or SOVERSION
> property on Cygwin (where those properties are currently ignored).
> Please create a feature request for this in the bug tracker.
>   

As a workaround, a symlink for the import library seems to be solving 
the difficulty. 

IF(CYGWIN)
  INSTALL(CODE "
    EXECUTE_PROCESS(COMMAND \${CMAKE_COMMAND} -E create_symlink
      \$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/lib/libchicken-0.dll.a
      \$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/lib/libchicken.dll.a)
  ")
ENDIF(CYGWIN)


Cheers,
Brandon Van Every
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20060801/8af122e9/attachment.html


More information about the CMake mailing list