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
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
55f5f27cd6
STYLE: Fixed documentation of how to produce forwarding executables for multi-configuration builds with CMAKE_INTDIR.
2007-01-08 15:12:00 -05:00
Brad King
b6e8574ab1
ENH: Added KWSYS_SHARED_FORWARD_OPTION_COMMAND option to allow users to replace the command executed. Extended documentation at top of file.
2006-09-21 10:04:55 -04:00
Brad King
2e004e03ca
ENH: Added cygcheck knowledge for --ldd option on Cygwin. Added error message for --ldd option when no tool is available but the option was still requested.
2005-08-31 19:41:53 -04:00
Brad King
ca1cd089ae
BUG: Fixed dirname in a few cases on windows. Now using KWSYS_SHARED_FORWARD_CONFIG_NAME setting instead of CMAKE_INTDIR directly to give choice to user code. Updated documentation to include @KWSYS_NAMESPACE@_SHARED_FORWARD_CONFIG_NAME, @KWSYS_NAMESPACE@_SHARED_FORWARD_OPTION_PRINT, and @KWSYS_NAMESPACE@_SHARED_FORWARD_OPTION_LDD settings.
2005-08-18 16:06:08 -04:00
Brad King
207c39a7ad
ENH: Added support for Windows.
2005-08-18 09:23:15 -04:00
Brad King
cbf6358068
ENH: Added knowledge of FreeBSD.
2005-05-13 14:45:54 -04:00
Brad King
e0cfb268b6
ENH: Adding SharedForward C header to help create forwarding executables on UNIX systems that configure the shared library runtime search path and then replace themselves with the real executable. This is useful to create binary distributions that work from any extracted location even with shared libraries.
2005-03-25 08:41:57 -05:00