summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-12-19 15:13:18 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2013-12-19 15:13:18 (GMT)
commit2e075b48e876d0f9b3f90ae225a33359e2d3342f (patch)
tree58519e39b8faa1b67ff2ceb3f470b2f494b4816a /Source/cmTarget.cxx
parentcc054e94f81f028c5990729d7bffb5488547bcbe (diff)
parentc62cd3e2aeb9ed7e3021bd9e5863294fd0441790 (diff)
downloadCMake-2e075b48e876d0f9b3f90ae225a33359e2d3342f.zip
CMake-2e075b48e876d0f9b3f90ae225a33359e2d3342f.tar.gz
CMake-2e075b48e876d0f9b3f90ae225a33359e2d3342f.tar.bz2
Merge topic 'constify'
c62cd3e Constify autogen handling. 035b690 Autogen: Split AutoRcc handling into two methods 2fcafbf cmLocalGenerator: Constify target definitions access a54eedd Constify cmGeneratorTarget access. 9edee62 Constify handling of link targets. ef25ba8 Constify handling of target dependencies.
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r--Source/cmTarget.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index 51ee31a..a44cda1 100644
--- a/Source/cmTarget.cxx
+++ b/Source/cmTarget.cxx
@@ -828,7 +828,8 @@ void cmTarget::GetDirectLinkLibraries(const char *config,
//----------------------------------------------------------------------------
void cmTarget::GetInterfaceLinkLibraries(const char *config,
- std::vector<std::string> &libs, cmTarget *head) const
+ std::vector<std::string> &libs,
+ cmTarget const* head) const
{
const char *prop = this->GetProperty("INTERFACE_LINK_LIBRARIES");
if (prop)
@@ -5770,7 +5771,8 @@ const char * getLinkInterfaceDependentProperty(cmTarget const* tgt,
//----------------------------------------------------------------------------
template<typename PropertyType>
-void checkPropertyConsistency(cmTarget const* depender, cmTarget *dependee,
+void checkPropertyConsistency(cmTarget const* depender,
+ cmTarget const* dependee,
const char *propName,
std::set<cmStdString> &emitted,
const char *config,