summaryrefslogtreecommitdiffstats
path: root/Source/cmExportFileGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-11-01 13:40:05 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2013-11-01 13:40:05 (GMT)
commitde5c29890f2139318b5c4c34e69774f3fa70ef30 (patch)
tree1418488c6521dcd20e0a9fed29fb6ca38669277b /Source/cmExportFileGenerator.cxx
parenta549b68d37bc3d1b87cfd407d4edb45fa02079dd (diff)
parentc4373b33b2ad7c6db3b000b0615ed381f05ac5f3 (diff)
downloadCMake-de5c29890f2139318b5c4c34e69774f3fa70ef30.zip
CMake-de5c29890f2139318b5c4c34e69774f3fa70ef30.tar.gz
CMake-de5c29890f2139318b5c4c34e69774f3fa70ef30.tar.bz2
Merge topic 'constify'
c4373b3 cmTarget: Make GetProperty() const. cfb6661 Don't call SetProperty from GetProperty.
Diffstat (limited to 'Source/cmExportFileGenerator.cxx')
-rw-r--r--Source/cmExportFileGenerator.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmExportFileGenerator.cxx b/Source/cmExportFileGenerator.cxx
index 65f1cc6..03e8dff 100644
--- a/Source/cmExportFileGenerator.cxx
+++ b/Source/cmExportFileGenerator.cxx
@@ -463,7 +463,7 @@ void cmExportFileGenerator::PopulateCompatibleInterfaceProperties(
}
//----------------------------------------------------------------------------
-void cmExportFileGenerator::GenerateInterfaceProperties(cmTarget *target,
+void cmExportFileGenerator::GenerateInterfaceProperties(cmTarget const* target,
std::ostream& os,
const ImportPropertyMap &properties)
{
@@ -885,7 +885,7 @@ void cmExportFileGenerator::GenerateExpectedTargetsCode(std::ostream& os,
//----------------------------------------------------------------------------
void
cmExportFileGenerator
-::GenerateImportTargetCode(std::ostream& os, cmTarget* target)
+::GenerateImportTargetCode(std::ostream& os, cmTarget const* target)
{
// Construct the imported target name.
std::string targetName = this->Namespace;
@@ -951,7 +951,7 @@ cmExportFileGenerator
void
cmExportFileGenerator
::GenerateImportPropertyCode(std::ostream& os, const char* config,
- cmTarget* target,
+ cmTarget const* target,
ImportPropertyMap const& properties)
{
// Construct the imported target name.