summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.h
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2021-06-16 21:09:59 (GMT)
committerKyle Edwards <kyle.edwards@kitware.com>2021-10-27 19:17:23 (GMT)
commitf2a44a8afabe6d0d87f1b5d4acf31b2049a021fd (patch)
treef1630cf49f0372ad7a8d1e7e14ee2d38076cb537 /Source/cmTarget.h
parent447fbf061a5f27abbad59a9fc943de4f8351f9fe (diff)
downloadCMake-f2a44a8afabe6d0d87f1b5d4acf31b2049a021fd.zip
CMake-f2a44a8afabe6d0d87f1b5d4acf31b2049a021fd.tar.gz
CMake-f2a44a8afabe6d0d87f1b5d4acf31b2049a021fd.tar.bz2
cmTarget: Add cmFileSet and associated properties
Diffstat (limited to 'Source/cmTarget.h')
-rw-r--r--Source/cmTarget.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/Source/cmTarget.h b/Source/cmTarget.h
index 3cf6942..27b325a 100644
--- a/Source/cmTarget.h
+++ b/Source/cmTarget.h
@@ -20,6 +20,7 @@
#include "cmValue.h"
class cmCustomCommand;
+class cmFileSet;
class cmGlobalGenerator;
class cmInstallTargetGenerator;
class cmMakefile;
@@ -260,6 +261,10 @@ public:
cmBTStringRange GetLinkImplementationEntries() const;
+ cmBTStringRange GetHeaderSetsEntries() const;
+
+ cmBTStringRange GetInterfaceHeaderSetsEntries() const;
+
std::string ImportedGetFullPath(const std::string& config,
cmStateEnums::ArtifactType artifact) const;
@@ -268,6 +273,16 @@ public:
bool operator()(cmTarget const* t1, cmTarget const* t2) const;
};
+ 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);
+
+ std::vector<std::string> GetAllInterfaceFileSets() const;
+
+ static std::string GetFileSetsPropertyName(const std::string& type);
+ static std::string GetInterfaceFileSetsPropertyName(const std::string& type);
+
private:
template <typename ValueType>
void StoreProperty(const std::string& prop, ValueType value);