[cmake-commits] hoffman committed CPack.cmake 1.24 1.25

cmake-commits at cmake.org cmake-commits at cmake.org
Fri Feb 2 14:40:26 EST 2007


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

Modified Files:
	CPack.cmake 
Log Message:
ENH: add support for cygwin source and binary packaging


Index: CPack.cmake
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/CPack.cmake,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- CPack.cmake	12 Oct 2006 17:05:50 -0000	1.24
+++ CPack.cmake	2 Feb 2007 19:40:24 -0000	1.25
@@ -99,6 +99,10 @@
       SET(CPACK_GENERATOR "STGZ;TGZ;TZ")
     ENDIF(APPLE)
     SET(CPACK_SOURCE_GENERATOR "TGZ;TZ")
+    IF(CYGWIN)
+      SET(CPACK_SOURCE_GENERATOR "CygwinSource")
+      SET(CPACK_GENERATOR "CygwinBinary")
+    ENDIF(CYGWIN)
   ELSE(UNIX)
     SET(CPACK_GENERATOR "NSIS;ZIP")
     SET(CPACK_SOURCE_GENERATOR "ZIP")



More information about the Cmake-commits mailing list