2007-08-09 22:45:23 +04:00
|
|
|
SET(WIN32 1)
|
|
|
|
SET(CYGWIN 1)
|
|
|
|
|
2006-02-18 23:37:23 +03:00
|
|
|
SET(CMAKE_SHARED_LIBRARY_PREFIX "cyg")
|
2002-11-08 23:46:08 +03:00
|
|
|
SET(CMAKE_SHARED_LIBRARY_SUFFIX ".dll")
|
2006-02-19 21:34:22 +03:00
|
|
|
SET(CMAKE_SHARED_MODULE_PREFIX "lib")
|
|
|
|
SET(CMAKE_SHARED_MODULE_SUFFIX ".dll")
|
2006-02-18 23:37:23 +03:00
|
|
|
SET(CMAKE_IMPORT_LIBRARY_PREFIX "lib")
|
|
|
|
SET(CMAKE_IMPORT_LIBRARY_SUFFIX ".dll.a")
|
2006-01-03 22:00:48 +03:00
|
|
|
SET(CMAKE_EXECUTABLE_SUFFIX ".exe") # .exe
|
2006-02-19 21:34:22 +03:00
|
|
|
# Modules have a different default prefix that shared libs.
|
|
|
|
SET(CMAKE_MODULE_EXISTS 1)
|
|
|
|
|
2006-02-09 23:05:13 +03:00
|
|
|
SET(CMAKE_FIND_LIBRARY_PREFIXES "cyg" "lib")
|
|
|
|
SET(CMAKE_FIND_LIBRARY_SUFFIXES ".dll" ".dll.a" ".a")
|
2006-02-18 23:37:23 +03:00
|
|
|
|
2006-10-06 00:30:47 +04:00
|
|
|
# Shared libraries on cygwin can be named with their version number.
|
|
|
|
SET(CMAKE_SHARED_LIBRARY_NAME_WITH_VERSION 1)
|
|
|
|
|
2006-03-02 21:30:22 +03:00
|
|
|
INCLUDE(Platform/UnixPaths)
|