diff options
author | Brad King <brad.king@kitware.com> | 2022-07-22 16:50:12 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-07-22 16:54:20 (GMT) |
commit | 289932ded083a9ba9a3bedd18db5312e5c6f742c (patch) | |
tree | 85bc7776ac9129febda383448ff67c681c821056 /Source/cmGlobalVisualStudio10Generator.cxx | |
parent | 9306a5ab28af6bb6dc2b933339ccc66764f44b12 (diff) | |
download | CMake-289932ded083a9ba9a3bedd18db5312e5c6f742c.zip CMake-289932ded083a9ba9a3bedd18db5312e5c6f742c.tar.gz CMake-289932ded083a9ba9a3bedd18db5312e5c6f742c.tar.bz2 |
VS: Revert "Write ZERO_CHECK.proj for VS19 and above"
Revert commit a334f1b906 (VS: Write ZERO_CHECK.proj for VS19 and above,
2021-12-24, v3.24.0-rc1~607^2) and a supporting change from
commit 7219988b00 (VS: Exclude ZERO_CHECK.proj from .sln for
include_external_msproject, 2022-07-15, v3.24.0-rc4~1^2).
The change was made to support `dotnet` tooling in addition to
`msbuild`. However, not having `ZERO_CHECK` in the `.sln` breaks common
interactive workflows. Revert the change for now. Later it can be
re-introduced behind some kind of option that enables `dotnet` support.
Fixes: #23726
Issue: #20227
Diffstat (limited to 'Source/cmGlobalVisualStudio10Generator.cxx')
-rw-r--r-- | Source/cmGlobalVisualStudio10Generator.cxx | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/Source/cmGlobalVisualStudio10Generator.cxx b/Source/cmGlobalVisualStudio10Generator.cxx index dec0858..29eeb5a 100644 --- a/Source/cmGlobalVisualStudio10Generator.cxx +++ b/Source/cmGlobalVisualStudio10Generator.cxx @@ -1286,22 +1286,6 @@ cmGlobalVisualStudio10Generator::GenerateBuildCommand( return makeCommands; } -bool cmGlobalVisualStudio10Generator::IsInSolution( - const cmGeneratorTarget* gt) const -{ - return gt->IsInBuildSystem() && - !(this->Version >= cmGlobalVisualStudioGenerator::VSVersion::VS16 && - gt->GetName() == CMAKE_CHECK_BUILD_SYSTEM_TARGET); -} - -bool cmGlobalVisualStudio10Generator::IsDepInSolution( - const std::string& targetName) const -{ - return !targetName.empty() && - !(this->Version >= cmGlobalVisualStudioGenerator::VSVersion::VS16 && - targetName == CMAKE_CHECK_BUILD_SYSTEM_TARGET); -} - bool cmGlobalVisualStudio10Generator::Find64BitTools(cmMakefile* mf) { if (this->DefaultPlatformToolset == "v100") { |