certi-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[certi-cvs] applications/PyHLA CMakeLists.txt


From: certi-cvs
Subject: [certi-cvs] applications/PyHLA CMakeLists.txt
Date: Fri, 03 Oct 2008 09:05:06 +0000

CVSROOT:        /sources/certi
Module name:    applications
Changes by:     Petr Gotthard <gotthardp>       08/10/03 09:05:06

Modified files:
        PyHLA          : CMakeLists.txt 

Log message:
        Initial CPack support.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/applications/PyHLA/CMakeLists.txt?cvsroot=certi&r1=1.1&r2=1.2

Patches:
Index: CMakeLists.txt
===================================================================
RCS file: /sources/certi/applications/PyHLA/CMakeLists.txt,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- CMakeLists.txt      25 Sep 2008 17:17:26 -0000      1.1
+++ CMakeLists.txt      3 Oct 2008 09:05:03 -0000       1.2
@@ -16,4 +16,25 @@
 
 ADD_SUBDIRECTORY(hla)
 
-# $Id: CMakeLists.txt,v 1.1 2008/09/25 17:17:26 gotthardp Exp $
+SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Python bindings for the Modeling and 
Simulation (M&S) High Level Architecture (HLA)")
+SET(CPACK_PACKAGE_VENDOR "Petr Gotthard")
+SET(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/COPYING")
+SET(CPACK_PACKAGE_NAME PyHLA)
+SET(CPACK_SYSTEM_NAME ${CMAKE_SYSTEM_NAME})
+
+IF (WIN32)
+    SET(CPACK_SOURCE_GENERATOR "ZIP")
+    SET(CPACK_GENERATOR "NSIS;ZIP")
+ELSE (WIN32)
+    SET(CPACK_SOURCE_GENERATOR "TGZ;ZIP")
+    SET(CPACK_GENERATOR "TGZ;ZIP;RPM")
+ENDIF (WIN32)
+
+SET(CPACK_SOURCE_IGNORE_FILES
+    "~" ".pdf" ".pyc" ".so" ".dll" ".zip" ".tar.gz" ".rpm"
+    "/.cvsignore" "/Makefile" "/CMakeCache.txt" "/cmake_install.cmake" 
"/CPack.*.cmake"
+    "/CVS/" "/CMakeFiles/" "/_CPack_Packages/")
+
+INCLUDE(CPack)
+
+# $Id: CMakeLists.txt,v 1.2 2008/10/03 09:05:03 gotthardp Exp $




reply via email to

[Prev in Thread] Current Thread [Next in Thread]