summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CommandLine/no-S-B-stderr.txt
Commit message (Collapse)AuthorAgeFilesLines
* cmake: Convert no source/build dir error to warningCraig Scott2019-01-221-1/+4
| | | | | | | | | | Temporarily restore previous behavior that allowed specifying no source or build directory to work, even though it was neither documented nor supported. This commit is expected to eventually be reverted to restore the fatal error for such cases. Relates: #18817
* cmake: Ensure source and binary dirs are setCraig Scott2019-01-131-0/+1
If only the source dir is provided, the binary dir is assumed to be the working directory. If only the binary dir is provided and it doesn't yet have a CMakeCache.txt to provide the source dir, then the source dir is assumed to be the working directory. This logic was not previously being handled correctly when -S and/or -B options were involved. Furthermore, when both were missing, no suitable error message was provided and an empty string was used for the build directory. Fixes: #18707