summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudio7Generator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-11-01 14:37:53 (GMT)
committerBrad King <brad.king@kitware.com>2018-12-12 11:40:10 (GMT)
commitb83fe27d8d3f25ed6e229270966b8323f5fc3ae5 (patch)
treeec345eec5c2d84087dabff361888d463d7ce41d0 /Source/cmGlobalVisualStudio7Generator.cxx
parent7ee0abbde1656b07eb28ddacca3d22bb7aafdbd8 (diff)
downloadCMake-b83fe27d8d3f25ed6e229270966b8323f5fc3ae5.zip
CMake-b83fe27d8d3f25ed6e229270966b8323f5fc3ae5.tar.gz
CMake-b83fe27d8d3f25ed6e229270966b8323f5fc3ae5.tar.bz2
fileapi: Report cmake generator in reply index file
Diffstat (limited to 'Source/cmGlobalVisualStudio7Generator.cxx')
-rw-r--r--Source/cmGlobalVisualStudio7Generator.cxx9
1 files changed, 9 insertions, 0 deletions
diff --git a/Source/cmGlobalVisualStudio7Generator.cxx b/Source/cmGlobalVisualStudio7Generator.cxx
index 21121f2..1be80ac 100644
--- a/Source/cmGlobalVisualStudio7Generator.cxx
+++ b/Source/cmGlobalVisualStudio7Generator.cxx
@@ -254,6 +254,15 @@ cmLocalGenerator* cmGlobalVisualStudio7Generator::CreateLocalGenerator(
return lg;
}
+#if defined(CMAKE_BUILD_WITH_CMAKE)
+Json::Value cmGlobalVisualStudio7Generator::GetJson() const
+{
+ Json::Value generator = this->cmGlobalVisualStudioGenerator::GetJson();
+ generator["platform"] = this->GetPlatformName();
+ return generator;
+}
+#endif
+
std::string const& cmGlobalVisualStudio7Generator::GetPlatformName() const
{
if (!this->GeneratorPlatform.empty()) {