8868 Commits

Author SHA1 Message Date
Bill Hoffman
600470e5ca BUG: 7763 fix, OPTIMIZATION was not set right. Also fix for BUG 7764, put XCODE_ATTRIBUTES_ last 2008-10-02 13:49:32 -04:00
Bill Hoffman
71fee8522e STYLE: fix line length issues 2008-10-02 09:18:47 -04:00
Brad King
efd096118f STYLE: Nightly Date Stamp 2008-10-01 23:56:00 -04:00
Bill Hoffman
05f908e08c BUG: fix for 6280, -E time was not sending back return value 2008-10-01 16:16:43 -04:00
Bill Hoffman
32bc02d660 BUG: undo fix for 7292 because a switched file should show up as an odd thing on the dashbaord 2008-10-01 12:46:45 -04:00
Bill Hoffman
049e3da2ec STYLE: fix hidden variable warning 2008-10-01 12:45:49 -04:00
Bill Hoffman
ab409fec89 BUG: fix for 7738, allow for spaces in the package target path to CPackConfig files 2008-10-01 09:50:11 -04:00
Bill Hoffman
ecf312ccc8 STYLE: fix line length stuff for KWStyle 2008-10-01 09:04:27 -04:00
Brad King
8a704d5686 STYLE: Nightly Date Stamp 2008-09-30 23:56:05 -04:00
Brad King
d424158dc1 STYLE: Nightly Date Stamp 2008-09-29 23:56:13 -04:00
Brad King
5824aa6143 STYLE: Nightly Date Stamp 2008-09-28 23:56:16 -04:00
Brad King
9b13b6a05e STYLE: Nightly Date Stamp 2008-09-27 23:56:25 -04:00
Brad King
734ef07548 COMP: Avoid incompatible pointer warning
In SharedForward, the call to execvp warned on MinGW because the
signature declared in process.h has an extra const.  We use an explicit
cast to convert the pointer type.
2008-09-27 08:04:13 -04:00
Brad King
f01df7fa3d STYLE: Nightly Date Stamp 2008-09-26 23:56:27 -04:00
Brad King
d82f98f8b1 ENH: Add test for KWSys SharedForward
This tests the basic capability of running another executable from the
build tree.
2008-09-26 08:24:31 -04:00
Brad King
d6643ebba4 BUG: Fix SharedForward with spaces on windows
The windows execvp function does not re-escape arguments correctly.
Instead we generate the escape sequences before calling it.
2008-09-26 08:24:25 -04:00
Brad King
014f684317 BUG: Fix SharedForward in-tree detection
To detect when the launcher is running from the build tree we now test
if the directory containing it is the same as the build-tree directory
using an inode test instead of string comparison.  This makes it more
robust on case-insensitive filesystems and other quirky situations.
2008-09-26 08:24:20 -04:00
Brad King
97c7c86898 COMP: Avoid 64-to-32-bit integer conversion warning
In SharedForward we are only dealing with command-line-length strings so we
need not worry about integer overflow.
2008-09-26 08:24:15 -04:00
Brad King
1f33e26efc STYLE: Nightly Date Stamp 2008-09-25 23:56:34 -04:00
Bill Hoffman
5a67665f68 BUG: fix for bug 7733, document that debug try compile may break the build 2008-09-25 16:52:46 -04:00
Brad King
f8bc0492e1 ENH: Create $CACHE{VAR} syntax
This syntax allows reading of cache entries even when variables of the
same name have been defined in the local scope.  See issue #7715.
2008-09-25 10:21:15 -04:00
Brad King
883d8e186c STYLE: Nightly Date Stamp 2008-09-24 23:56:41 -04:00
Bill Hoffman
d31c890220 ENH: missed one 2008-09-24 10:01:32 -04:00
Bill Hoffman
302aadadb3 STYLE: fix compiler warning 2008-09-24 09:57:52 -04:00
Brad King
5f57efb417 BUG: Skip a command if its arguments fail to parse
If the arguments to a command fail to parse correctly due to a syntax
error, the command should not be invoked.  This avoids problems created
by processing of commands with bad arguments.  Even though the build
system will not be generated, the command may affect files on disk that
persist across CMake runs.
2008-09-24 08:51:33 -04:00
Brad King
dbd88e00c7 ENH: Improve context for errors in macros
We now properly report the source location of command arguments inside
macros instead of using the macro invocation site.  No information is
lost because full call-stack information is already reported.
2008-09-24 08:51:26 -04:00
Brad King
d524f3675e ENH: Improve argument parsing error messages
Previously error messages produced by parsing of command argument
variable references, such as bad $KEY{VAR} syntax or a bad escape
sequence, did not provide good context information.  Errors parsing
arguments inside macro invocations gave no context at all.  Furthermore,
some errors such as a missing close curly "${VAR" would be reported but
build files would still be generated.

