diff options
author | Kyle Edwards <kyle.edwards@kitware.com> | 2020-06-15 21:02:02 (GMT) |
---|---|---|
committer | Kyle Edwards <kyle.edwards@kitware.com> | 2020-06-18 19:35:26 (GMT) |
commit | 14456923bd79b5353cf8be49855ac01826d89b70 (patch) | |
tree | 9a51c12b7845dd947e5cde4cb3f11a1c93ed2b67 /Source | |
parent | d5b5c192780dbbf80ff7e049997c0eaeeebdeb95 (diff) | |
download | CMake-14456923bd79b5353cf8be49855ac01826d89b70.zip CMake-14456923bd79b5353cf8be49855ac01826d89b70.tar.gz CMake-14456923bd79b5353cf8be49855ac01826d89b70.tar.bz2 |
cmGlobalVisualStudio10Generator: Move variable initialization to header
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmGlobalVisualStudio10Generator.cxx | 3 | ||||
-rw-r--r-- | Source/cmGlobalVisualStudio10Generator.h | 6 |
2 files changed, 3 insertions, 6 deletions
diff --git a/Source/cmGlobalVisualStudio10Generator.cxx b/Source/cmGlobalVisualStudio10Generator.cxx index 5dac072..cef9062 100644 --- a/Source/cmGlobalVisualStudio10Generator.cxx +++ b/Source/cmGlobalVisualStudio10Generator.cxx @@ -138,9 +138,6 @@ cmGlobalVisualStudio10Generator::cmGlobalVisualStudio10Generator( "ProductDir", vc10Express, cmSystemTools::KeyWOW64_32); this->CudaEnabled = false; - this->SystemIsWindowsCE = false; - this->SystemIsWindowsPhone = false; - this->SystemIsWindowsStore = false; this->MSBuildCommandInitialized = false; { std::string envPlatformToolset; diff --git a/Source/cmGlobalVisualStudio10Generator.h b/Source/cmGlobalVisualStudio10Generator.h index b8c18b4..bd5c4be 100644 --- a/Source/cmGlobalVisualStudio10Generator.h +++ b/Source/cmGlobalVisualStudio10Generator.h @@ -185,9 +185,9 @@ protected: std::string DefaultNasmFlagTableName; std::string DefaultRCFlagTableName; bool SupportsUnityBuilds = false; - bool SystemIsWindowsCE; - bool SystemIsWindowsPhone; - bool SystemIsWindowsStore; + bool SystemIsWindowsCE = false; + bool SystemIsWindowsPhone = false; + bool SystemIsWindowsStore = false; private: class Factory; |