summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-11-07 13:18:35 (GMT)
committerKitware Robot <kwrobot@kitware.com>2017-11-07 13:18:59 (GMT)
commit1348f97784e0aaa1c4254011bfc9b6990993ee53 (patch)
treed6aca39d2f12c631eb572ce6502e7d1938ad38d5 /Source/cmMakefile.cxx
parentc37c4771cb876146ae0d23a2008482d6fcd53e35 (diff)
parent35a52bd1b4d0350d3c7e94611dd90ddb4b123352 (diff)
downloadCMake-1348f97784e0aaa1c4254011bfc9b6990993ee53.zip
CMake-1348f97784e0aaa1c4254011bfc9b6990993ee53.tar.gz
CMake-1348f97784e0aaa1c4254011bfc9b6990993ee53.tar.bz2
Merge topic 'server-test-info'
35a52bd1 server: add "ctestInfo" request to get test info Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1414
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r--Source/cmMakefile.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index e4ec469..4109b90 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -3319,6 +3319,13 @@ cmGlobalGenerator* cmMakefile::GetGlobalGenerator() const
return this->GlobalGenerator;
}
+void cmMakefile::GetTestNames(std::vector<std::string>& testNames)
+{
+ for (const auto& iter : Tests) {
+ testNames.push_back(iter.first);
+ }
+}
+
#ifdef CMAKE_BUILD_WITH_CMAKE
cmVariableWatch* cmMakefile::GetVariableWatch() const
{