diff options
author | Brad King <brad.king@kitware.com> | 2021-10-20 16:01:53 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-10-20 17:00:25 (GMT) |
commit | 6999b871335c26d9d39b05023559254b1437bcf5 (patch) | |
tree | 0840adbe902564d85f75cbf92d4fe5a29124bb1c /Source/cmGlobalVisualStudio10Generator.cxx | |
parent | 7f730464be485862ba89c85248306c893117a595 (diff) | |
download | CMake-6999b871335c26d9d39b05023559254b1437bcf5.zip CMake-6999b871335c26d9d39b05023559254b1437bcf5.tar.gz CMake-6999b871335c26d9d39b05023559254b1437bcf5.tar.bz2 |
cmGlobalVisualStudio10Generator: Add method to find MSBuild early
Add a way to find MSBuild before the main `FindMakeProgram` code path
has executed.
Diffstat (limited to 'Source/cmGlobalVisualStudio10Generator.cxx')
-rw-r--r-- | Source/cmGlobalVisualStudio10Generator.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmGlobalVisualStudio10Generator.cxx b/Source/cmGlobalVisualStudio10Generator.cxx index 499efbb..c11516d 100644 --- a/Source/cmGlobalVisualStudio10Generator.cxx +++ b/Source/cmGlobalVisualStudio10Generator.cxx @@ -856,6 +856,12 @@ std::string const& cmGlobalVisualStudio10Generator::GetMSBuildCommand() return this->MSBuildCommand; } +cm::optional<std::string> +cmGlobalVisualStudio10Generator::FindMSBuildCommandEarly(cmMakefile*) +{ + return this->GetMSBuildCommand(); +} + std::string cmGlobalVisualStudio10Generator::FindMSBuildCommand() { std::string msbuild; |