diff options
author | Stephen Kelly <steveire@gmail.com> | 2013-10-29 22:21:20 +0100 |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2013-10-31 14:52:11 +0100 |
commit | c4373b33b2ad7c6db3b000b0615ed381f05ac5f3 (patch) | |
tree | 544c5d58dd31df7f06e85f6d060b87146bfbf5a5 /Source/cmExportFileGenerator.h | |
parent | cfb666133378d723a046ab7a4463a590deaa7aee (diff) | |
download | cmake-c4373b33b2ad7c6db3b000b0615ed381f05ac5f3.tar.gz |
cmTarget: Make GetProperty() const.
This has follow-on effects for other methods and classes. Further
work on making the use of const cmTarget pointers common can be
done, particularly with a view to generate-time methods.
Diffstat (limited to 'Source/cmExportFileGenerator.h')
-rw-r--r-- | Source/cmExportFileGenerator.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmExportFileGenerator.h b/Source/cmExportFileGenerator.h index f3d08070f8..6fd23b0935 100644 --- a/Source/cmExportFileGenerator.h +++ b/Source/cmExportFileGenerator.h @@ -60,9 +60,9 @@ protected: void GenerateImportHeaderCode(std::ostream& os, const char* config = 0); void GenerateImportFooterCode(std::ostream& os); void GenerateImportVersionCode(std::ostream& os); - void GenerateImportTargetCode(std::ostream& os, cmTarget* target); + void GenerateImportTargetCode(std::ostream& os, cmTarget const* target); void GenerateImportPropertyCode(std::ostream& os, const char* config, - cmTarget* target, + cmTarget const* target, ImportPropertyMap const& properties); void GenerateImportedFileChecksCode(std::ostream& os, cmTarget* target, ImportPropertyMap const& properties, @@ -115,7 +115,7 @@ protected: ImportPropertyMap &properties); void PopulateCompatibleInterfaceProperties(cmTarget *target, ImportPropertyMap &properties); - void GenerateInterfaceProperties(cmTarget *target, std::ostream& os, + void GenerateInterfaceProperties(cmTarget const* target, std::ostream& os, const ImportPropertyMap &properties); void PopulateIncludeDirectoriesInterface( cmTargetExport *target, |