| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
* upstream-KWSys:
KWSys 2016-01-11 (bc07fbf7)
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Patch from Chuck Atkins <chuck.atkins@kitware.com>
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
The SharedForward header contains a preprocessor table mapping from
platform to equivalents for ldd and LD_LIBRARY_PATH. This commit fixes
the table preprocessor directives to guarantee at most one platform.
This generalizes the commit "Fix compilation of VTK on debian/sparc".
|
|
|
|
|
|
|
| |
This converts the KWSys license to a pure 3-clause OSI-approved BSD
License. We drop the previous license clause requiring modified
versions to be plainly marked. We also update the KWSys copyright to
cover the full development time range.
|
| |
|
|
|
|
|
|
| |
This adds another cast to avoid pointer conversion warnings.
Unfortunately C does not recognize implicit conversions that add
cv-qualifiers as well as C++ does.
|
|
|
|
|
| |
This uses size_t where necessary to avoid size_t/int conversion
warnings.
|
|
|
|
|
| |
This adds const-ness and casts where necessary to avoid pointer
conversion warnings.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
The windows execvp function does not re-escape arguments correctly.
Instead we generate the escape sequences before calling it.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
In SharedForward we are only dealing with command-line-length strings so we
need not worry about integer overflow.
|
|
|
|
| |
multi-configuration builds with CMAKE_INTDIR.
|
|
|
|
| |
replace the command executed. Extended documentation at top of file.
|
|
|
|
| |
message for --ldd option when no tool is available but the option was still requested.
|
|
|
|
| |
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.
|
| |
|
| |
|
|
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.
|