Commit Graph

10490 Commits

Author SHA1 Message Date
David Cole 0efa5f3747 Fix unused variable warning in new code. 2010-05-27 14:49:38 -04:00
David Cole f67139ae6f Improve FILE(DOWNLOAD) and ExternalProject.
Improve FILE(DOWNLOAD ...):

- Add percent complete progress output to the FILE DOWNLOAD
  command. This progress output is off by default to
  preserve existing behavior. To turn it on, pass
  SHOW_PROGRESS as an argument.

- Add EXPECTED_MD5 argument. Verify that the downloaded
  file has the expected md5 sum after download is complete.

- Add documentation for SHOW_PROGRESS and EXPECTED_MD5.

  When the destination file exists already and has the
  expected md5 sum, then do not bother re-downloading
  the file. ("Short circuit" return.)

  Also, add a test that checks for the status output
  indicating that the short circuit behavior is actually
  occurring. Use a binary file for the test so that the
  md5 sum is guaranteed to be the same on all platforms
  regardless of "shifting text file line ending" issues.

Improve ExternalProject:

- Add argument URL_MD5.

- Add verify step that compares md5 sum of .tar.gz file
  before extracting it.

- Add md5 check to download step, too, to prevent
  unnecessary downloads.

- Emit a warning message when a file is not verified.
  Indicate that the file may be corrupt or that no
  checksum was specified.
2010-05-27 12:21:56 -04:00
KWSys Robot 282a119e35 KWSys Nightly Date Stamp 2010-05-27 00:01:10 -04:00
KWSys Robot 515339f313 KWSys Nightly Date Stamp 2010-05-26 00:01:04 -04:00
KWSys Robot d5e86a5f45 KWSys Nightly Date Stamp 2010-05-25 00:01:03 -04:00
KWSys Robot 41e675a045 KWSys Nightly Date Stamp 2010-05-24 00:01:06 -04:00
KWSys Robot 37fb1f3690 KWSys Nightly Date Stamp 2010-05-23 00:01:05 -04:00
KWSys Robot ba88271427 KWSys Nightly Date Stamp 2010-05-22 00:01:12 -04:00
KWSys Robot 45e6aee72c KWSys Nightly Date Stamp 2010-05-21 00:01:14 -04:00
KWSys Robot b71b3b710f KWSys Nightly Date Stamp 2010-05-20 00:01:02 -04:00
KWSys Robot 6138ff02ed KWSys Nightly Date Stamp 2010-05-19 00:01:03 -04:00
KWSys Robot 3d784cc752 KWSys Nightly Date Stamp 2010-05-18 00:01:07 -04:00
Brad King 3ebb41d58a Merge branch 'version' 2010-05-17 13:34:29 -04:00
KWSys Robot 0559c4e04e KWSys Nightly Date Stamp 2010-05-17 13:24:39 -04:00
KWSys Robot f9f2e61e27 KWSys Nightly Date Stamp 2010-05-17 13:24:25 -04:00
David Cole 7220df021b Fix generation of .filters files for Visual Studio 2010 generator.
Only generate .filters files if they are different than the last time
they were generated. This should prevent the unnecessary reloads
being triggered with Visual Studio 2010 builds.
2010-05-14 16:57:15 -04:00
KWSys Robot b81727621a KWSys Nightly Date Stamp 2010-05-14 00:01:02 -04:00
KWSys Robot f7abdff721 KWSys Nightly Date Stamp 2010-05-13 00:01:03 -04:00
Bill Hoffman f2d18d6e99 Try to remove some warnings. 2010-05-12 10:41:06 -04:00
Bill Hoffman 521e26752b Ignore some more sgi warnings. 2010-05-12 10:40:12 -04:00
Bill Hoffman 5eeaa535b3 Remove conversion warning. 2010-05-12 10:22:55 -04:00
Bill Hoffman 0b5288849f Silence warnings on sgi compiler. 2010-05-12 09:37:42 -04:00
Zach Mullen 38cabcd9ff Fix shadowed local warning in coverage handler 2010-05-12 09:37:43 -04:00
KWSys Robot 8ce275fee5 KWSys Nightly Date Stamp 2010-05-12 00:01:13 -04:00
Brad King 83d3b1e427 KWSys: Process tree kill for kFreeBSD, GNU/Hurd
kFreeBSD and Hurd have the same userland as Linux.  This change is
necessary to enable kwsysProcessKill() to kill child processes on
kFreeBSD.  The bug was detected by CTestTestTimeout test.

