Add projectDir parameter to GenerateBuildCommand

Extend the cmGlobalGenerator::GenerateBuildCommand virtual method
signature with a "projectDir" parameter specifying the top of the
project build tree for which the build command will be generated.
Populate it from call sites in cmGlobalGenerator::Build where a
fully-generated build tree should be available.
VS: Create parser for Visual Studio .sln files

Create class cmVisualStudioSlnParser as a generic parser for Visual
Studio .sln files. Implement minimum functionality but keep class
extensible.  Add tests for the class.
Correct spelling, and minor logic issues.
VS: Use .sln parser to build targets in subdirs with msbuild (#13623)

Use cmVisualStudioSlnParser in GenerateBuildCommand() to provide correct
command line for MSBuild even when target project is stored in a
subdirectory.
VS: Add test for building MSBuild project in subdir

Add test covering cmGlobalGenerator::GenerateBuildCommand for VS
solutions with MSBuild and building a target defined in a subdirectory
and not part of ALL.
CTest: Simplify ctest_* command source/build dir lookup

In cmCTestHandlerCommand::InitialPass call InitializeHandler after setting
the CTest "SourceDirectory" and "BuildDirectory" configuration values
instead of before.  This makes the values available to InitializeHandler
methods in subclasses, so also drop the duplicate configuration of those
values from cmCTestConfigureCommand::InitializeHandler.
ctest_build: Pass projectDir to GenerateBuildCommand

This allows the ctest_build command's TARGET option to name a target
in a subdirectory and still build properly with msbuild.
Add test case covering use of ctest_build() with such a TARGET.
Merge topic 'msbuild-targets-in-subdirs' into next

e668300 ctest_build: Pass projectDir to GenerateBuildCommand
a43d54c CTest: Simplify ctest_* command source/build dir lookup
5203460 VS: Add test for building MSBuild project in subdir
2feec21 VS: Use .sln parser to build targets in subdirs with msbuild (#13623)
534945c VS: Create parser for Visual Studio .sln files
a5631ce Add projectDir parameter to GenerateBuildCommand
Merge topic 'ninja_phony_file_targets' into next

1aa2320 Correct spelling, and minor logic issues.
Xcode: Add projectDir parameter to GenerateBuildCommand

Finish change in commit a5631ce9 (Add projectDir parameter to
GenerateBuildCommand, 2013-03-21) for Xcode generator.
Fix CTest.BuildCommand.ProjectInSubdir on non-Windows

This test uses the test added by commit 5203460c (VS: Add test for
building MSBuild project in subdir, 2013-01-03) so do not use
Windows-specific commands.
Merge topic 'msbuild-targets-in-subdirs' into next

6fb2e24 Fix CTest.BuildCommand.ProjectInSubdir on non-Windows
57bab2d Xcode: Add projectDir parameter to GenerateBuildCommand