summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudio7Generator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-12-13 14:57:49 (GMT)
committerKitware Robot <kwrobot@kitware.com>2018-12-13 14:57:59 (GMT)
commitdc90cd68778b374122162cd3a87a7b6d27ed6866 (patch)
tree4c1744b09297b91be582cec3fab22e1a7a39613c /Source/cmGlobalVisualStudio7Generator.cxx
parenta9d9e8cafccab60c209a23a7ff71fad572dd7399 (diff)
parentb9c6f08276951e815a1fcaef78f4e894471d4195 (diff)
downloadCMake-dc90cd68778b374122162cd3a87a7b6d27ed6866.zip
CMake-dc90cd68778b374122162cd3a87a7b6d27ed6866.tar.gz
CMake-dc90cd68778b374122162cd3a87a7b6d27ed6866.tar.bz2
Merge topic 'fileapi'
b9c6f08276 Help: Add release note for fileapi feature 4b6b2a571c fileapi: extend codemodel v2 with directory details eb8c7676a4 fileapi: extend codemodel v2 with a project model 42f0125ceb fileapi: Add test for cmakeFiles v1 6615408193 fileapi: add cmakeFiles v1 3f6ee75a66 fileapi: Add test for cache v2 7489e95b8e fileapi: add cache v2 ea0a060168 fileapi: Add test for codemodel v2 ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2706
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 0b6c149..3648086 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()) {