summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/file
Commit message (Collapse)AuthorAgeFilesLines
* file: Teach GLOB to list directories optionallyDomen Vrankar2015-03-2013-0/+122
| | | | | | GLOB lists directories by default and GLOB_RECURSE does not. LIST_DIRECTORIES enables user to control the behavior explicitly for consistently for both GLOB and GLOB_RECURSE.
* file: Add LOCK subcommand to do file and directory lockingRuslan Baratov2014-12-0345-0/+196
| | | | | | | | | Provide options to fail without blocking or to block up to a timeout. Provide options to specify the scope containing the lock so it can be released automatically at the end of a function, file, or process. Extend the RunCMake.file test with cases covering the file(LOCK) command usage and error cases.
* file(INSTALL): Add undocumented options to control output verbosityBrad King2014-06-246-0/+45
| | | | | | Create options "MESSAGE_ALWAYS", "MESSAGE_LAZY", and "MESSAGE_NEVER" to specify whether to print the "Installing" and "Up-to-date" messages. Extend the RunCMake.file test with cases covering these options.
* file(INSTALL): Report existing DIRECTORY as Up-to-dateBrad King2014-06-244-0/+14
| | | | | | | | | | | Teach cmFileCopier::InstallDirectory to detect whether the destination directory exists. If so, report it as "Up-to-date" instead of "Installing". This resolves message asymmetry with file installations. Extend the RunCMake.file and RunCMake.install tests to check the installation output on both the first and second run. Suggested-by: J Decker <d3ck0r@gmail.com>
* file: Report system error on failure to open fileBrad King2014-05-205-0/+14