Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | cmake: Convert no source/build dir error to warning | Craig Scott | 2019-01-22 | 1 | -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 set | Craig Scott | 2019-01-13 | 1 | -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 |