diff options
author | Brad King <brad.king@kitware.com> | 2013-11-01 13:40:05 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2013-11-01 13:40:05 (GMT) |
commit | de5c29890f2139318b5c4c34e69774f3fa70ef30 (patch) | |
tree | 1418488c6521dcd20e0a9fed29fb6ca38669277b /Source/cmExportFileGenerator.cxx | |
parent | a549b68d37bc3d1b87cfd407d4edb45fa02079dd (diff) | |
parent | c4373b33b2ad7c6db3b000b0615ed381f05ac5f3 (diff) | |
download | CMake-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.cxx | 6 |
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. |