summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-04-11 10:04:05 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-04-12 18:08:47 (GMT)
commitade20b433b2ce1cf176bc727a8ed9c47a5f6537e (patch)
treec75d760bf3c51da143c9dcd10a7e3be9691fdc04 /Source/cmTarget.cxx
parent6fb306ea3bbe04b8e4dde8f13eec3e6bdfe35086 (diff)
downloadCMake-ade20b433b2ce1cf176bc727a8ed9c47a5f6537e.zip
CMake-ade20b433b2ce1cf176bc727a8ed9c47a5f6537e.tar.gz
CMake-ade20b433b2ce1cf176bc727a8ed9c47a5f6537e.tar.bz2
cmake: Remove DebugConfigs member.
It adds needless complexity to global property handling.
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r--Source/cmTarget.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index 85e5165..745a84c 100644
--- a/Source/cmTarget.cxx
+++ b/Source/cmTarget.cxx
@@ -1157,7 +1157,7 @@ cmTarget::LinkLibraryType cmTarget::ComputeLinkType(
}
// Get the list of configurations considered to be DEBUG.
- std::vector<std::string> const& debugConfigs =
+ std::vector<std::string> debugConfigs =
this->Makefile->GetCMakeInstance()->GetDebugConfigs();
// Check if any entry in the list matches this configuration.
@@ -1216,7 +1216,7 @@ std::string cmTarget::GetDebugGeneratorExpressions(const std::string &value,
}
// Get the list of configurations considered to be DEBUG.
- std::vector<std::string> const& debugConfigs =
+ std::vector<std::string> debugConfigs =
this->Makefile->GetCMakeInstance()->GetDebugConfigs();
std::string configString = "$<CONFIG:" + debugConfigs[0] + ">";