summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* STYLE: Nightly Date StampBrad King2009-05-091-1/+1
|
* STYLE: Nightly Date StampBrad King2009-05-081-1/+1
|
* ENH: add docs for command line ctestBill Hoffman2009-05-071-0/+8
|
* BUG: 8898 fix date in ctest nightly timeBill Hoffman2009-05-071-2/+5
|
* STYLE: Nightly Date StampBrad King2009-05-071-1/+1
|
* STYLE: Nightly Date StampBrad King2009-05-061-1/+1
|
* STYLE: Nightly Date StampBrad King2009-05-051-1/+1
|
* STYLE: Nightly Date StampBrad King2009-05-041-1/+1
|
* STYLE: Nightly Date StampBrad King2009-05-031-1/+1
|
* STYLE: Nightly Date StampBrad King2009-05-021-1/+1
|
* ENH: Remove cmTarget internal type argumentsBrad King2009-05-012-83/+35
| | | | | | | | Internally cmTarget was passing the target type in several name computation signatures to support computation of both shared and static library names for one target. We no longer need to compute both names, so this change simplifies the internals by using the GetType method and dropping the type from method signatures.
* ENH: Remove cmTarget::GetExecutableCleanNamesBrad King2009-05-013-41/+7
| | | | This method was redundant with GetExecutableNames.
* ENH: Always imply CLEAN_DIRECT_OUTPUT target propBrad King2009-05-014-158/+28
| | | | | | | | | | | | | | This property was left from before CMake always linked using full path library names for targets it builds. In order to safely link with "-lfoo" we needed to avoid having both shared and static libraries in the build tree for targets that switch on BUILD_SHARED_LIBS. This meant cleaning both shared and static names before creating the library, which led to the creation of CLEAN_DIRECT_OUTPUT to disable the behavior. Now that we always link with a full path we do not need to clean old library names left from an alternate setting of BUILD_SHARED_LIBS. This change removes the CLEAN_DIRECT_OUTPUT property and instead uses its behavior always. It removes some complexity from cmTarget internally.
* ENH: Allow more specification of target file namesBrad King2009-05-012-28/+86
| | | | | | | | | | | | | | This creates target properties ARCHIVE_OUTPUT_NAME, LIBRARY_OUTPUT_NAME, and RUNTIME_OUTPUT_NAME, and per-configuration equivalent properties ARCHIVE_OUTPUT_NAME_<CONFIG>, LIBRARY_OUTPUT_NAME_<CONFIG>, and RUNTIME_OUTPUT_NAME_<CONFIG>. They allow specification of target output file names on a per-type, per-configuration basis. For example, a .dll and its .lib import library may have different base names. For consistency and to avoid ambiguity, the old <CONFIG>_OUTPUT_NAME property is now also available as OUTPUT_NAME_<CONFIG>. See issue #8920.
* ENH: Refactor target output file type computationBrad King2009-05-012-56/+63
| | | | | | | This creates method cmTarget::GetOutputTargetType to compute the output file type 'ARCHIVE', 'LIBRARY', or 'RUNTIME' from the platform and target type. It factors out logic from the target output directory computation code for later re-use.
* STYLE: Nightly Date StampBrad King2009-05-011-2/+2
|
* STYLE: Nightly Date StampBrad King2009-04-301-1/+1
|
* COMP: Avoid unused arg warnings in cmFileCommandBrad King2009-04-291-1/+1
| | | | | The default cmFileCopier::ReportCopy implementation is empty, so we should leave out the argument names.
* BUG: Remove '-d<now' from 'cvs log' commandsBrad King2009-04-291-1/+1
| | | | | | | When CTest runs 'cvs log' to get revision information for updated files, we were passing '-d<now'. The option seems useless since revisions cannot be created in the future, and can lose revisions if the client machine clock is behind the server.
* COMP: Fix nested class member accessBrad King2009-04-291-0/+2
| | | | | | Nested classes have no special access to other members of their enclosing class. In cmFileCopier the nested class MatchRule must use MatchProperties, so we grant friendship to it.
* COMP: Fix non-virtual destructor warningBrad King2009-04-291-0/+1
| | | | | | This gives cmFileCopier a virtual destructor since it has virtual methods. While we never actually delete through a base pointer (or dynamically at all), the compiler doesn't know and warns anyway.
* ENH: Create file(COPY) command signatureBrad King2009-04-292-15/+145
| | | | | | | | 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.
* ENH: Teach file(INSTALL) relative pathsBrad King2009-04-291-2/+19
| | | | | | | | | | | 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.
* ENH: Refactor file(INSTALL) implementationBrad King2009-04-292-522/+583
| | | | | | 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.
* ENH: Send all file installations through one pathBrad King2009-04-292-100/+81
| | | | | | 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.
* ENH: Better error on file perm or time failureBrad King2009-04-291-26/+16
| | | | | This improves the error message produced during installation when CMake cannot set file modification time or permissions.
* BUG: Error when install dir cannot be createdBrad King2009-04-291-0/+4
| | | | | This teaches the undocumented file(INSTALL) command to report an error when it cannot create the destination directory.
* ENH: Simplify CMAKE_INSTALL_ALWAYS implementationBrad King2009-04-291-27/+20
| | | | | | This simplifies cmFileInstaller internally by storing the 'always' mark as an instance variable instead of passing it through all method signatures.
* ENH: Simplify construction of cmFileInstallerBrad King2009-04-291-3/+4
| | | | This cleans up the cmFileInstaller constructor signature.
* STYLE: Nightly Date StampBrad King2009-04-291-1/+1
|
* BUG: Fix required permissions check againBrad King2009-04-281-1/+1
| | | | | | While copying a directory the destination must have owner rwx permissions. This corrects our check, this time with correct operator precedence using parenthesis.
* STYLE: Nightly Date StampBrad King2009-04-281-1/+1
|
* ENH: Remove unused PROPERTIES from file(INSTALL)Brad King2009-04-278-52/+13
| | | | | The undocumented file(INSTALL) command used to support a PROPERTIES option, but no install code still uses it. This removes the option.
* BUG: Fix required permissions check for dir copyBrad King2009-04-271-1/+1
| | | | | While copying a directory the destination must have owner rwx permissions. This corrects our check.
* STYLE: Nightly Date StampBrad King2009-04-271-1/+1
|
* STYLE: Nightly Date StampBrad King2009-04-261-1/+1
|
* STYLE: Nightly Date StampBrad King2009-04-251-1/+1
|
* ENH: vms fixBill Hoffman2009-04-241-0/+2
|
* ENH: Support more preprocessor values in VS6Brad King2009-04-243-6/+15
| | | | | | | | | 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.
* STYLE: Nightly Date StampBrad King2009-04-241-1/+1
|
* ENH: check in almost building VMS stuff with VMSBuild directory since the ↵Bill Hoffman2009-04-234-3/+21
| | | | bootstrap script will not work on VMS
* STYLE: Nightly Date StampBrad King2009-04-231-1/+1
|
* COMP: Fix class reference for HP aCCBrad King2009-04-221-1/+1
|
* ENH: Teach CTest to handle git repositoriesBrad King2009-04-226-1/+494
| | | | | | | 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.
* ENH: Factor global-VC parts out of cmCTestSVNBrad King2009-04-225-114/+213
| | | | | | 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.
* COMP: Fix calls to superclass methods for BorlandBrad King2009-04-221-4/+4
| | | | | | 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.
* STYLE: Nightly Date StampBrad King2009-04-221-1/+1
|
* ENH: also recognize rxvt-256color as a color terminal (#8913, patch from ↵Alexander Neundorf2009-04-211-0/+1
| | | | | | Deewiant) Alex
* BUG: Avoid infinite loop at directory tree rootBrad King2009-04-211-1/+3
| | | | | | 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.
* ENH: Remove obscure method from KWSys SystemToolsBrad King2009-04-214-31/+31
| | | | | This removes SystemTools::FileExistsInParentDirectories from KWSys since it is a special-purpose method that is not generally useful.