8970 Commits

Author SHA1 Message Date
Brad King
86aeefc7c9 COMP: Fix installation of cmake-gui by CMake 2.4
When CMake 2.4 generates the build tree for CMake itself it asks the
built CMake to install itself using the rules that 2.4 generated.  Since
the install rules use undocumented commands that are not compatible from
2.4 to 2.6 we need a special case to avoid failure.  This sets a special
indicator variable in the install rules that enables a compatibility
hack to support the old install rule format.
2009-01-05 11:05:57 -05:00
Brad King
e2fa035c70 ENH: Refactor internal file(INSTALL) arg parsing
The internal file(INSTALL) command argument parsing used several
booleans with at most one set to true at a time to track argument
parsing state.  This refactors it to use one enumeration.
2009-01-05 11:03:41 -05:00
Brad King
024aa044de BUG: Remove old get_target_property docs
The get_target_property command contained some outdated documentation of
the LOCATION and TYPE properties.  This removes it since they are now
documented in the properties list section of the documentation.
2009-01-05 09:53:22 -05:00
Brad King
d7ddcc214f ENH: Enable LOCATION property for imported targets
Previously we left the LOCATION property undefined for imported targets
since it should no longer be used for non-imported targets.  However, in
the case we do not know the name of an available imported configuration,
it is more readable to get the LOCATION property than LOCATION_<CONFIG>
for a bogus configuration <CONFIG>.  This enables LOCATION for imported
targets and returns an unspecified available imported configuration.
2009-01-05 09:53:14 -05:00
Brad King
57dd0d95e9 STYLE: Nightly Date Stamp 2009-01-05 00:03:11 -05:00
Alexander Neundorf
8b67694fd1 STYLE: changed "one may" into "it should" to make it stronger
Alex
2009-01-04 04:12:52 -05:00
Brad King
9ae04f6feb STYLE: Nightly Date Stamp 2009-01-04 00:03:10 -05:00
Brad King
8df4340909 ENH: Clarify FATAL_ERROR option to min-req command
The FATAL_ERROR to cmake_minimum_required is useful for projects that
require 2.6 to convince CMake 2.4 to error out.  This clarifies its
usefulness in the documentation.
2009-01-03 15:48:13 -05:00
Brad King
cd7585df22 ENH: Ignore unknown cmake_minimum_required args
When cmake_minimum_required is called with an unknown argument it should
not complain about it if the version specified is in the future.  This
allows the proper error to be shown about the current CMake being too
old.
2009-01-03 15:47:58 -05:00
Brad King
ee1d1b2c68 STYLE: Nightly Date Stamp 2009-01-03 00:03:09 -05:00
Brad King
3e484ceaae STYLE: Nightly Date Stamp 2009-01-02 00:03:19 -05:00
Brad King
68ca6024b0 STYLE: Nightly Date Stamp 2009-01-01 00:03:31 -05:00
Brad King
4fe3af3469 STYLE: Nightly Date Stamp 2008-12-31 00:03:25 -05:00
David Cole
9457ca3cf5 ENH: Add OPTIONS argument to the ctest_configure command so that you can pass -D arguments to the cmake configure step from a ctest -S script. Also clarify/correct some not so helpful error messages. 2008-12-30 09:13:02 -05:00
Brad King
baecf2a31c STYLE: Nightly Date Stamp 2008-12-30 00:03:23 -05:00
Bill Hoffman
ede2be4be1 ENH: add start end time for procs 2008-12-29 17:49:17 -05:00
Brad King
a075cfe976 STYLE: Nightly Date Stamp 2008-12-29 00:03:40 -05:00
Brad King
8c9666c821 STYLE: Nightly Date Stamp 2008-12-28 00:03:32 -05:00
Brad King
7277723ab1 STYLE: Nightly Date Stamp 2008-12-27 00:03:40 -05:00
David Cole
61cda77869 STYLE: Fix line length violation. 2008-12-26 15:27:01 -05:00
Brad King
85a46e9e51 BUG: Fix same-file check for directory ordering
When computing runtime search path ordering a constraint exists when a
file that may be found by the runtime search exists in a directory other
than that containing the desired file.  We test whether a potential
conflict is really the same due to a symlink.  Recently the change to
cmFindLibraryCommand to load directory content created a case in which
the same-file check would be incorrectly skipped.  This avoids skipping
the check.
2008-12-26 13:28:20 -05:00
Brad King
3e0bb83841 STYLE: Nightly Date Stamp 2008-12-26 00:03:39 -05:00
Brad King
69dfb275e7 STYLE: Nightly Date Stamp 2008-12-25 00:03:54 -05:00
Brad King
df2321f774 STYLE: Nightly Date Stamp 2008-12-24 00:03:51 -05:00
Brad King
24d9817677 STYLE: Nightly Date Stamp 2008-12-23 00:03:58 -05:00
Brad King
baf324abd8 STYLE: Nightly Date Stamp 2008-12-22 00:03:53 -05:00
Brad King
9407c6ca12 STYLE: Nightly Date Stamp 2008-12-21 00:03:59 -05:00
Brad King
32fcf2dd74 STYLE: Nightly Date Stamp 2008-12-20 00:04:05 -05:00
Bill Hoffman
690f83b81b STYLE: fix shadow warning 2008-12-19 10:19:37 -05:00
Brad King
0d7c6ee67b STYLE: Nightly Date Stamp 2008-12-19 00:04:09 -05:00
Bill Hoffman
f5ee5cc04f BUG: partial fix for #8056 2008-12-18 21:59:25 -05:00
Bill Hoffman
5b1139caea BUG: fix for bug #8224 fix crash 2008-12-18 21:57:42 -05:00
Bill Hoffman
269ce52ad5 BUG: fix spelling 2008-12-18 21:52:46 -05:00
Brad King
0c85e2e627 COMP: Add set_directory_properties to bootstrap
We now need this command in the Tests/CMakeLists.txt file.
2008-12-18 14:56:30 -05:00
Brad King
0a83aa6f57 BUG: Fix windows command line escape for empty arg
On Windows the KWSys System package generates escapes for command-line
arguments.  This fix enables quoting of the empty string as an argument.
This also adds a test to pass an empty argument to a custom command.
2008-12-18 13:36:58 -05:00
Brad King
4c725d1e0e ENH: Minor readability improvement in CTest output
When ctest --build-and-test runs the --test-command its output did not
quote the arguments of the command being tested making it difficult to
read.  This adds the quotes.  This also changes the wording of the
failure case to not sound like CTest could not run the executable when
in fact it ran and returned failure.
2008-12-18 12:27:59 -05:00
Brad King
1e2c7a7bb3 BUG: Fix crash when running internal CTest
When CTest encounters a test whose executable is the ctest executable
iteslf, it just invokes code inside itself to avoid starting a new
process.  This fixes a null-pointer dereference in the logging code of
that case.
2008-12-18 12:27:54 -05:00
David Cole
0fafdb7eb8 BUG: Do not copy permissions of files when making the copy in an install rule. If the source file was read-only, this prevents the subsequent set of the destination file's modification time, making the copied file always different in time-stamp than the original and always installing a new file with a new time stamp (but the same content) causing unnecessary downstream incremental rebuilds. As part of this fix, add an optional copyPermissions parameter to the SystemTools routines CopyFileIfDifferent, CopyFileAlways, CopyAFile and CopyADirectory. The copyPermissions parameter defaults to true to preserve the behavior of these routines for existing callers. 2008-12-18 10:43:24 -05:00
Brad King
f8c0dc27b5 STYLE: Remove useless install generator typedefs
The cmInstall*Generator classes all derive from cmInstallGenerator which
provides the Indent typedef so they do not need to provide it
2008-12-18 10:06:09 -05:00
Brad King
62a9fc7e94 COMP: Restore fixes to generated lexer
The command argument lexer was recently regenerated which erased some
fixes that had been applied directly to the output.  This restores the
fixes and adds reminder notes in the generation instructions.
2008-12-18 09:58:06 -05:00
Brad King
8d4eda5781 BUG: Move previous parser bugfixes into input file
The command argument parser code is generated by bison.  This change
restores some fixes previously applied to the generated output that were
destroyed by regenerating the parser source.  This time the fixes have
been put in the input file so regenerating the parser will not destroy
them again.
2008-12-18 09:58:01 -05:00
Clinton Stimpson
e382ec035e ENH: Remove Application category. See #8151. 2008-12-18 09:37:20 -05:00
Brad King
93920277f4 STYLE: Nightly Date Stamp 2008-12-18 00:04:10 -05:00
Brad King
ae7f2b47b3 COMP: Fix unused yyunput warning in lexer
This adds the "nounput" option to the flex input file so that yyunput is
not generated.  The function is static but not used so some compilers
warn.
2008-12-17 09:33:18 -05:00
Brad King
3958b3e112 ENH: Teach find_package about more install dirs
We now search in

  <prefix>/<name>*/
  <prefix>/<name>*/(cmake|CMake)

