summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CommandLine/BuildDir
Commit message (Collapse)AuthorAgeFilesLines
* cmake: Teach --build to reject multiple --target optionsSebastian Schuberth2016-02-051-0/+2
| | | | | | | | | | Previously we did not clearly document that `--target` is only supported to be specified once. Even worse, specifying it multiple times would silently ignore any previously specified targets and only build the last target. Update the documentation to specify this. Update the implementation to reject multiple `--target` options to prevent user errors.
* cmake: Fix --build <relative-dir> for VS generators (#15609)Brad King2015-06-111-0/+5
The VS >= 10 generators need to parse the .sln file from the build directory to locate targets in subdirectories. This occurs after we change the working directory to the build tree. If a relative directory other than "." was given then we would change to it and also refer to the .sln file location with it. Fix this by converting the build tree to a full path always. This will also give a more informative error message when the directory does not exist.