Commit Graph

10675 Commits

Author SHA1 Message Date
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
KWSys Robot d4c95316ee KWSys Nightly Date Stamp 2010-04-30 00:01:07 -04:00
Bill Hoffman 54319451a5 Make get_stl_prime_list an inline function to avoid duplicate copies of it. 2010-04-29 08:51:39 -04:00
KWSys Robot 7b7bf9344c KWSys Nightly Date Stamp 2010-04-29 00:01:07 -04:00
Bill Hoffman fd5b75e3f4 Fix for for bug #10550, fix some errors for an old Sun compiler. 2010-04-28 17:52:46 -04:00
Bill Hoffman a170690fd2 Fix for bug #10550, work around instantiation out of scope 2010-04-28 17:42:22 -04:00
Brad King 9e99ac5879 Fix .pdb name attribute in VS project files
The PDB file name for VCLinkerTool is specified by the xml attribute
"ProgramDatabaseFile", not "ProgramDataBaseFile" (note the lower-case
character 'b').  VS seems to cope with the incorrect capitalization but
the combination of VS 7.1 and Incredibuild does not.  See issue #10614.
2010-04-28 14:48:34 -04:00
KWSys Robot 46bc8fc739 KWSys Nightly Date Stamp 2010-04-28 00:01:02 -04:00
Alex Neundorf 0feb0b2d72 -fix bad check for Apple in AddDirectoryItem() introduced recently
Alex
2010-04-27 21:40:17 +02:00
Brad King 1da611fd46 ctest_update: Report failure in Update.xml
Report in <UpdateReturnStatus> when the update command line returns
non-zero.  Otherwise the failure may be silently ignored since the error
was previously recorded only in the local log file.
2010-04-27 14:10:47 -04:00
KWSys Robot 32856c1be4 KWSys Nightly Date Stamp 2010-04-27 00:01:03 -04:00
Clinton Stimpson 9ced0bf69b ENH: Add simple grouped view. 2010-04-26 16:06:52 -06:00
Brad King 6e1b510319 Remove unused cmData and cmMakefile::DataMap
These were implementation details of the unused methods

  cmMakefile::RegisterData
  cmMakefile::LookupData

We simply remove the methods, members, and class cmData.
2010-04-26 14:22:51 -04:00
KWSys Robot 07bd06bce3 KWSys Nightly Date Stamp 2010-04-26 00:01:03 -04:00
KWSys Robot 3d5d76fd88 KWSys Nightly Date Stamp 2010-04-25 00:01:02 -04:00
KWSys Robot f6b271521a KWSys Nightly Date Stamp 2010-04-24 00:01:06 -04:00
Zach Mullen 6ea9213244 Coverage glob should search in Source dir 2010-04-23 11:22:54 -04:00
Brad King 0328379411 Report commit hash in CMake development versions
For builds from Git repositories, add "-g<commit>" to the end of the
version number.  If the source tree is modified, append "-dirty".
For builds from CVS checkouts, add "-cvs-<branch>".
2010-04-23 10:01:49 -04:00
Brad King e49b6eca4f Teach CMake Policies about tweak version component
Add the [.tweak] version component throughout the policy implementation.
Document all components for the cmake_policy(VERSION) command.  Record
the tweak level in which each policy was introduced (0 for all current
policies).  In generated documentation we report the tweak level only if
it is not zero.  This preserves existing documentation.
2010-04-23 09:50:31 -04:00
Brad King 378acb1d4d Teach cmake_minimum_required about tweak version
The command now accepts four version components in the format

  major[.minor[.patch[.tweak]]]

This corresponds to the new versioning scheme introduced recently.
2010-04-23 09:50:02 -04:00
Brad King 5bfffd6f29 New version scheme to support branchy workflow
Prepare to switch to the workflow described by "git help workflows".  In
this workflow, the "master" branch is always used to integrate topics
ready for release.  Brand new work merges into a "next" branch instead.
We need a new versioning scheme to work this way because the version on
"master" must always increase.

We no longer use an even/odd minor number to distinguish releases from
development versions.  Since we still support cvs checkout of our source
tree we cannot depend on "git describe" to compute a version number
based on the history graph.  We can use the CCYYMMDD nightly date stamp
to get a monotonically increasing version component.

The new version format is "major.minor.patch.(tweak|date)".  Releases
use a tweak level in the half-open range [0,20000000), which is smaller
than any current or future date.  For tweak=0 we do not show the tweak
component, leaving the format "major.minor.patch" for most releases.
Development versions use date=CCYYMMDD for the tweak level.  The
major.minor.patch part of development versions on "master" always
matches the most recent release.

For example, a first-parent traversal of "master" might see

        v2.8.1      2.8.1.20100422    v2.8.2
           |              |              |
  ----o----o----o----o----o----o----o----o----

