summaryrefslogtreecommitdiffstats
path: root/Source/cmCTest.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-04-13 19:20:25 (GMT)
committerBrad King <brad.king@kitware.com>2015-04-15 15:43:50 (GMT)
commit0076b5d8340be81057195e70853d33e8fb66c1db (patch)
tree52950ce2a6ba668dc111b65f9d3dd72d5213fed7 /Source/cmCTest.cxx
parent24b7f31d3a2a464cef5955648e4a152a19d44890 (diff)
downloadCMake-0076b5d8340be81057195e70853d33e8fb66c1db.zip
CMake-0076b5d8340be81057195e70853d33e8fb66c1db.tar.gz
CMake-0076b5d8340be81057195e70853d33e8fb66c1db.tar.bz2
cmake: Remove the happy global property scope pattern.
Global properties are already global in scope, so remove the overload for specifying it and port users of the API. The call from cmMakefile::GetProperty can be simplified because the scope is only used during chaining, and there is no further chaining after processing global properties.
Diffstat (limited to 'Source/cmCTest.cxx')
-rw-r--r--Source/cmCTest.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx
index 6715638..d54a651 100644
--- a/Source/cmCTest.cxx
+++ b/Source/cmCTest.cxx
@@ -1558,12 +1558,12 @@ void cmCTest::AddSiteProperties(std::ostream& ostr)
return;
}
// This code should go when cdash is changed to use labels only
- const char* subproject = cm->GetProperty("SubProject", cmProperty::GLOBAL);
+ const char* subproject = cm->GetProperty("SubProject");
if(subproject)
{
ostr << "<Subproject name=\"" << subproject << "\">\n";
const char* labels =
- ch->GetCMake()->GetProperty("SubProjectLabels", cmProperty::GLOBAL);
+ ch->GetCMake()->GetProperty("SubProjectLabels");
if(labels)
{
ostr << " <Labels>\n";
@@ -1581,7 +1581,7 @@ void cmCTest::AddSiteProperties(std::ostream& ostr)
}
// This code should stay when cdash only does label based sub-projects
- const char* label = cm->GetProperty("Label", cmProperty::GLOBAL);
+ const char* label = cm->GetProperty("Label");
if(label)
{
ostr << "<Labels>\n";