when looking for package configuration files.  This is useful on Windows
since the Program Files folder is in CMAKE_SYSTEM_PREFIX_PATH.  These
paths are the Windows equivalent to the Apple convention application and
framework paths we already search.  See issue #8264.
2008-12-17 09:24:05 -05:00
Brad King
625ef26163 ENH: Allow most characters in ENV variable refs
The $ENV{VAR} syntax permits access to environment variables.  This
teaches CMake to recognize most characters in the VAR name since some
environments may have variables with non-C-identifier characters.
2008-12-17 08:24:35 -05:00
Brad King
093cfc22f1 STYLE: Nightly Date Stamp 2008-12-17 00:04:11 -05:00
Clinton Stimpson
b0c8b15fb9 ENH: Improve performance with file completion. Fix for #8292. 2008-12-16 15:15:33 -05:00
Clinton Stimpson
64b377d707 ENH:
For bug #7191.
Improvements to the dialog that sets up the first configure.
Fixing the large size of it by breaking it up into a wizard.
Also incorporated suggestions from bug report.
2008-12-16 15:00:17 -05:00
Brad King
2d842b6798 BUG: find_package must push/pop policies
When the find_package command loads a <name>-version.cmake file to test
the package version it must prevent the version file from affecting
policy settings.  Therefore the policy settings must be pushed and
popped.
2008-12-16 09:23:41 -05:00