Revision: 42064
http://brlcad.svn.sourceforge.net/brlcad/?rev=42064&view=rev
Author: starseeker
Date: 2011-01-10 23:03:04 +0000 (Mon, 10 Jan 2011)
Log Message:
-----------
Start setting up logic for CPack. Start slowly - this is just the tar.gz,
tar.bz2 and .zip files, to match what make distcheck produces (that will need
to be confirmed).
Modified Paths:
--------------
brlcad/branches/cmake/CMakeLists.txt
Modified: brlcad/branches/cmake/CMakeLists.txt
===================================================================
--- brlcad/branches/cmake/CMakeLists.txt 2011-01-10 21:47:16 UTC (rev
42063)
+++ brlcad/branches/cmake/CMakeLists.txt 2011-01-10 23:03:04 UTC (rev
42064)
@@ -1277,6 +1277,22 @@
)
INSTALL(FILES ${toplevel_DOCFILES} DESTINATION ${BRLCAD_INSTALL_DATA_DIR})
+
+# CPack is used to produce tgz files, RPMS, etc.
+SET(CPACK_PACKAGE_VERSION_MAJOR ${BRLCAD_MAJOR_VERSION})
+SET(CPACK_PACKAGE_VERSION_MINOR ${BRLCAD_MINOR_VERSION})
+SET(CPACK_PACKAGE_VERSION_PATCH ${BRLCAD_PATCH_VERSION})
+
+SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "BRL-CAD - a powerful cross-platform
open source solid modeling system")
+SET(CPACK_PACKAGE_VENDOR "BRL-CAD Development Team")
+SET(CPACK_PACKAGE_DESCRIPTION_FILE ${CMAKE_CURRENT_SOURCE_DIR}/README)
+SET(CPACK_SOURCE_GENERATOR TGZ TBZ2 ZIP)
+SET(CPACK_SOURCE_PACKAGE_FILE_NAME
+"brlcad-${BRLCAD_MAJOR_VERSION}.${BRLCAD_MINOR_VERSION}.${BRLCAD_PATCH_VERSION}")
+SET(CPACK_SOURCE_IGNORE_FILES "\\\\.svn/")
+INCLUDE(CPack)
+
+
#Done with everything else - do the configure time delta
SET(DELTA_END "${CMAKE_BINARY_DIR}/CMakeTmp/DELTA_END")
configure_file(${BRLCAD_CMAKE_DIR}/test_srcs/timedelta_end.c.in
${CMAKE_BINARY_DIR}/CMakeTmp/timedelta_end.c)
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web. Learn how to
best implement a security strategy that keeps consumers' information secure
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits