summaryrefslogtreecommitdiff
path: root/Source/cmTarget.h
diff options
context:
space:
mode:
authorEugene Shalygin <eugene.shalygin@gmail.com>2021-07-20 20:08:17 +0200
committerEugene Shalygin <eugene.shalygin@gmail.com>2021-07-22 13:08:58 +0200
commit55e4753bbb60c0da12b09837bac97a46b851ae32 (patch)
tree392f9c7e46d7b45c95c60f7ce7b5a92fa0831623 /Source/cmTarget.h
parent26a76cf46d5209aec03d941fee203d23172dde75 (diff)
downloadcmake-55e4753bbb60c0da12b09837bac97a46b851ae32.tar.gz
Refactor cmTargetExport removing InterfaceIncludeDirecories
Because of this property in the cmTargetExport struct, exporting targets is not uniform: top-level ones have to be dealt with via the cmTargetExport objects, while all linked ones are cmGeneratorTarget objects. Let's pass this additional includedirectories via a special target property making handling exported targets uniform.
Diffstat (limited to 'Source/cmTarget.h')
-rw-r--r--Source/cmTarget.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmTarget.h b/Source/cmTarget.h
index 30d9f5d067..29130c7bf3 100644
--- a/Source/cmTarget.h
+++ b/Source/cmTarget.h
@@ -237,6 +237,9 @@ public:
void AddSystemIncludeDirectories(std::set<std::string> const& incs);
std::set<std::string> const& GetSystemIncludeDirectories() const;
+ void AddInstallIncludeDirectories(cmStringRange const& incs);
+ cmStringRange GetInstallIncludeDirectoriesEntries() const;
+
BTs<std::string> const* GetLanguageStandardProperty(
const std::string& propertyName) const;