Patch from "Modestas Vainius <modestas@vainius.eu>".
See issue #10432.
2010-05-11 13:34:54 -04:00
Bill Hoffman 667b1b223f Fix for Bug#10700, COMPILE_DEFINITIONS_MINSIZEREL missing REL part.
Also remove some trailing whitespace.
2010-05-11 09:34:12 -04:00
KWSys Robot 408bf244dd KWSys Nightly Date Stamp 2010-05-11 00:01:04 -04:00
KWSys Robot e30279e7de KWSys Nightly Date Stamp 2010-05-10 00:01:04 -04:00
KWSys Robot dedbe6fd48 KWSys Nightly Date Stamp 2010-05-09 00:01:03 -04:00
Alex Neundorf d62c51ddc2 -fix documentation from a module which has *only* documentation
This is #10466. It didn't crash for me, but also didn't work.
The issue was that a line ending with something else than a # was considered as the
end of the documentation block. If there was simply the end of the file we didn't
get into the correct branch.

Alex
2010-05-08 10:10:19 +02:00
Alex Neundorf d1b3ceb88c -minor doc fixes
Use <VAR> instead of VarName in get_filename_component (as is used in most other
command documentations), and fix the name of the generated project in include_external_msproject(#9743,
the comment there seems to be correct: http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=3d1c12b802c3dd3a0284f5f10aec3b98ab6d3a78#patch9 )

Alex
2010-05-08 09:27:48 +02:00
Alex Neundorf 555b8fcab5 -(minor) fix documentation for CMAKE_LIBRARY_PATH (#10291)
Alex
2010-05-08 09:12:57 +02:00
KWSys Robot ed81b62eff KWSys Nightly Date Stamp 2010-05-08 00:01:02 -04:00
Zach Mullen 231cbbef80 Change coverage globbing mechanism to resolve paths earlier 2010-05-07 11:00:21 -04:00
Brad King 678073bec2 CTest: Submit author email in Update.xml
Add the <Email>...</Email> element in Update.xml for each commit
reported.  This field was defined by Dart but never really used.
Distributed version control systems use author name and email
instead of a user id, so now it makes sense to use this field.
2010-05-07 09:17:26 -04:00
KWSys Robot 162597e4bf KWSys Nightly Date Stamp 2010-05-07 00:01:12 -04:00
KWSys Robot 0ac7f85d20 KWSys Nightly Date Stamp 2010-05-06 00:01:03 -04:00
Ruben Van Boxem 7883f952b0 Win64 fixes for mingw-w64 compilation 2010-05-05 17:13:21 -04:00
David Cole e0acb6ca5f Fix Windows-cl.cmake so that at most one MSVC** variable is defined.
The expectation of users of the MSVC60, MSVC70, MSVC71, MSVC80, MSVC90
and the new MSVC10 variables is that at most one of them will be set
for any given build tree. This change enforces that expectation for
build trees using Makefile generators. It also fixes the one mismatch
in that expectation to be found in the Visual Studio generator world:
previously, the VS 7.1 generator would set *both* MSVC70 and MSVC71;
now, it only sets MSVC71.

With these changes, user expectations are now met, and the recently
introduced CheckCompilerRelatedVariables test should pass everywhere.
2010-05-05 17:08:06 -04:00
Brad King ea62d6973b Do not list file names during 'cmake -E tar xz'
Since commit "Switch to using libarchive from libtar" (2009-10-30) the
the implementation of "tar xz" has printed all paths from the tarball as
a single line with no separator.  This fixes the logic to extract
silently as expected.
2010-05-05 14:44:36 -04:00
Clinton Stimpson 1df3f58317 BUG: Fix Bug #9975 when softlinks are used. 2010-05-05 06:49:24 -06:00
KWSys Robot 0bf998a46b KWSys Nightly Date Stamp 2010-05-05 00:01:05 -04:00
Bill Hoffman e2c496e2af Fix for bug #10542, allow this to build on Tru64 2010-05-04 14:43:43 -04:00
Brad King 67277bacca Teach ctest_update about Git submodules
Git does not automatically checkout the matching version of a submodule
when it checks out a new version of the parent project in the work tree.
If the submodule reference changed in the parent project then we were
reporting the submodule path as a local modification.  Work around the
problem in ctest_update using "git submodule update" after "git pull".
For projects with no submodules this is a no-op.  See issue #10662.
Also add a submodule to the test project for CTest.UpdateGIT to test the
work-around.
2010-05-04 09:40:04 -04:00
KWSys Robot f20fd583d8 KWSys Nightly Date Stamp 2010-05-04 00:01:02 -04:00
Alex Neundorf d7ceb75e8a -fix GetFrameworkFlags() for Mac, which was broken with my last commit
Alex
2010-05-03 21:28:44 +02:00
KWSys Robot 0b7206dd23 KWSys Nightly Date Stamp 2010-05-03 00:01:03 -04:00
KWSys Robot 5272d0dd8c KWSys Nightly Date Stamp 2010-05-02 00:01:03 -04:00
Alex Neundorf 3901e0408c -improve crosscompiling from Linux to iphone (#10526)
Patch by Karol Krizka

Alex
2010-05-01 20:38:28 +02:00
KWSys Robot 42c40884d2 KWSys Nightly Date Stamp 2010-05-01 00:01:12 -04:00