diff options
author | Brad King <brad.king@kitware.com> | 2022-04-12 14:05:13 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2022-04-12 14:05:26 (GMT) |
commit | f6476ba3a6b13a5323dbcfb8c87acb866b5c9db1 (patch) | |
tree | a845cadd9cc1ec6018b642d1cb529f674a5510f5 /Source/cmTarget.h | |
parent | b41f2695bcc4d93e963e20a5d407a01c97164150 (diff) | |
parent | 5fa15ec9f34d69b2a6b1ce08a6102f16c5d7ab9b (diff) | |
download | CMake-f6476ba3a6b13a5323dbcfb8c87acb866b5c9db1.zip CMake-f6476ba3a6b13a5323dbcfb8c87acb866b5c9db1.tar.gz CMake-f6476ba3a6b13a5323dbcfb8c87acb866b5c9db1.tar.bz2 |
Merge topic 'file-set-repr-improvements'
5fa15ec9f3 Help: Document that target_sources defines [INTERFACE_]HEADER_SETS
c5d4812f20 cmTarget: make HEADER_SETS and INTERFACE_HEADER_SETS read-only
05783b168d cmFileSet: store visibility with the fileset
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7168
Diffstat (limited to 'Source/cmTarget.h')
-rw-r--r-- | Source/cmTarget.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmTarget.h b/Source/cmTarget.h index 0cdd2fc..97fdbeb 100644 --- a/Source/cmTarget.h +++ b/Source/cmTarget.h @@ -12,6 +12,7 @@ #include <vector> #include "cmAlgorithms.h" +#include "cmFileSet.h" #include "cmPolicies.h" #include "cmStateTypes.h" #include "cmStringAlgorithms.h" @@ -19,7 +20,6 @@ #include "cmValue.h" class cmCustomCommand; -class cmFileSet; class cmGlobalGenerator; class cmInstallTargetGenerator; class cmListFileBacktrace; @@ -287,7 +287,8 @@ public: const cmFileSet* GetFileSet(const std::string& name) const; cmFileSet* GetFileSet(const std::string& name); std::pair<cmFileSet*, bool> GetOrCreateFileSet(const std::string& name, - const std::string& type); + const std::string& type, + cmFileSetVisibility vis); std::vector<std::string> GetAllInterfaceFileSets() const; |