summaryrefslogtreecommitdiff
path: root/Tests/RunCMake/CommandLine/BuildDir
Commit message (Collapse)AuthorAgeFilesLines
* Tests: Update RunCMake.CommandLine to avoid duplicate custom commandsBrad King2020-09-011-5/+16
| | | | | This test does not need to have the same custom command output generated by multiple independent targets. Revise the test to avoid that.
* Tests: Add case for cmake --build with a failing targetBrad King2020-06-121-0/+1
|
* 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.