[cmake-commits] king committed CYGWIN.cmake 1.16 1.17

cmake-commits at cmake.org cmake-commits at cmake.org
Thu Oct 5 16:30:52 EDT 2006


Update of /cvsroot/CMake/CMake/Modules/Platform
In directory public:/mounts/ram/cvs-serv8953/Modules/Platform

Modified Files:
	CYGWIN.cmake 
Log Message:
ENH: Adding version number to the name of a DLL built in cygwin but not the import library.  This addresses bug#3571.


Index: CYGWIN.cmake
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/Platform/CYGWIN.cmake,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- CYGWIN.cmake	5 Oct 2006 19:08:23 -0000	1.16
+++ CYGWIN.cmake	5 Oct 2006 20:30:46 -0000	1.17
@@ -28,6 +28,9 @@
 SET(CMAKE_CXX_CREATE_SHARED_LIBRARY
   "<CMAKE_CXX_COMPILER> <LANGUAGE_COMPILE_FLAGS> <CMAKE_SHARED_LIBRARY_CXX_FLAGS> <LINK_FLAGS> <CMAKE_SHARED_LIBRARY_CREATE_CXX_FLAGS> -o <TARGET> -Wl,--out-implib,<TARGET_IMPLIB> <OBJECTS> <LINK_LIBRARIES>")
 
+# Shared libraries on cygwin can be named with their version number.
+SET(CMAKE_SHARED_LIBRARY_NAME_WITH_VERSION 1)
+
 # Initialize C link type selection flags.  These flags are used when
 # building a shared library, shared module, or executable that links
 # to other libraries to select whether to use the static or shared



More information about the Cmake-commits mailing list