summaryrefslogtreecommitdiffstats
path: root/Source/cmScanDepFormat.cxx
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2022-10-04 15:59:09 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2022-11-11 21:54:05 (GMT)
commit0e9782b336dbfd544257bee1da9a63cf84cfb058 (patch)
treeadd34472f5244fae2f132fc37b420ac5124fc48c /Source/cmScanDepFormat.cxx
parentd85f866baae609c91abc08b40cdccb28fd8c9f9c (diff)
downloadCMake-0e9782b336dbfd544257bee1da9a63cf84cfb058.zip
CMake-0e9782b336dbfd544257bee1da9a63cf84cfb058.tar.gz
CMake-0e9782b336dbfd544257bee1da9a63cf84cfb058.tar.bz2
msvc: bless MSVC 19.34 support for C++ modules as experimental
Visual Studio 17.4 now contains official support for what CMake needs.
Diffstat (limited to 'Source/cmScanDepFormat.cxx')
-rw-r--r--Source/cmScanDepFormat.cxx22
1 files changed, 0 insertions, 22 deletions
diff --git a/Source/cmScanDepFormat.cxx b/Source/cmScanDepFormat.cxx
index ec53af5..81ef3da 100644
--- a/Source/cmScanDepFormat.cxx
+++ b/Source/cmScanDepFormat.cxx
@@ -5,7 +5,6 @@
#include <cctype>
#include <cstdio>
-#include <iostream>
#include <utility>
#include <cm/optional>
@@ -281,27 +280,6 @@ bool cmScanDepFormat_P1689_Parse(std::string const& arg_pp,
info->Requires.push_back(require_info);
}
}
-
- // MSVC 17.3 toolchain bug. Remove when 17.4 is available.
- if (rule.isMember("is-interface")) {
- std::cerr
- << "warning: acknowledging an VS 17.3 toolchain bug; accepting "
- "until a new release which fixes it is available"
- << std::endl;
-
- Json::Value const& is_interface_json = rule["is-interface"];
- if (!is_interface_json.isBool()) {
- cmSystemTools::Error(
- cmStrCat("-E cmake_ninja_dyndep failed to parse ", arg_pp,
- ": is-interface is not a boolean"));
- return false;
- }
- bool is_interface = is_interface_json.asBool();
-
- for (auto& provide : info->Provides) {
- provide.IsInterface = is_interface;
- }
- }
}
}