| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
The file(INSTALL) command has long been undocumented and used only to
implement install() scripts. We now document it and provide a similar
file(COPY) signature which is useful in general-purpose scripts. It
provides the capabilities of install(DIRECTORY) and install(FILES) but
operates immediately instead of contributing to install scripts.
|
|
|
|
|
|
|
|
|
|
|
| |
This teaches the undocumented file(INSTALL) command to deal with
relative paths. Relative input file paths are evaluated with respect to
the current source directory. Relative output file paths are evaluated
with respect to the current binary directory.
While this command is currently used only in cmake_install.cmake scripts
(in -P script mode), this cleans up its interface in preparation for a
documented signature.
|
|
|
|
|
|
| |
The undocumented file(INSTALL) is implemented by a cmFileInstaller class
inside cmFileCommand. This refactors the class to split out code not
specific to installation into a cmFileCopier base class.
|
|
|
|
|
|
| |
This creates a single cmFileInstaller method to dispatch installation of
symlinks, directories, and files. The change removes duplicate tests of
input file type and makes the decision more consistent.
|
|
|
|
|
| |
This improves the error message produced during installation when CMake
cannot set file modification time or permissions.
|
|
|
|
|
| |
This teaches the undocumented file(INSTALL) command to report an error
when it cannot create the destination directory.
|
|
|
|
|
|
| |
This simplifies cmFileInstaller internally by storing the 'always' mark
as an instance variable instead of passing it through all method
signatures.
|
|
|
|
| |
This cleans up the cmFileInstaller constructor signature.
|
| |
|
|
|
|
|
|
| |
While copying a directory the destination must have owner rwx
permissions. This corrects our check, this time with correct operator
precedence using parenthesis.
|
| |
|
|
|
|
|
| |
The undocumented file(INSTALL) command used to support a PROPERTIES
option, but no install code still uses it. This removes the option.
|
|
|
|
|
| |
While copying a directory the destination must have owner rwx
permissions. This corrects our check.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
This extends the Preprocessor test to put spaces in the value of a
definition that is not a quoted string. In particular this tests that
VS6 supports values with spaces if they do not have '"', '$', or ';'.
See issue #8779.
|
|
|
|
|
|
|
|
|
| |
Previously we rejected all preprocessor definition values containing
spaces for the VS6 IDE generator. In fact VS6 does support spaces but
not in combination with '"', '$', or ';', and only if we use the sytnax
'-DNAME="value with spaces"' instead of '-D"NAME=value with spaces"'.
Now we support all definition values that do not have one of these
invalid pairs. See issue #8779.
|
| |
|
|
|
|
| |
bootstrap script will not work on VMS
|
|
|
|
|
| |
Older git versions do not support 'git init --bare', so we instead use
the more proper 'git --bare init'.
|
| |
|
| |
|
|
|
|
|
|
|
| |
This creates cmCTestGIT to drive CTest Update handling on git-based work
trees. Currently we always update to the head of the remote tracking
branch (git pull), so the nightly start time is ignored for Nightly
builds. A later change will address this. See issue #6994.
|
|
|
|
|
|
| |
This factors parts of the svn update implementation that are useful for
any globally-versioning vcs tool into cmCTestGlobalVC. It will allow
the code to be shared among the support classes for most vcs tools.
|
|
|
|
|
|
| |
The superclass of cmSystemTools is cmsys::SystemTools, which should be
referencable by just SystemTools from inside the class. Borland C++
does not seem to support this, so we use cmSystemTools instead.
|
| |
|
|
|
|
|
|
| |
Deewiant)
Alex
|
|
|
|
|
|
|
| |
is also installed by plain libmpeg2 (#8455)
Also mark the variables as advanced.
Alex
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Alex
|
|
|
|
| |
Alex
|
|
|
|
|
|
| |
The system tools GetParentDirectory method no longer removes the root
path component. This fixes cmSystemTools::FileExistsInParentDirectories
to not infinitely loop at when GetParentDirectory stops at the root.
|
|
|
|
|
| |
This removes SystemTools::FileExistsInParentDirectories from KWSys since
it is a special-purpose method that is not generally useful.
|
| |
|
|
|
|
|
|
|
|
| |
When SystemTools::GetParentDirectory was fixed to never remove the root
path component from a full path we violated an assumption made by
IsSubDirectory that eventually GetParentDirectory returns an empty
string. This led to an infinite loop if the potential parent directory
is empty, so we explicitly avoid that case.
|
| |
|
|
|
|
| |
Alex
|
|
|
|
| |
Alex
|
| |
|
|
|
|
| |
good path, it will configure correctly
|
| |
|
| |
|
| |
|
|
|
|
| |
on the main window. Fixed that.
|