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


_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to