Since the date appears in the tweak component, the next release can
increment the patch level (or any more significant component) to be
greater than any version leading to it.  Topic branches not ready for
release are published only on "next" so we know that all versions on
master lead between two releases.
2010-04-23 09:44:23 -04:00
Zach Mullen 7049dff85a Implement extra coverage globbing 2010-04-23 09:20:53 -04:00
KWSys Robot 6c76119777 KWSys Nightly Date Stamp 2010-04-23 00:01:04 -04:00
KWSys Robot e498510de9 KWSys Nightly Date Stamp 2010-04-22 00:01:16 -04:00
Alex Neundorf d96371922d -fix typo in HAS_CXX docs (#10578)
Alex
2010-04-21 21:01:06 +02:00
Alex Neundorf b3843bab60 -fix linking to frameworks when crosscompiling from Linux to iPhone (#10526)
Alex
2010-04-21 21:01:06 +02:00
KWSys Robot 45d9106eef KWSys Nightly Date Stamp 2010-04-21 00:01:03 -04:00
KWSys Robot 22e9f2d0ab KWSys Nightly Date Stamp 2010-04-20 00:01:03 -04:00
Brad King 60de059bff KWSys Process: Add OpenBSD process tree kill support
Patch from Chuck Atkins <chuck.atkins@kitware.com>
2010-04-19 16:30:37 -04:00
Brad King 43072405e2 KWSys SharedForward: Add OpenBSD support
Patch from Chuck Atkins <chuck.atkins@kitware.com>
2010-04-19 16:30:23 -04:00
Alex Neundorf 41d6430b52 -don't add the INCLUDE env.var twice to the Eclipse project file
Alex
2010-04-19 18:32:10 +02:00
KWSys Robot 2c156fd18c KWSys Nightly Date Stamp 2010-04-19 00:01:03 -04:00
KWSys Robot 67c42804b9 KWSys Nightly Date Stamp 2010-04-18 00:01:05 -04:00
KWSys Robot c178660d96 KWSys Nightly Date Stamp 2010-04-17 00:01:03 -04:00
KWSys Robot 8df8fd8868 KWSys Nightly Date Stamp 2010-04-16 00:01:05 -04:00
KWSys Robot e04daebd73 KWSys Nightly Date Stamp 2010-04-15 00:01:03 -04:00
Brad King 33ddb23e67 Handle non-ASCII terminators in file(STRINGS)
Commit "Support more special characters in file(STRINGS)" (2009-10-06)
attempted to support parsing strings from binaries produced by the
Portland Group Fortran compiler.  The compiler seems to put an extra
byte just at the end of its string literals.  Previously we dealt with
this by explicitly enumerating bytes known to occur, but it seems that
many such possibilities exist.  Now we support extraction of strings
that end in any non-ASCII character.
2010-04-14 11:44:43 -04:00
KWSys Robot 13e6b430ff KWSys Nightly Date Stamp 2010-04-14 00:01:08 -04:00
KWSys Robot f9bdbf8fd3 KWSys Nightly Date Stamp 2010-04-13 00:01:06 -04:00
KWSys Robot c70850de6d KWSys Nightly Date Stamp 2010-04-12 00:01:04 -04:00
KWSys Robot d33303f22f KWSys Nightly Date Stamp 2010-04-11 00:01:02 -04:00
KWSys Robot c55814170e KWSys Nightly Date Stamp 2010-04-10 00:01:11 -04:00
Alex Neundorf 71812d0b5e -fix typos in docs, patch from Michael Wild
Alex
2010-04-09 21:40:59 +02:00
David Cole 018c13ff73 Patch to avoid short name usage where possible. Get the actual case spelling of a file name on 'Windows' without converting to short name and back again. Avoids bad behavior reported in http://bugs.winehq.org/show_bug.cgi?id=22286 when using cmake under a wine/msys/mingw installation on a Linux box. Thanks to Clinton Stimpson for preparing the patch. 2010-04-09 12:15:06 -04:00
KWSys Robot f468b50e9a KWSys Nightly Date Stamp 2010-04-09 00:01:04 -04:00
KWSys Robot e93b737dd5 KWSys Nightly Date Stamp 2010-04-08 00:01:05 -04:00
KWSys Robot 8ca2fa78b4 KWSys Nightly Date Stamp 2010-04-07 00:01:02 -04:00
KWSys Robot 3917de0998 KWSys Nightly Date Stamp 2010-04-06 00:01:04 -04:00
KWSys Robot ca41b71f0d KWSys Nightly Date Stamp 2010-04-05 00:01:03 -04:00
KWSys Robot 200d40acd1 KWSys Nightly Date Stamp 2010-04-04 00:01:04 -04:00
KWSys Robot ba559a3454 KWSys Nightly Date Stamp 2010-04-03 00:01:03 -04:00
Bill Hoffman cf3e42f811 Partial fix from bug #10503, use full paths to fix custom commands.
This fixes tests ExternalProject and LinkDirectory for VS 2010.
2010-04-02 14:09:06 -04:00
KWSys Robot a63dc3271a KWSys Nightly Date Stamp 2010-04-02 00:01:04 -04:00
KWSys Robot faf30c2502 KWSys Nightly Date Stamp 2010-04-01 00:01:02 -04:00
KWSys Robot e101d9f14e KWSys Nightly Date Stamp 2010-03-31 00:01:05 -04:00
David Cole 003ffe5908 Fix intermingling of test environments when tests run in parallel.
The SaveRestoreEnvironment helper object makes sure that the
original environment is restored immediately after the
StartProcess call returns rather than waiting for the end
of the test. When tests are executed in parallel, there is
no guarantee about the ordering of EndTest calls relative
to StartTest calls. In fact, it would be odd for them to
be nested nicely. Therefore, to avoid the corruption of
the calling ctest's environment, the original environment
must be restored before ForkProcess returns.
2010-03-30 14:08:31 -04:00
KWSys Robot d0b510900d KWSys Nightly Date Stamp 2010-03-30 00:01:03 -04:00
KWSys Robot 2a2a923ec9 KWSys Nightly Date Stamp 2010-03-29 00:01:04 -04:00
KWSys Robot 7a17b72e2c KWSys Nightly Date Stamp 2010-03-28 00:01:03 -04:00
KWSys Robot 9e74971c5f KWSys Nightly Date Stamp 2010-03-27 00:01:03 -04:00
Bill Hoffman 2c6f8de2cc Fix for bug #0010466, fix crash in --help-module. 2010-03-26 16:57:01 -04:00
Dave Partyka 9345833272 BUG: Commit a fix from Rusty to address incorrectly reported memory queries. 2010-03-26 14:18:24 -04:00
Chuck Atkins e750761857 OpenBSD: Work-around static/runtime linker inconsistency
Detect the runtime linker's search path and add to the compile time
linker's search path.  This is needed because OpenBSD's static linker
does not search for shared library dependencies in the same places as
the runtime linker.
2010-03-26 09:33:28 -04:00
KWSys Robot a8abb30c38 KWSys Nightly Date Stamp 2010-03-26 00:01:08 -04:00
KWSys Robot 4273cd9767 KWSys Nightly Date Stamp 2010-03-25 00:01:04 -04:00
KWSys Robot d086218658 KWSys Nightly Date Stamp 2010-03-24 00:01:03 -04:00
KWSys Robot a72b2ccb4c KWSys Nightly Date Stamp 2010-03-23 14:17:23 -04:00
Pat Marion fc4e7dcec0 ENH: Adding symbol for cray compute linux to DynamicLoader.cxx 2010-03-22 10:54:18 -04:00
KWSys Robot 9fd6916362 KWSys Nightly Date Stamp 2010-03-22 00:01:03 -04:00
KWSys Robot 23eb9c9ade KWSys Nightly Date Stamp 2010-03-21 00:01:03 -04:00
KWSys Robot ae58811523 KWSys Nightly Date Stamp 2010-03-20 00:01:03 -04:00
Zach Mullen 4b32ee01f2 Better detection of stop_time being passed. 2010-03-19 09:09:02 -04:00
KWSys Robot 40cb9c89d7 KWSys Nightly Date Stamp 2010-03-19 00:01:05 -04:00
Zach Mullen 9eea95c90f Fix StopTime to also account for localtime being a day ahead of gmtime 2010-03-18 14:48:42 -04:00
Zach Mullen 9676c52c3e Fix for StopTime for cases when gmtime is a day ahead of localtime 2010-03-18 13:53:40 -04:00
Zach Mullen a2fe175647 More debugging of StopTime test 2010-03-18 10:29:02 -04:00
Brad King 1560d9dcca KWSys: Enable process tree killing on kFreeBSD
Teach kwsysProcessKill to identify processes on this platform using the "ps"
command just as on Linux.  Patch from Modestas Vainius <modax@debian.org>.
See issue #10432.
2010-03-18 08:43:05 -04:00
KWSys Robot f1d801e4ea KWSys Nightly Date Stamp 2010-03-18 00:01:05 -04:00
Zach Mullen 0d48f81d32 Test using std::min 2010-03-17 12:12:04 -04:00
Zach Mullen 4c59570bfb Replace min() call with its literal definition 2010-03-17 12:07:10 -04:00
Zach Mullen 0ba9d04117 Add the --stop-time argument
Unit test and script hook for STOP_TIME
2010-03-17 11:04:13 -04:00
KWSys Robot 7f98d73457 KWSys Nightly Date Stamp 2010-03-17 00:01:03 -04:00
KWSys Robot 7881a9f9a6 KWSys Nightly Date Stamp 2010-03-16 00:01:03 -04:00
Bill Hoffman ebdda6ed13 Default to gcc as the compiler.
The compiler id is checked for C++ and C, if there is not one
of those available, then just default to gcc.  This makes it
work with Fortran, or None projects.
2010-03-15 14:53:12 -04:00
KWSys Robot 34ebee5922 KWSys Nightly Date Stamp 2010-03-15 00:01:03 -04:00
KWSys Robot 41ee399fa6 KWSys Nightly Date Stamp 2010-03-14 00:01:04 -05:00
KWSys Robot 84df478a31 KWSys Nightly Date Stamp 2010-03-13 00:01:04 -05:00
KWSys Robot b452e65526 KWSys Nightly Date Stamp 2010-03-12 00:01:11 -05:00
David Cole af92e72362 Add errorlevel checking after each custom command in a sequence.
This makes the behavior of the build with the Visual Studio generators
equivalent to the behavior of makefile based builds. After an error
in a custom command sequence, the build stops and reports an error
rather than executing the remaining commands in the sequence.
2010-03-11 17:04:15 -05:00
Brad King f9268c9c81 Use platform variable for response file flag
Create platform variable "CMAKE_<LANG>_RESPONSE_FILE_LINK_FLAG" to
specify an alternative to "@" for referencing response files.  It
applies specifically to response files with linker options.

See issue #10401.
2010-03-11 09:43:33 -05:00
Brad King 87f0853941 Use forward slashes for objects in response files
Response files are parsed by tools, not by shells.  We teach
cmLocalGenerator::Convert() a new "RESPONSE" output format and use it
for objects listed in response files.  It does not do special slash or
MSYS root translation like the "SHELL" format does.  This is necessary
for GNU tools on Windows to understand response file content.

See issue #10401.
2010-03-11 09:40:24 -05:00
KWSys Robot a4f798d3f7 KWSys Nightly Date Stamp 2010-03-11 00:01:04 -05:00
KWSys Robot d8338e491a KWSys Nightly Date Stamp 2010-03-10 00:01:04 -05:00
KWSys Robot f9213722f3 KWSys Nightly Date Stamp 2010-03-09 00:01:04 -05:00
KWSys Robot e67acbfc01 KWSys Nightly Date Stamp 2010-03-08 00:01:08 -05:00
KWSys Robot 98f2170c4a KWSys Nightly Date Stamp 2010-03-07 00:01:06 -05:00
KWSys Robot 71a74b4ba9 KWSys Nightly Date Stamp 2010-03-06 00:01:06 -05:00
KWSys Robot 0922d4f3f2 KWSys Nightly Date Stamp 2010-03-05 00:01:03 -05:00
KWSys Robot 6a15677a5b KWSys Nightly Date Stamp 2010-03-04 00:01:04 -05:00
Zach Mullen 2fd9b8072b Add unit test for RESOURCE_LOCK test property 2010-03-03 10:33:09 -05:00
KWSys Robot adca29a5be KWSys Nightly Date Stamp 2010-03-03 00:01:03 -05:00
Zach Mullen 767ffba8ff Added RESOURCE_LOCK test property. 2010-03-02 15:38:02 -05:00
KWSys Robot 634c3113ed KWSys Nightly Date Stamp 2010-03-02 00:01:02 -05:00
Zach Mullen 5cfbdb1f80 Close ifstream. 2010-03-01 12:05:58 -05:00
Zach Mullen 348f6c4d8c If tests failed on the last run, have them run first next time 2010-03-01 11:59:00 -05:00
Zach Mullen 09e748c69a Configurable path to CTest cost data file
Allow the user to set the CMake variable CTEST_COST_DATA_FILE, which will be used to store the cost data from test runs.  If not set, defaults to the original location in the build tree Testing/Temporary dir.
2010-03-01 11:06:28 -05:00
Simon Harvey 5771dd2f15 Documentation: Comply with "XHTML 1.0 Strict"
Ensure that the HTML documentation generated by CMake complies with
"XHTML 1.0 Strict":

  - All tags are properly closed and DOCTYPE is specified
  - Useful for downstream XML-processors (e.g. for extracting section
    titles)

See issue #10338.

Signed-off-by: Simon Harvey <simon.harvey@cambridgeflowsolutions.com>
2010-03-01 08:51:20 -05:00
KWSys Robot efa4eb446e KWSys Nightly Date Stamp 2010-03-01 00:01:06 -05:00
KWSys Robot 6474692076 KWSys Nightly Date Stamp 2010-02-28 00:01:03 -05:00
KWSys Robot fc871caebb KWSys Nightly Date Stamp 2010-02-27 00:01:04 -05:00
Zach Mullen b4d27dc041 Use historical average of test times to schedule tests. 2010-02-26 11:02:05 -05:00
KWSys Robot 55f012989c KWSys Nightly Date Stamp 2010-02-26 00:01:03 -05:00
KWSys Robot c63e4bd9be KWSys Nightly Date Stamp 2010-02-25 00:01:06 -05:00
KWSys Robot c38ffcf98c KWSys Nightly Date Stamp 2010-02-24 00:01:02 -05:00
KWSys Robot 73395fb0eb KWSys Nightly Date Stamp 2010-02-23 00:01:05 -05:00
KWSys Robot 6c300a04c4 KWSys Nightly Date Stamp 2010-02-22 00:01:04 -05:00
KWSys Robot da402c2f7e KWSys Nightly Date Stamp 2010-02-21 00:01:03 -05:00
KWSys Robot 88a4f2e3ec KWSys Nightly Date Stamp 2010-02-20 00:01:02 -05:00
Zach Mullen 57efb4a497 BUG: We shouldn't be setting the HideWindow option on the test processes we create. 2010-02-19 13:28:04 -05:00
KWSys Robot 2eeccbe227 KWSys Nightly Date Stamp 2010-02-19 00:01:07 -05:00
Brad King 282ba89558 Clarify CMAKE_MODULE_PATH documentation
Reword the documentation to make it clear that the variable can be a
list of directories.
2010-02-18 12:05:51 -05:00
KWSys Robot 19c42fb582 KWSys Nightly Date Stamp 2010-02-18 00:01:03 -05:00
KWSys Robot 27dac9fa86 KWSys Nightly Date Stamp 2010-02-17 00:01:05 -05:00
KWSys Robot 71e4fe7c7e KWSys Nightly Date Stamp 2010-02-16 00:01:03 -05:00
KWSys Robot 6301f98664 KWSys Nightly Date Stamp 2010-02-15 00:01:03 -05:00
KWSys Robot 596af9f86d KWSys Nightly Date Stamp 2010-02-14 00:01:03 -05:00
Alexander Neundorf 10aece0d81 -fix bug for Eclipse projects where targets which are in a subdir which has the same name as the project (... and so the linked resource) could not be built
http://public.kitware.com/Bug/view.php?id=9978
Now instead of one linked resource for each project() just one linked
resource to the top level source directory is created.
This should really avoid this type of name clashes. And to me it looks also
much less confusing.
Hopefully the name "[Source directory]" containing a space and square
brackets doesn't lead to problems somewhere. Here it works.

Alex
2010-02-13 11:08:42 -05:00
KWSys Robot aa2b217d1d KWSys Nightly Date Stamp 2010-02-13 00:01:05 -05:00
David Cole a41345feca Preemptively fix line too long problem before tomorrow's dashboard has a chance to complain about it. 2010-02-12 15:01:37 -05:00
David Cole e3293f8e46 Fix for issue #9125 - invent CMAKE_XCODE_ATTRIBUTE_* variable mechanism. If there are variables that begin with CMAKE_XCODE_ATTRIBUTE_ then add corresponding attributes into the generated Xcode project file. 2010-02-12 14:09:54 -05:00
Brad King bf4d2f6cc7 Fix KWSYS_PLATFORM_INFO_TEST when user removes tree
In commit 'Create KWSYS_PLATFORM_INFO_TEST macro' (2009-11-20) we
implemented the macro to use a cache entry to avoid re-running the
try_compile().  However, the output copied from the try_compile is
needed on every configure.  If the user wipes out the build tree but not
the cache file then the try_compile() will not re-run to recreate the
needed file.  We address the problem by teaching the macro to run the
try_compile() whenever its output file does not exist.
2010-02-12 10:46:50 -05:00
Brad King 41a608a75d Fix rule hash persistence file generation
We store custom command rule hashes in CMakeFiles/CMakeRuleHashes.txt
persistently across CMake runs.  When the rule hash changes we delete
the custom command output file and write a new hash into the persistence
file.

This functionality was first added by the commit 'Introduce "rule
hashes" to help rebuild files when rules change.' (2008-06-02).
However, the implementation in cmGlobalGenerator::CheckRuleHashes kept
the file open for read when attempting to rewrite a new file.  On
Windows filesystems this prevented the new version of the file from
being written!  This caused the first set of rule hashes to be used
forever within a build tree, meaning that all custom commands whose
rules changed would be rebuilt every time CMake regenerated the build
tree.

In this commit we address the problem by splitting the read and write
operations into separate methods.  This ensures that the input stream is
closed before the output stream opens the file.
2010-02-12 08:00:53 -05:00
KWSys Robot 41273582a5 KWSys Nightly Date Stamp 2010-02-12 00:01:05 -05:00
KWSys Robot b640884db7 KWSys Nightly Date Stamp 2010-02-11 00:01:03 -05:00
David Cole 90f6a7270a Fix for fix for issue #2336 - do not specify CMAKE_BUILD_TYPE when the ctest -C configuration type string is empty. 2010-02-10 14:47:21 -05:00
KWSys Robot b0c6ca6cc0 KWSys Nightly Date Stamp 2010-02-10 00:01:07 -05:00
Brad King 8bd231866a cmCTestGIT: Refresh index for local modifications
We use 'git diff-index' to detect local modifications after pull.  On
some filesystems the work tree timestamps of a few files may be dated
after the index, making them appear as locally modified.  We address the
problem by using 'git update-index --refresh' to refresh the index and
avoid false local modifications.
2010-02-09 13:31:32 -05:00
Brad King 2ec78b4de7 cmCTestBZR: Strip trailing slashes from paths
Our internal path processing methods assume no trailing slashes, but bzr
adds trailing slashes to updated directories.  This can lead to empty
entries in Update.xml files.  We address the problem by stripping the
slashes as soon as they are parsed.
2010-02-09 13:31:12 -05:00
KWSys Robot 1b427400d3 KWSys Nightly Date Stamp 2010-02-09 00:01:03 -05:00
Zach Mullen 41fcf6e155 Moved call to cache CDash version information to cmCTest::initialize. Also added a 3 second timeout when requesting the version from the server. Added an option to the CTestConfiguration that will be used to determine whether to query the version information at all. (Behavior for this setting is not yet defined.) Updated CMake's local CDash version setting to 1.6. 2010-02-08 09:47:39 -05:00
KWSys Robot a7666d303c KWSys Nightly Date Stamp 2010-02-08 00:01:04 -05:00
KWSys Robot 7583e57ae5 KWSys Nightly Date Stamp 2010-02-07 00:01:04 -05:00
KWSys Robot 07323b3656 KWSys Nightly Date Stamp 2010-02-06 00:01:04 -05:00
KWSys Robot b3a1a50bc7 KWSys Nightly Date Stamp 2010-02-05 00:01:06 -05:00
Bill Hoffman 46ff4bbd0a Fix HPUX issue with test, by doing the query to cdash for its version before any test is started. 2010-02-04 19:00:20 -05:00
Zach Mullen a0cc49a915 Support for relative paths to executables in MemCheck tests. Also fixed a bug causing memcheck args to be overwritten repetitively. 2010-02-04 11:24:57 -05:00
KWSys Robot 9ef2491328 KWSys Nightly Date Stamp 2010-02-04 00:01:02 -05:00
Zach Mullen c87282ce52 Re-enabled Scheduler test and fixed the underlying problem. 2010-02-03 16:32:26 -05:00
KWSys Robot 6fe2376e2d KWSys Nightly Date Stamp 2010-02-02 23:49:22 -05:00
KWSys Robot ccb9053a4e KWSys Nightly Date Stamp 2010-02-01 23:49:31 -05:00
David Cole 9a35d67bce Fix line length style issue. 2010-02-01 21:43:51 -05:00
KWSys Robot 17e5e5fcb0 KWSys Nightly Date Stamp 2010-01-31 23:49:33 -05:00
KWSys Robot 977c5c2b2d KWSys Nightly Date Stamp 2010-01-30 23:49:39 -05:00
KWSys Robot 85018330ec KWSys Nightly Date Stamp 2010-01-29 23:49:46 -05:00
David Cole 6ee87b2e5c Fix issue #10155 - default value of CMAKE_OSX_DEPLOYMENT_TARGET should always be the empty string. When the value of CMAKE_OSX_DEPLOYMENT_TARGET is the empty string, the -mmacosx-version-min flag should not show up on the compiler command line. The logic for selecting default value of CMAKE_OSX_SYSROOT is orthogonal to and independent of the value of the deployment target. The default value for CMAKE_OSX_SYSROOT is the SDK that corresponds to the current version of Mac OSX on which cmake is running. 2010-01-29 11:56:35 -05:00
KWSys Robot 42c3eb85d6 KWSys Nightly Date Stamp 2010-01-28 23:49:57 -05:00
KWSys Robot addeec72e3 KWSys Nightly Date Stamp 2010-01-27 23:50:04 -05:00
Brad King baf8e99382 KWSys: Remove $Id$ from MD5.c
This CVS keyword was copied into the file with the rest of the
implementation.  It has no meaning outside its original project tree.
2010-01-27 08:51:58 -05:00
KWSys Robot 54cb05238b KWSys Nightly Date Stamp 2010-01-26 23:50:05 -05:00
Dave Partyka f74eb63967 COMP: remove exporting String as VS10 attempts to export its parents (basic_string) which causes all kinds of multiply defined symbols at link time. 2010-01-26 17:19:23 -05:00
KWSys Robot 42d76e8b82 KWSys Nightly Date Stamp 2010-01-25 23:50:10 -05:00
KWSys Robot 9348f626f9 KWSys Nightly Date Stamp 2010-01-24 23:50:16 -05:00
Alexander Neundorf 5f540dcbf3 -make paths with spaces work in the CodeBlocks generator with MinGW (#10014)
Alex
2010-01-24 15:11:58 -05:00
KWSys Robot 0999bd7fb8 KWSys Nightly Date Stamp 2010-01-23 23:50:22 -05:00
KWSys Robot 6e54834215 KWSys Nightly Date Stamp 2010-01-22 23:50:28 -05:00
KWSys Robot 634011f7fa KWSys Nightly Date Stamp 2010-01-21 23:50:33 -05:00
KWSys Robot 8c7b3a21cc KWSys Nightly Date Stamp 2010-01-20 23:50:38 -05:00
KWSys Robot 02dd3a8897 KWSys Nightly Date Stamp 2010-01-19 23:50:47 -05:00
KWSys Robot d23d3fd6dd KWSys Nightly Date Stamp 2010-01-18 23:50:52 -05:00
KWSys Robot a17e32199f KWSys Nightly Date Stamp 2010-01-17 23:51:18 -05:00
KWSys Robot b63b4ae1ea KWSys Nightly Date Stamp 2010-01-16 23:51:06 -05:00
KWSys Robot c04fb498af KWSys Nightly Date Stamp 2010-01-15 23:51:09 -05:00
KWSys Robot 776a8743e0 KWSys Nightly Date Stamp 2010-01-14 23:51:21 -05:00
KWSys Robot 7249e7d553 KWSys Nightly Date Stamp 2010-01-13 23:51:22 -05:00
Brad King 8779559dd5 Remove unused #include <windows.h> 2010-01-13 13:49:08 -05:00
Brad King b05ed46749 Name Cygwin DLLs with SOVERSION, not VERSION
Cygwin versions .dll files by putting the version number in the file
name.  Our fix to issue #3571 taught CMake to do this, but it used the
VERSION target property.  It is better to use the SOVERSION property
since that is the interface (rather than implementation) version.

Change based on patch from issue #10122.
2010-01-13 13:00:29 -05:00
Brad King 879b47e6ba KWSys: Fix SharedForward on Cygwin without -mwin32
When building on Cygwin without -mwin32, the _WIN32 macro may not be
defined.  SharedForward must still set the PATH environment variable to
ensure runtime dependencies are found.

The 'ldd' wrapping feature uses 'cygcheck' for now since a real ldd tool
is not available in Cygwin 1.5.  We can change to use the real ldd when
we choose to stop supporting legacy Cygwin and require 1.7.
2010-01-13 12:58:34 -05:00
Brad King 5b5372059c Enable extra CodeBlocks generator on Cygwin
This generator builds correctly on Cygwin so it should be enabled.
Change based on patch from issue #10122.
2010-01-13 12:58:08 -05:00
Brad King fdbe16c1f4 Use if(CYGWIN) instead of if(WIN32 AND UNIX)
CMake has defined CYGWIN on Cygwin for years, so we no longer need the
legacy form of the test.  Change based on patch from issue #10122.
2010-01-13 12:57:38 -05:00
KWSys Robot 113013fe11 KWSys Nightly Date Stamp 2010-01-12 23:51:32 -05:00
Brad King 8d0161c8ff Trust umask for file permissions
Open output files with mode 0666 so that permissions are not more strict
than umask permits.  See issue #10126.
2010-01-12 11:57:01 -05:00
KWSys Robot b5100623f3 KWSys Nightly Date Stamp 2010-01-11 23:51:41 -05:00
KWSys Robot d7eca7093a KWSys Nightly Date Stamp 2010-01-10 23:51:49 -05:00
KWSys Robot d3ddeb808d KWSys Nightly Date Stamp 2010-01-09 23:51:47 -05:00
KWSys Robot 6ea1581dfe KWSys Nightly Date Stamp 2010-01-08 23:51:49 -05:00
Bill Hoffman 4cf560fb8b change the name to be closer to NMake Makefiles which is basically what jom parses 2010-01-08 13:31:37 -05:00
KWSys Robot f89b0abad5 KWSys Nightly Date Stamp 2010-01-07 23:51:56 -05:00
KWSys Robot aa658f6a63 KWSys Nightly Date Stamp 2010-01-06 23:52:02 -05:00
Marcus Hanwell 58d82cd5bd COMP: Added missing case for the export macro, thanks to Kenneth Moreland. 2010-01-06 15:31:25 -05:00
Marcus Hanwell b0a0714343 ENH: Added support for building kwsys with GCC visibility support.
When kwsys is built using GCC visibility support can be used. This is similar
to the way that Windows exports symbols in DLLs, and requires projects that
build kwsys to change the default visibility using some compiler flags. See
http://gcc.gnu.org/wiki/Visibility for more details about GCC visibility.
2010-01-06 12:00:36 -05:00
KWSys Robot 4671b39363 KWSys Nightly Date Stamp 2010-01-05 23:52:08 -05:00
Bill Hoffman 42d175f26c Fix a line length issue. 2010-01-05 08:53:37 -05:00
KWSys Robot e0d09ef0a8 KWSys Nightly Date Stamp 2010-01-04 23:52:15 -05:00
Brad King cbfbb86b58 Fix escapes in Fortran depend.make entries
Makefile dependencies must be escaped using cmLocalGenerator::Convert
with the cmLocalGenerator::MAKEFILE option.  This fixes Fortran module
dependencies with spaces in the path.  We test the fix by adding a space
to one of the module paths in the Fortran test.
2010-01-04 10:18:44 -05:00
KWSys Robot 40641e3cba KWSys Nightly Date Stamp 2010-01-03 23:52:20 -05:00
KWSys Robot 827b636393 KWSys Nightly Date Stamp 2010-01-02 23:52:40 -05:00
KWSys Robot d92a43b09a KWSys Nightly Date Stamp 2010-01-01 23:52:33 -05:00
KWSys Robot 79c0485678 KWSys Nightly Date Stamp 2009-12-31 23:52:47 -05:00
KWSys Robot 729ee803d6 KWSys Nightly Date Stamp 2009-12-30 23:52:48 -05:00
Zach Mullen 0a0788a72d Enhanced CTest HTTP Request API to support PUT file uploads. 2009-12-30 11:10:42 -05:00
Alexander Neundorf 646e71f290 fix line lengths
Alex
2009-12-30 07:31:10 -05:00
KWSys Robot 978de74d6e KWSys Nightly Date Stamp 2009-12-29 23:53:04 -05:00
David Cole b0d5fa0bc7 Fix for issue #5041 - improve error messages that may occur during ctest_build and ctest_configure.
The improved text gives very clear information when either the CMakeLists.txt or CTestConfig.cmake file is missing. Hopefully, it makes it easier for those poor future souls who encounter these messages to solve their problems quickly.
2009-12-29 18:03:45 -05:00
David Cole 47bd8637ab Fix crash on Continuous dashboard - related to last commit fixing issue #10060. Do not call ShouldCreateNewTag if command is NULL... 2009-12-29 15:48:14 -05:00
David Cole aad15c3abf Fix issue #10060 - add APPEND arg to ctest_start command.
If APPEND is given to ctest_start, it will read the tag from the current existing Testing/TAG file rather than creating a new one based on the current time stamp. This allows a developer to run several dashboard scripts in a row, all of which will share the same tag/stamp/buildid when they finally get submitted to CDash. Now you can split the running of build phases and test phases for the same dashboard row into multiple scripts.
2009-12-29 14:38:31 -05:00
KWSys Robot 5ce7e35960 KWSys Nightly Date Stamp 2009-12-28 23:52:55 -05:00
David Cole 474cf519a0 Fix mem leak reported by valgrind. 2009-12-28 13:44:38 -05:00
David Cole 10a4abddfd Add missing archive_read_finish calls to fix some of the presently reported valgrind memory leaks. 2009-12-28 13:15:19 -05:00
KWSys Robot 9e96d80b24 KWSys Nightly Date Stamp 2009-12-27 23:53:18 -05:00
KWSys Robot 2dc2b13e86 KWSys Nightly Date Stamp 2009-12-26 23:53:12 -05:00
KWSys Robot 7d67773d9b KWSys Nightly Date Stamp 2009-12-25 23:53:22 -05:00
KWSys Robot 685b305c7e KWSys Nightly Date Stamp 2009-12-24 23:53:19 -05:00
David Cole 8952f49803 Fix issue #9042 - correctly this time. Fix failing tests on VS 7, 8 and 9 dashboards. Use ConvertToXMLOutputPathSingle instead of ConvertToOptionallyRelativeOutputPath to handle spaces in the path and double quoting properly. Related to commit trying to fix issue #9042 from yesterday. 2009-12-24 11:40:14 -05:00
KWSys Robot 5da839a759 KWSys Nightly Date Stamp 2009-12-23 23:53:25 -05:00
David Cole 4d3a387ac6 Preserve environment variables across calls to cmCTestScriptHandler::RunConfigurationScript. This will help prevent problems like we are currently experiencing (regarding CMake continuous dashboards only running once each day because the HOME environment variable is modified indirectly by a command in a called script, but affects the environment in the calling script). 2009-12-23 14:34:46 -05:00
David Cole 68ed752b7d Fix issue #9042 - use relative path for pdb file name when CMAKE_USE_RELATIVE_PATHS is on. 2009-12-23 14:17:51 -05:00
Alexander Neundorf c1beb3b141 fix the way the PATH and other related env.vars are stored in the eclipse project file when using MSVC
Before this commit, the value of PATH at cmake time was put into the eclipse
project file. The problem with this is that this will be lost the first time
cmake is rerun from an build inside eclipse which was started without the
environment externally already set.
This patch now:
-adds the env.var to the cache if it is not already in the cache
-reuses the variable from the cache if it is in the cache, but not in the env.
-uses the variable from the cache if it contains the whole content of the
current env.var (e.g. if it is the full PATH plus the MSVC dirs)

Also store INTEL_LICENSE_FILE in the project file if an Intel compiler is used.

Alex
2009-12-23 13:56:01 -05:00
Alexander Neundorf a1614caf37 disable cmake's verbose output in the Eclipse and KDevelop generators
The Eclipse and KDevelop generators set the VERBOSE environment variable to
TRUE in the project files, because they must be able to "see" the full
command lines and errors, otherwise they can't parse the errors. But the
VERBOSE env.var. also enables cmakes own verbose output, which can be quite
long. This commit introduces an environment variable CMAKE_NO_VERBOSE, which
when set disables cmake's verbose output also when VERBOSE is set. This
env.var is now set by both the Eclipse and the KDevelop generators.

Alex
2009-12-23 13:51:46 -05:00