These changes teach CMake to report errors with good context information
for all command argument parsing problems.  Policy CMP0010 is introduced
so that existing projects that built despite such errors will continue
to work.
2008-09-24 08:51:19 -04:00
Brad King
4a1317de36 STYLE: Nightly Date Stamp 2008-09-23 23:56:43 -04:00
Brad King
5fd54d7946 BUG: Fix lib/ to lib/64/ search path conversion
Automatic generation of 64-bit library search paths must preserve
trailing slashes.  This fixes a failure case exposed by the recent
rewrite of find_library, which assumes trailing slashes occur on all
search paths.
2008-09-23 13:34:23 -04:00
Bill Hoffman
5778b6efe9 ENH: one more fix for HAIKU 2008-09-23 12:04:39 -04:00
Bill Hoffman
7fd080d695 STYLE: fix warning and rename method 2008-09-23 10:15:13 -04:00
Brad King
b6d799c407 STYLE: Nightly Date Stamp 2008-09-22 23:56:53 -04:00
Bill Hoffman
52e6733fbc BUG: fix 7669, cpack did not work with symlinks 2008-09-22 18:12:54 -04:00
Bill Hoffman
67dc176ffa ENH: a few more haiku fixes, stop the debugger from coming up for tests 2008-09-22 14:05:13 -04:00
Bill Hoffman
43fe0d3978 ENH: add max width option to ctest ouptut 2008-09-22 14:04:13 -04:00
Brad King
434a99bbeb ENH: Teach find_library to find OpenBSD-style libs
OpenBSD shared libraries use a ".so.<major>.<minor>" extension and do
not have a symlink with just a ".so" extension.  Its "ld" is capable of
finding the library with the best version.  This change adds support for
finding such libraries.  See issue #3470.
2008-09-22 11:08:17 -04:00
Brad King
6b85166920 ENH: Refactor find_library search logic
Previously we searched for library files by enumerating every possible
combination of prefix and suffix.  Now we load (and cache) directory
content from disk and search for matching file names.  This should
reduce disk access.  It will also allow more advanced matching rules in
the future.  See issue #3470.
2008-09-22 10:59:52 -04:00
Brad King
4719984553 ENH: Make dir content cache work during configure
Previously the cmGlobalGenerator::GetDirectoryContent method would work
safely only during build system generation.  These changes make it safe
to use during each configure step by flushing it at the beginning.
2008-09-22 10:56:48 -04:00
Brad King
85961d44c3 ENH: Improve docs of OBJECT_DEPENDS property
Specify exactly what the value of the property should contain and the
resulting behavior.  Note alternatives for a common out-dated usage.
2008-09-22 09:42:27 -04:00
Brad King
3e21316f59 STYLE: Nightly Date Stamp 2008-09-21 23:56:55 -04:00
Brad King
bcf629bd11 STYLE: Nightly Date Stamp 2008-09-20 23:57:02 -04:00
Brad King
c0a7f67f3a STYLE: Nightly Date Stamp 2008-09-19 23:57:10 -04:00
Brad King
b56d755f6e STYLE: Nightly Date Stamp 2008-09-18 23:57:13 -04:00
Brad King
6ac4795a44 STYLE: Nightly Date Stamp 2008-09-17 23:57:22 -04:00
Brad King
12396bebac STYLE: Nightly Date Stamp 2008-09-16 23:57:27 -04:00
Brad King
ccc7ca9871 STYLE: Nightly Date Stamp 2008-09-15 23:57:32 -04:00
Bill Hoffman
64fc597de2 ENH: add initial support for HAIKU OS from bug# 7425 2008-09-15 17:53:28 -04:00
Brad King
f49f1d2973 ENH: Simplify NOTFOUND variable check
When looking for NOTFOUND libraries, use the direct dependencies of a
target instead of all dependencies.  At least one target will trigger
the NOTFOUND error anyway because at least one must directly link it.
This removes another use of the old-style link line computation.
2008-09-15 13:46:56 -04:00
Brad King
434d07afe6 ENH: Use new link info during dependency scanning
This removes another use of the old-style link line computation.
2008-09-15 13:30:17 -04:00
Brad King
4f6137c70c ENH: Allow link line computation for static libs
In some cases it may be useful to compute a "link" line for a static
library even though it will not be put in the generated build system.
This removes the assertion which previously diallowed the case.
2008-09-15 13:30:11 -04:00