summaryrefslogtreecommitdiffstats
path: root/Source/cmServerProtocol.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-11-27 13:51:42 (GMT)
committerKitware Robot <kwrobot@kitware.com>2017-11-27 13:52:06 (GMT)
commit08f66764b320efb6b023febb3e2e4787f2e6c976 (patch)
tree051a6bf968d35109bfd56e734337279496322130 /Source/cmServerProtocol.cxx
parent0c1912e3e58bebe9eb7c6dcac7a478dc607dba66 (diff)
parentafd9a339a1d7cbdf9aafff4ee6c454382e923aa9 (diff)
downloadCMake-08f66764b320efb6b023febb3e2e4787f2e6c976.zip
CMake-08f66764b320efb6b023febb3e2e4787f2e6c976.tar.gz
CMake-08f66764b320efb6b023febb3e2e4787f2e6c976.tar.bz2
Merge topic 'server-target-isGeneratorProvided'
afd9a339 server: return whether or not a target is generator provided Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1475
Diffstat (limited to 'Source/cmServerProtocol.cxx')
-rw-r--r--Source/cmServerProtocol.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmServerProtocol.cxx b/Source/cmServerProtocol.cxx
index 7a7080b..cfac513 100644
--- a/Source/cmServerProtocol.cxx
+++ b/Source/cmServerProtocol.cxx
@@ -889,6 +889,8 @@ static Json::Value DumpTarget(cmGeneratorTarget* target,
Json::Value result = Json::objectValue;
result[kNAME_KEY] = target->GetName();
+ result[kIS_GENERATOR_PROVIDED_KEY] =
+ target->Target->GetIsGeneratorProvided();
result[kTYPE_KEY] = typeName;
result[kSOURCE_DIRECTORY_KEY] = lg->GetCurrentSourceDirectory();
result[kBUILD_DIRECTORY_KEY] = lg->GetCurrentBinaryDirectory();