mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-16 20:21:41 -06:00
cmGlobalVisualStudio10Generator: Allow subclasses to reset MSBuild search
While at it, convert to inline initialization.
This commit is contained in:
@@ -139,7 +139,6 @@ cmGlobalVisualStudio10Generator::cmGlobalVisualStudio10Generator(
|
||||
"ProductDir",
|
||||
vc10Express, cmSystemTools::KeyWOW64_32);
|
||||
this->CudaEnabled = false;
|
||||
this->MSBuildCommandInitialized = false;
|
||||
{
|
||||
std::string envPlatformToolset;
|
||||
if (cmSystemTools::GetEnv("PlatformToolset", envPlatformToolset) &&
|
||||
|
||||
@@ -222,6 +222,7 @@ protected:
|
||||
bool SystemIsWindowsPhone = false;
|
||||
bool SystemIsWindowsStore = false;
|
||||
bool SystemIsAndroid = false;
|
||||
bool MSBuildCommandInitialized = false;
|
||||
|
||||
private:
|
||||
class Factory;
|
||||
@@ -243,7 +244,6 @@ private:
|
||||
LongestSourcePath LongestSource;
|
||||
|
||||
std::string MSBuildCommand;
|
||||
bool MSBuildCommandInitialized;
|
||||
std::set<std::string> AndroidExecutableWarnings;
|
||||
virtual std::string FindMSBuildCommand();
|
||||
std::string FindDevEnvCommand() override;
|
||||
|
||||
Reference in New Issue
Block a user