[Openvas-commits] r3250 - trunk/openvas-config-manager

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed May 6 10:46:22 CEST 2009


Author: mwiegand
Date: 2009-05-06 10:46:21 +0200 (Wed, 06 May 2009)
New Revision: 3250

Modified:
   trunk/openvas-config-manager/CMakeLists.txt
   trunk/openvas-config-manager/ChangeLog
Log:
CMakeLists.txt: Added initial support for creating source and binary
packages with CPack.


Modified: trunk/openvas-config-manager/CMakeLists.txt
===================================================================
--- trunk/openvas-config-manager/CMakeLists.txt	2009-05-06 08:13:21 UTC (rev 3249)
+++ trunk/openvas-config-manager/CMakeLists.txt	2009-05-06 08:46:21 UTC (rev 3250)
@@ -25,10 +25,44 @@
 
 message ("-- Configuring the Configuration Manager...")
 
-project (OPENVASCD)
+project (openvas-config-manager)
 
 cmake_minimum_required (VERSION 2.4)
 
+## CPack configuration
+
+SET(CPACK_CMAKE_GENERATOR "Unix Makefiles")
+SET(CPACK_GENERATOR "TGZ")
+SET(CPACK_INSTALL_CMAKE_PROJECTS ".;openvas-configuration-manager;ALL;/")
+SET(CPACK_MODULE_PATH "")
+SET(CPACK_RESOURCE_FILE_LICENSE "COPYING")
+SET(CPACK_RESOURCE_FILE_README "README")
+SET(CPACK_RESOURCE_FILE_WELCOME "README")
+SET(CPACK_SOURCE_GENERATOR "TGZ")
+SET(CPACK_SOURCE_TOPLEVEL_TAG "-source")
+SET(CPACK_SYSTEM_NAME "")
+SET(CPACK_TOPLEVEL_TAG "")
+SET(CPACK_PACKAGE_VERSION_MAJOR "0")
+SET(CPACK_PACKAGE_VERSION_MINOR "1")
+SET(CPACK_PACKAGE_VERSION_PATCH "0.SVN")
+SET(CPACK_PACKAGE_VERSION "${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}")
+SET(CPACK_PACKAGE_FILE_NAME "${PROJECT_NAME}-${CPACK_PACKAGE_VERSION}")
+SET(CPACK_SOURCE_PACKAGE_FILE_NAME "${PROJECT_NAME}-${CPACK_PACKAGE_VERSION}-source")
+SET(CPACK_PACKAGE_VENDOR "The OpenVAS Project")
+SET(CPACK_SOURCE_IGNORE_FILES
+"/.svn/"
+"/_CPack_Packages/"
+"/CMakeFiles/"
+"cmake$"
+"swp$"
+"Cache.txt$"
+".tar.gz"
+"install_manifest.txt"
+"Makefile"
+)
+
+INCLUDE(CPack)
+
 ## Variables
 
 set (OPENVAS_LIB_INSTALL_DIR    "${CMAKE_INSTALL_PREFIX}/lib/")

Modified: trunk/openvas-config-manager/ChangeLog
===================================================================
--- trunk/openvas-config-manager/ChangeLog	2009-05-06 08:13:21 UTC (rev 3249)
+++ trunk/openvas-config-manager/ChangeLog	2009-05-06 08:46:21 UTC (rev 3250)
@@ -1,3 +1,8 @@
+2009-05-06  Michael Wiegand <michael.wiegand at intevation.de>
+
+	* CMakeLists.txt: Added initial support for creating source and binary
+	packages with CPack.
+
 2009-05-05  Michael Wiegand <michael.wiegand at intevation.de>
 
 	Added support for setting user rules. Functionality for adding and



More information about the Openvas-commits mailing list