diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-08-04 17:19:44 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-08-05 16:20:45 (GMT) |
commit | 97f10e488a5153e45d6a27a730cc1ecbaae7d559 (patch) | |
tree | 441d0aac1e278885a7841049aae61783391728ed /Source/cmTarget.cxx | |
parent | 4b86f5edc91ba649908f5b6ab0fb7f1154e38066 (diff) | |
download | CMake-97f10e488a5153e45d6a27a730cc1ecbaae7d559.zip CMake-97f10e488a5153e45d6a27a730cc1ecbaae7d559.tar.gz CMake-97f10e488a5153e45d6a27a730cc1ecbaae7d559.tar.bz2 |
cmGeneratorTarget: Move ReportPropertyOrigin from cmTarget.
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r-- | Source/cmTarget.cxx | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index 1fa62e7..968bd9d 100644 --- a/Source/cmTarget.cxx +++ b/Source/cmTarget.cxx @@ -4537,46 +4537,6 @@ bool cmTarget::IsNullImpliedByLinkLibraries(const std::string &p) const //---------------------------------------------------------------------------- void -cmTarget::ReportPropertyOrigin(const std::string &p, - const std::string &result, - const std::string &report, - const std::string &compatibilityType) const -{ - std::vector<std::string> debugProperties; - const char *debugProp = - this->Makefile->GetDefinition("CMAKE_DEBUG_TARGET_PROPERTIES"); - if (debugProp) - { - cmSystemTools::ExpandListArgument(debugProp, debugProperties); - } - - bool debugOrigin = !this->DebugCompatiblePropertiesDone[p] - && std::find(debugProperties.begin(), - debugProperties.end(), - p) - != debugProperties.end(); - - if (this->Makefile->IsConfigured()) - { - this->DebugCompatiblePropertiesDone[p] = true; - } - if (!debugOrigin) - { - return; - } - - std::string areport = compatibilityType; - areport += std::string(" of property \"") + p + "\" for target \""; - areport += std::string(this->GetName()); - areport += "\" (result: \""; - areport += result; - areport += "\"):\n" + report; - - this->Makefile->GetCMakeInstance()->IssueMessage(cmake::LOG, areport); -} - -//---------------------------------------------------------------------------- -void cmTarget::GetObjectLibrariesCMP0026(std::vector<cmTarget*>& objlibs) const { // At configure-time, this method can be called as part of getting the |