Revision: 43778
http://brlcad.svn.sourceforge.net/brlcad/?rev=43778&view=rev
Author: starseeker
Date: 2011-03-08 13:49:18 +0000 (Tue, 08 Mar 2011)
Log Message:
-----------
Add some documentation on what the distcheck routine does
Modified Paths:
--------------
brlcad/branches/cmake/CMakeLists.txt
Modified: brlcad/branches/cmake/CMakeLists.txt
===================================================================
--- brlcad/branches/cmake/CMakeLists.txt 2011-03-08 06:12:03 UTC (rev
43777)
+++ brlcad/branches/cmake/CMakeLists.txt 2011-03-08 13:49:18 UTC (rev
43778)
@@ -1431,6 +1431,7 @@
SET(CPACK_SOURCE_IGNORE_FILES "\\\\.svn/")
INCLUDE(CPack)
+# Some files to ignore for distcheck
SET(toplevel_ignore_files
${toplevel_DOCFILES}
BUGS
@@ -1446,6 +1447,27 @@
)
CMAKEFILES(${toplevel_ignore_files})
+# Define a target distcheck. This performs the following steps to test
+# whether BRL-CAD is in a distribution ready state:
+#
+# 1. Check the files currently in the source directories against a
+# known list generated by CMake - fails if anything unexpected
+# is present. This rule is strict (editor temp files, for example,
+# will trigger it) because CPack will bundle anything it is not
+# told to exclude.
+# 2. If the source tree is a subversion checkout and subversion is
+# present, make sure svn status reports clean (e.g. all changes
+# are committed.
+# 3. Run CPack to generate source tarballs.
+# 4. Expand the tarball into a subdirectory, make a build directory,
+# cd into the build directory, configure BRL-CAD for a local
+# build and install.
+# 5. Perform the build.
+# 6. Run the regression and benchmark targets in the build directory.
+# 7. Install to the local install directory.
+# 8. Run benchmark from the installed directory.
+# 9. Clean up.
+#
get_property(distcheck_list GLOBAL PROPERTY DISTCHECK_DIRS)
FILE(WRITE ${CMAKE_CURRENT_BINARY_DIR}/CMakeTmp/distchecklist.cmake
${distcheck_list})
configure_file(${BRLCAD_CMAKE_DIR}/distcheck_buildsys.cmake.in
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits