summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CommandLine/C_buildsrcdir-stderr.txt
Commit message (Collapse)AuthorAgeFilesLines
* cmake: Fix relative path regression in -CPeter Waller2019-10-141-4/+4
| | | | | | | | | | | | | | | | | | Since commit 4ca0526f8a (cmake: Pass -S and -B into PreLoad.cmake and -C scripts, 2019-08-20, v3.16.0-rc1~195^2) the value of `CMAKE_SOURCE_DIR` is the source directory rather than the current working directory. This was correct on its own, but the place storing that value is also used as the base for relative paths specified on the command line. The latter should of course be relative to the current working directory. The fix is to switch to use a full path internally, unless a full path is already specified. Add tests for the behaviour of `-C` under these four circumstances: {with -S, without -S} x {full path, relative path} Fixes: #19827
* cmake: Pass -S and -B into PreLoad.cmake and -C scriptsPeter Waller2019-08-271-0/+8
Before this, it was not possible to see what the source or build directories were set to on the command line. Fixes: #19619