diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2023-01-28 22:28:22 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2023-08-17 18:42:53 (GMT) |
commit | 3a8ea5c3a0216d3e9ecedc7fbd1d6adaff0ee7c5 (patch) | |
tree | fbbf5fe20cdd96ae2444e1b209046c5124945b1f /Source/cmTarget.cxx | |
parent | 1ccf25b049a8d1c8ebbbb0969e74469ed3ca4432 (diff) | |
download | CMake-3a8ea5c3a0216d3e9ecedc7fbd1d6adaff0ee7c5.zip CMake-3a8ea5c3a0216d3e9ecedc7fbd1d6adaff0ee7c5.tar.gz CMake-3a8ea5c3a0216d3e9ecedc7fbd1d6adaff0ee7c5.tar.bz2 |
cmTarget: rename entry copying method
It will also be used to copy from other targets, not just directories.
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r-- | Source/cmTarget.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index 5ecee0d..5d67d60 100644 --- a/Source/cmTarget.cxx +++ b/Source/cmTarget.cxx @@ -246,9 +246,9 @@ struct UsageRequirementProperty { } - void CopyFromDirectory(cmBTStringRange directoryEntries) + void CopyFromEntries(cmBTStringRange entries) { - return cm::append(this->Entries, directoryEntries); + return cm::append(this->Entries, entries); } enum class Action @@ -964,7 +964,7 @@ cmTarget::cmTarget(std::string const& name, cmStateEnums::TargetType type, if (this->IsNormal()) { // Initialize the INCLUDE_DIRECTORIES property based on the current value // of the same directory property: - this->impl->IncludeDirectories.CopyFromDirectory( + this->impl->IncludeDirectories.CopyFromEntries( this->impl->Makefile->GetIncludeDirectoriesEntries()); { @@ -973,11 +973,11 @@ cmTarget::cmTarget(std::string const& name, cmStateEnums::TargetType type, sysInc.end()); } - this->impl->CompileOptions.CopyFromDirectory( + this->impl->CompileOptions.CopyFromEntries( this->impl->Makefile->GetCompileOptionsEntries()); - this->impl->LinkOptions.CopyFromDirectory( + this->impl->LinkOptions.CopyFromEntries( this->impl->Makefile->GetLinkOptionsEntries()); - this->impl->LinkDirectories.CopyFromDirectory( + this->impl->LinkDirectories.CopyFromEntries( this->impl->Makefile->GetLinkDirectoriesEntries()); } |